CVEvulnerability
CVE-2026-34591
7.1 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2026-04-02
- Last modified
- 2026-07-24
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 7.1 HIGH — CVSS: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/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- Weaknesses
- 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 configurations
• python-poetry poetry (>= 1.4.0 < 2.3.3)
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- http://github.com/python-poetry/poetry/commit/ed59537ac3709cfbdbf95d957de801c13872991a Patch
- https://github.com/python-poetry/poetry/pull/10792 Issue Tracking, Patch
- https://github.com/python-poetry/poetry/releases/tag/2.3.3 Product, Release Notes
- https://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp Exploit, Vendor Advisory
- https://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp Exploit, Vendor Advisory