
CVE catalog
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
- Severity
- High · CVSS 8.7
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.29% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | poetry | sid | 2.3.4-3 | fixed |
| Debian | poetry | forky | 2.3.4-3 | fixed |
| Debian | poetry | trixie | 2.1.2+dfsg-1+deb13u1 | fixed |
| Debian | poetry | bookworm | 1.3.2+dfsg-3 | vulnerable |
| Cpe | poetry | Not reported | Not reported | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | poetry | source | sid | 2.1.2+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | poetry | source | forky | 2.1.2+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | poetry | source | trixie | 2.1.2+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | poetry | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
Notes
[bookworm] poetry: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-poetry]Affected
Source package: [poetry]
Details (2)
1.3.2+dfsg-3· all · bookwormAffected
nvd · poetry · debian · bookworm; nvd · poetry · debian · 12
1.3.2+dfsg-3· all · bookwormAffected
nvd · poetry · debian · bookworm; nvd · poetry · debian · 12
[Debian 13 (Trixie)]
- [python3-poetry]Fixed
Source package: [poetry]
Details (2)
2.1.2+dfsg-1+deb13u1· all · trixieFixed · Fixed:
2.1.2+dfsg-1nvd · poetry · debian · 13
2.1.2+dfsg-1+deb13u1· all · trixieFixed · Fixed:
2.1.2+dfsg-1nvd · poetry · debian · 13
Observed:
References
- [https://access.redhat.com/errata/RHSA-2026:24866]
- [https://access.redhat.com/security/cve/CVE-2026-41140]
- [https://bugzilla.redhat.com/show_bug.cgi?id=2461604]
- [https://github.com/python-poetry/poetry/security/advisories/GHSA-73h3-mf4w-8647]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-41140]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-41140]
- [https://security-tracker.debian.org/tracker/CVE-2026-41140]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41140.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]