CVE-2026-34591 json
Poetry Has Wheel Path Traversal Which Can Lead to Arbitrary File Write
published 2026-04-01 7 mo ago modified 2026-09-10 1 mo ago also EUVD-2026-18454 , GHSA-2599-h6xx-hpxp , PYSEC-2026-2260
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi poetry 2.3.3
- python-poetry poetry 2.3.3
- poetry Debian 13 2.1.2+dfsg-1+deb13u1
- poetry Debian 14 2.3.4-0.1
debian advisories DEBIAN-CVE-2026-34591
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-34591 updated cvss 6.5
github.com/python-poetry/poetry: Poetry: Arbitrary file write via crafted package installation
-
Red Hat OpenShift Container Platform 4 python-poetry-core Red Hat Satellite 6 python-poetry_core, python3.12-poetry_core, python-poetry_plugin_export, python3.12-poetry_plugin_exportnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 7.1 | 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 |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| CNA | 4.0 | 7.1 | 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 |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | poetry | >=1.4.0, <2.3.3 |
2.3.3 |
Affected products
- python-poetry poetry
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/python-poetry/poetry/pull/10792
web, issue-tracking, patch
-
github.com
/python-poetry/poetry/commit/ed59537ac3709cfbdbf95d957de801c13872991a
web, patch
-
github.com
/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp
exploit, web, vendor-advisory, evidence
-
github.com
/python-poetry/poetry/releases/tag/2.3.3
web, product, release-notes, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-34591
advisory
-
github.com
/python-poetry/poetry
package
Sources
- CVE List CVE-2026-34591
- GitHub Advisory GHSA-2599-h6xx-hpxp
- NVD CVE-2026-34591
- OSV PYSEC-2026-2260
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.