CVE-2026-34591
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.
How to fix
- python-poetry poetry2.3.3 or later
- poetry2.3.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| python-poetry poetry | 1.4.0 ≤ v < 2.3.3 | 2.3.3 |
| poetryPyPI | 1.4.0 ≤ v < 2.3.3 | 2.3.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.