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)
EPSS: 0.003 (21.5th percentile) — read the EPSS interpretation.
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.
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.