CVE-2026-34591 Details
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.
A path traversal vulnerability has been identified in Poetry, a Python dependency manager, affecting versions 1.4.0 prior to 2.3.3. The issue arises because a crafted wheel can include ../ paths that Poetry writes to disk without proper containment checks. This flaw allows arbitrary file writes with the privileges of the Poetry process. The vulnerability can be exploited using untrusted package artifacts during regular installation processes. While installing a malicious wheel alone does not execute harmful code, such execution may occur if the imported package is invoked by the user.
Users can upgrade to Poetry version 2.3.3 or later, which resolves the vulnerability by ensuring that target paths are properly validated before writing. Instructions for downloading the latest version of Poetry are available on the Poetry GitHub Releases page.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp | CISA-ADP | ExploitVendor Advisory |
| http://github.com/python-poetry/poetry/commit/ed59537ac3709cfbdbf95d957de801c13872991a | [email protected] | Patch |
| https://github.com/python-poetry/poetry/pull/10792 | [email protected] | Issue TrackingPatch |
| https://github.com/python-poetry/poetry/releases/tag/2.3.3 | [email protected] | ProductRelease Notes |
| https://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| python-poetry poetry | >= 1.4.0, < 2.3.3 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 13, 2026 | Initial Analysis | [email protected] |
| Apr 3, 2026 | CVE Modified | CISA-ADP |
| Apr 2, 2026 | New CVE Received | [email protected] |