CVE-2026-34591
MEDIUMPoetry Has Wheel Path Traversal Which Can Lead to Arbitrary File Write
Title source: cnaDescription
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.
References (4)
Core 4
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp
X_Refsource_Misc x_refsource_misc
https://github.com/python-poetry/poetry/pull/10792
X_Refsource_Misc x_refsource_misc
https://github.com/python-poetry/poetry/releases/tag/2.3.3
X_Refsource_Misc x_refsource_misc
http://github.com/python-poetry/poetry/commit/ed59537ac3709cfbdbf95d957de801c13872991a
Scores
CVSS v3
6.5
EPSS
0.0046
EPSS Percentile
36.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-22
Status
published
Products (3)
pypi/poetry
1.4.0 - 2.3.3PyPI
python-poetry/poetry
1.4.0 - 2.3.3
python-poetry/poetry
>= 1.4.0, < 2.3.3
Published
Apr 02, 2026
Tracked Since
Apr 02, 2026