CVE-2026-34591
Poetry is a dependency manager for Python. From version 1.4.0 to …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp
- github.com/advisories/GHSA-2599-h6xx-hpxp
- github.com/python-poetry/poetry/commit/ed59537ac3709cfbdbf95d957de801c13872991a
- github.com/python-poetry/poetry/pull/10792
- github.com/python-poetry/poetry/releases/tag/2.3.3
- nvd.nist.gov/vuln/detail/CVE-2026-34591
- nvd.nist.gov/vuln/detail/CVE-2026-34591
- cve.org/CVERecord?id=CVE-2026-34591
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.