CVE-2026-41140
Poetry is a dependency manager for Python. Prior to 2.3.4, the …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/python-poetry/poetry/security/advisories/GHSA-73h3-mf4w-8647
- github.com/python-poetry/poetry/releases/tag/2.3.4
- github.com/advisories/GHSA-73h3-mf4w-8647
- nvd.nist.gov/vuln/detail/CVE-2026-41140
- access.redhat.com/errata/RHSA-2026:24866
- access.redhat.com/security/cve/CVE-2026-41140
- bugzilla.redhat.com/show_bug.cgi?id=2461604
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41140.json
- nvd.nist.gov/vuln/detail/CVE-2026-41140
- cve.org/CVERecord?id=CVE-2026-41140
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.