Path Traversal in Python-Poetry Poetry
CVE-2026-41140
Poetry is a dependency manager for Python. Prior to 2.3.4, the extractall() function in src/poetry/utils/helpers.py:410-426 extracts sdist tarballs without path traversal protection on Python versions where tarfile.data_filter is unavailable. Considering only Python versions which are still supported by Poetry, these are 3.10.0 - 3.10.12 and 3.11.0 - 3.11.4. This vulnerability is fixed in 2.3.4.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.7 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H.
EPSS exploit prediction
EPSS: 0.005 (39.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 39th percentile — 39.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.005 · change: +0.002
Affected products
- Python-Poetry Poetry — versions < 2.3.4
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-41140?
- CVE-2026-41140 is a high-severity vulnerability in Python-Poetry Poetry, classified under Path Traversal. CVSS score: 8.7/10. Published 2026-04-24.
- How severe is CVE-2026-41140?
- High severity. CVSS v3 base score is 8.7 out of 10.