CVE-2026-34591

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

MEDIUM
6.5
CVSS Score
Published: April 2, 2026 at 05:35 PM UTC
Updated: July 24, 2026 at 09:20 PM UTC
1 product affected across 1 vendorPoetry

Using poetry by python-poetry?

Get instant alerts when new vulnerabilities affect poetry - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 0.5%
SSVC
PoC

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2.3.31.4.0 ≤ v < 2.3.3
Affected range stops below 2.3.3, so it looks safe — our inference, not a vendor statement

References (4)

x_refsource_CONFIRMExploitVendor Advisory
Source: cverecord
https://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/python-poetry/poetry/pull/10792
x_refsource_MISCProductRelease Notes
Source: cverecord
https://github.com/python-poetry/poetry/releases/tag/2.3.3

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-22

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card