CVE-2026-34591CWE-22

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

High · published April 2, 2026

CVSS v4.0
7.1
EPSS
1%
Percentile
45.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
7.1 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS
0.00550 · 45.3th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-04-02T17:35Z
EPSS history
Timeline
  • 02 APR 17:35Z
    Poetry Has Wheel Path Traversal Which Can Lead to Arbitrary File Write
    cvelistv5