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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| python-poetry | poetry | >= 1.4.0, < 2.3.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | poetry | 2.3.4-0.1 | — |
| Debian 13 | poetry | 2.1.2+dfsg-1+deb13u1 | — |
| Debian 12 | poetry | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | poetry | No fix yet | — |
| Ubuntu 26.04 LTS | poetry | No fix yet | — |
| Ubuntu 25.10 | poetry | No fix yet | — |
| Ubuntu 24.04 LTS | poetry | No fix yet | — |
| Ubuntu 22.04 LTS | poetry | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | poetry | 1.8.5-1 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | py3-cassandra-medusa | 0.27.1-r2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | poetry | >= 1.4.0, < 2.3.3 | 2.3.3 | GHSA-2599-h6xx-hpxp |