poetry
Affected
- introduced
1.4.0, fixed2.3.3(ecosystem)
Fixed versions
2.3.3
Fix
- Fixed version
2.3.3pip install --upgrade poetry==2.3.3
Advisory
Also known as: CVE-2026-34591, GHSA-2599-h6xx-hpxp
The record has no summary.
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.
Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
1.4.0, fixed 2.3.3 (ecosystem)2.3.3
2.3.3pip install --upgrade poetry==2.3.3Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0