Path Traversal in Python-Poetry Poetry

CVE-2026-34591

Poetry is a dependency manager for Python. From version 1.4.0 to before version 2.3.3, a crafted wheel can contain ../ paths that Poetry writes to disk without containment checks, allowing arbitrary file write with the privileges of the Poetry process. It is reachable from untrusted package artifacts during normal install flows. (Normally, installing a malicious wheel is not sufficient for execution of malicious code. Malicious code will only be executed after installation if the malicious package is imported or invoked by the user.). This issue has been patched in version 2.3.3.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.005 (38.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-34591?
CVE-2026-34591 is a medium-severity vulnerability in Python-Poetry Poetry, classified under Path Traversal. CVSS score: 6.5/10. Published 2026-04-02.
How severe is CVE-2026-34591?
Medium severity. CVSS v3 base score is 6.5 out of 10.