CVE-2026-41140
EPSS 0.09%Poetry has Path Traversal in tar extraction on Python 3.10.0 - 3.10.12 and 3.11.0 - 3.11.4
Published: 4/22/2026Modified: 5/8/2026
Description
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.
Affected packages (2)
- Debian/poetryfrom 0
- PyPI/poetryfrom 0, < 2.3.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-41140
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-41140
- PATCHhttps://github.com/python-poetry/poetry
- WEBhttps://github.com/python-poetry/poetry/releases/tag/2.3.4
- WEBhttps://github.com/python-poetry/poetry/security/advisories/GHSA-73h3-mf4w-8647