CVE-2026-34591

MEDIUM

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

Title source: cna

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.

Scores

CVSS v3 6.5
EPSS 0.0001
EPSS Percentile 1.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (3)
pypi/poetry 1.4.0 - 2.3.3PyPI
python-poetry/poetry 1.4.0 - 2.3.3
python-poetry/poetry >= 1.4.0, < 2.3.3
Published Apr 02, 2026
Tracked Since Apr 02, 2026