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.
References
| Link | Resource |
|---|---|
| http://github.com/python-poetry/poetry/commit/ed59537ac3709cfbdbf95d957de801c13872991a | Patch |
| https://github.com/python-poetry/poetry/pull/10792 | Issue Tracking Patch |
| https://github.com/python-poetry/poetry/releases/tag/2.3.3 | Product Release Notes |
| https://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp | Exploit Vendor Advisory |
| https://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp | Exploit Vendor Advisory |
Configurations
History
13 Apr 2026, 18:38
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:python-poetry:poetry:*:*:*:*:*:python:*:* | |
| First Time |
Python-poetry poetry
Python-poetry |
|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.5 |
| References | () http://github.com/python-poetry/poetry/commit/ed59537ac3709cfbdbf95d957de801c13872991a - Patch | |
| References | () https://github.com/python-poetry/poetry/pull/10792 - Issue Tracking, Patch | |
| References | () https://github.com/python-poetry/poetry/releases/tag/2.3.3 - Product, Release Notes | |
| References | () https://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp - Exploit, Vendor Advisory |
03 Apr 2026, 19:17
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp - |
02 Apr 2026, 18:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-04-02 18:16
Updated : 2026-04-13 18:38
NVD link : CVE-2026-34591
Mitre link : CVE-2026-34591
CVE.ORG link : CVE-2026-34591
JSON object : View
Products Affected
python-poetry
- poetry
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
