What’s Vulnerable › Vulnerabilities
CVE-2026-34591: Poetry Has Wheel Path Traversal Which Can Lead to Arbitrary File Write
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-04-02 · updated 2026-07-24
- Weakness: CWE-22
Description
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.
Affected products
- python-poetry poetry: from 1.4.0 before 2.3.3 — fixed in 2.3.3
How to fix
Upgrade to a fixed version: python-poetry poetry 2.3.3. Check the vendor advisory for mitigations.
References
- http://github.com/python-poetry/poetry/commit/ed59537ac3709cfbdbf95d957de801c13872991a
- https://github.com/python-poetry/poetry/pull/10792
- https://github.com/python-poetry/poetry/releases/tag/2.3.3
- https://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp
- https://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp
Get alerted when CVE-2026-34591 or the next vulnerability affects your stack