Poetry Has Wheel Path Traversal Which Can Lead to Arbitrary File Write
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-34591
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 09:00 UTC · Revision 1
Source evidence
Poetry Has Wheel Path Traversal Which Can Lead to Arbitrary File Write
core-osv · Original sourcePublished 2 Apr 2026, 17:35 UTC
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.
osv:CVE-2026-34591
Complete source record
{
"id": "339df70f1dd40815f8574c135077f7438fb9287de37b8231f442a97f4aa29dc4",
"url": "https://osv.dev/vulnerability/CVE-2026-34591",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Poetry Has Wheel Path Traversal Which Can Lead to Arbitrary File Write",
"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.",
"evidence": "osv:CVE-2026-34591",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-34591",
"aliases": [
"CVE-2026-34591",
"GHSA-2599-h6xx-hpxp",
"PYSEC-2026-2260"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/python-poetry/poetry",
"type": "GIT",
"events": [
{
"introduced": "0e72a55c43a993ec0258facec23416c9212964ba"
},
{
"fixed": "3d0151ac03b5286e557ed1518b815ad225d52cb0"
},
{
"fixed": "ed59537ac3709cfbdbf95d957de801c13872991a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:python-poetry:poetry:*:*:*:*:*:python:*:*",
"range": [
{
"introduced": "1.4.0"
},
{
"fixed": "2.3.3"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "ed59537ac3709cfbdbf95d957de801c13872991a"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "3d0151ac03b5286e557ed1518b815ad225d52cb0"
}
],
"source": "REFERENCES_TAG",
"original_tag": "2.3.3"
}
]
}
}
],
"versions": [
"2.3.2",
"2.3.1",
"2.3.0",
"2.2.1",
"2.2.0",
"2.1.3",
"2.1.2",
"2.1.1",
"2.1.0",
"2.0.1",
"2.0.0",
"1.8.0",
"1.7.0",
"1.6.0",
"1.5.0",
"1.4.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34591.json"
}
}
],
"modified": "2026-10-28T02:30:34.027953107Z",
"provider": "osv",
"references": [
"https://github.com/python-poetry/poetry/releases/tag/2.3.3",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34591.json",
"https://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp",
"https://nvd.nist.gov/vuln/detail/CVE-2026-34591",
"https://github.com/python-poetry/poetry/pull/10792"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34591.json"
}
},
"related_cves": [
{
"value": "CVE-2026-34591",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 501287,
"published_at": "2026-04-02T17:35:07.691+00:00"
}