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)
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.005 (44.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 45th percentile — 44.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: +0.001
Affected products
- Python-Poetry Poetry — versions >= 1.4.0, < 2.3.3
Weakness classification (CWE)
References
- github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp (Exploit, Vendor Advisory)
- github.com/python-poetry/poetry/pull/10792 (Patch, Issue Tracking)
- github.com/python-poetry/poetry/releases/tag/2.3.3 (Product, Release Notes)
- github.com/python-poetry/poetry/commit/ed59537ac3709cfbdbf95d957de801c13872991a (Patch)
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.