Home

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.

PUBLISHED Reserved 2026-03-30 | Published 2026-04-02 | Updated 2026-04-03 | Assigner GitHub_M




HIGH: 7.1CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Problem types

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

>= 1.4.0, < 2.3.3
affected

References

github.com/...poetry/security/advisories/GHSA-2599-h6xx-hpxp exploit

github.com/...poetry/security/advisories/GHSA-2599-h6xx-hpxp

github.com/python-poetry/poetry/pull/10792

github.com/python-poetry/poetry/releases/tag/2.3.3

github.com/...ommit/ed59537ac3709cfbdbf95d957de801c13872991a

cve.org (CVE-2026-34591)

nvd.nist.gov (CVE-2026-34591)

Download JSON