Skip to content
OpenAdvisories
High · 7.1 CVE-2026-34591 EUVD-2026-18454GHSA-2599-h6xx-hpxpPYSEC-2026-2260

Poetry Has Wheel Path Traversal Which Can Lead to Arbitrary File Write

Published Apr 2, 2026 · Updated Apr 3, 2026 · 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.

Affected products

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

ReleasePackageFixed inAdvisory
Debian 14 poetry 2.3.4-0.1 —
Debian 13 poetry 2.1.2+dfsg-1+deb13u1 —
Debian 12 poetry No fix yet —
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
Azure Linux 3 poetry 1.8.5-1 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling py3-cassandra-medusa 0.27.1-r2 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI poetry >= 1.4.0, < 2.3.3 2.3.3 GHSA-2599-h6xx-hpxp

References