High severity8.7NVD Advisory· Published Apr 24, 2026· Updated Jul 15, 2026
CVE-2026-41140
CVE-2026-41140
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
poetryPyPI | < 2.3.4 | 2.3.4 |
Affected products
1Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-73h3-mf4w-8647ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-41140ghsaADVISORY
- github.com/python-poetry/poetry/releases/tag/2.3.4ghsaWEB
- github.com/python-poetry/poetry/security/advisories/GHSA-73h3-mf4w-8647nvdWEB
- access.redhat.com/errata/RHSA-2026:24866nvd
- access.redhat.com/security/cve/CVE-2026-41140nvd
- bugzilla.redhat.com/show_bug.cginvd
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41140.jsonnvd
News mentions
0No linked articles in our index yet.