CVE-2026-34591
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.47%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 4.0
- 7.1 HIGHCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M
- EPSS
- 0.47% probability · 39th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- python-poetry/poetry
- Source
- security-advisories@github.com
References
- http://github.com/python-poetry/poetry/commit/ed59537ac3709cfbdbf95d957de801c13872991aPatch
- https://github.com/python-poetry/poetry/pull/10792Issue Tracking, Patch
- https://github.com/python-poetry/poetry/releases/tag/2.3.3Product, Release Notes
- https://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxpExploit, Vendor Advisory
- https://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxpExploit, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.