Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. poetry
  4. ›
  5. CVE-2026-34591

CVE-2026-34591: Poetry Has Wheel Path Traversal Which Can Lead to Arbitrary File Write

April 1, 2026 (updated April 15, 2026)

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.

References

  • github.com/advisories/GHSA-2599-h6xx-hpxp
  • github.com/python-poetry/poetry
  • github.com/python-poetry/poetry/pull/10792
  • github.com/python-poetry/poetry/releases/tag/2.3.3
  • github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp
  • nvd.nist.gov/vuln/detail/CVE-2026-34591

Code Behaviors & Features

Detect and mitigate CVE-2026-34591 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.4.0 before 2.3.3

Fixed versions

  • 2.3.3

Solution

Upgrade to version 2.3.3 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/poetry/CVE-2026-34591.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:19 +0000.