# CVE-2026-34591: Poetry Has Wheel Path Traversal Which Can Lead to Arbitrary File Write

- Severity: High 7.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-01T22:17:36.000Z
- Modified: 2026-09-10T03:50:42.075Z
- Also known as: GHSA-2599-h6xx-hpxp, PYSEC-2026-2260
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- python-poetry poetry: >= 1.4.0, < 2.3.3; from 1.4.0 before 2.3.3
- poetry (PyPI): from 1.4.0 before 2.3.3

## Every score

- GitHub_M: CVSS:4.0 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`
- GitHub: CVSS:3.1 6.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- GitHub: CVSS:4.0 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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`

## References

- <https://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp> (exploit, evidence, vendor-advisory, web)
- <https://github.com/python-poetry/poetry/pull/10792> (fix, issue-tracking, patch, web)
- <https://github.com/python-poetry/poetry/releases/tag/2.3.3> (advisory, product, release-notes, web)
- <http://github.com/python-poetry/poetry/commit/ed59537ac3709cfbdbf95d957de801c13872991a> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34591> (advisory)
- <https://github.com/python-poetry/poetry> (package)

## Sources

- CVE List: [CVE-2026-34591](https://www.cve.org/CVERecord?id=CVE-2026-34591), CVE Terms of Use, modified 2026-04-03
- GitHub Advisory Database: [GHSA-2599-h6xx-hpxp](https://github.com/advisories/GHSA-2599-h6xx-hpxp), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-34591](https://nvd.nist.gov/vuln/detail/CVE-2026-34591), Public domain, modified 2026-07-24
- PyPA Advisory Database: [PYSEC-2026-2260](https://osv.dev/vulnerability/PYSEC-2026-2260), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-34591 · Whole record: https://cve.day/CVE-2026-34591.json · Rebuilt by cve.day 2026-11-25T22:59:17.827Z
