Skip to main content
← All vulnerabilities
CVE-2026-34591GHSA-2599-H6XX-HPXPPYSEC-2026-2260

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.3.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • python-poetry poetry

    From 1.4.0 · fixed in 2.3.3

  • poetryPyPI

    From 1.4.0 · fixed in 2.3.3

References 4

GitHub · python-poetry/poetry