# CVE-2026-41140: Poetry: Path traversal in tar extraction on Python 3.10.0 - 3.10.12 and 3.11.0 - 3.11.4

- Severity: Low 0.6 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-01)
- Published: 2026-04-22T14:35:30.000Z
- Modified: 2026-11-30T23:17:25.027Z
- Also known as: GHSA-73h3-mf4w-8647, PYSEC-2026-2890
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- python-poetry poetry: < 2.3.4
- ansible-automation-platform-26/hub-rhel9: no versions given (not affected: from 1779761061 before *)
- ansible-automation-platform-26/lightspeed-chatbot-rhel9: no versions given (not affected: from 1780102732 before *)
- ansible-automation-platform-26/controller-rhel9: no versions given
- ansible-automation-platform-26/eda-controller-rhel9: no versions given
- rhoai/odh-kserve-agent-rhel9: no versions given
- rhoai/odh-kserve-controller-rhel9: no versions given
- rhoai/odh-kserve-router-rhel9: no versions given
- rhoai/odh-kserve-storage-initializer-rhel9: no versions given
- poetry: no versions given
- python-poetry: no versions given
- poetry (PyPI): before 2.3.4

## Every score

- GitHub_M: CVSS:4.0 0.6 Low `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`
- redhat-SADP: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H`
- GitHub: CVSS:4.0 Low `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`
- PyPA Advisory Database: 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

- <https://github.com/python-poetry/poetry/security/advisories/GHSA-73h3-mf4w-8647> (web)
- <https://access.redhat.com/security/cve/CVE-2026-41140> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2461604> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41140.json>
- <https://access.redhat.com/errata/RHSA-2026:24866> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2026/11/msg00084.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41140> (advisory)
- <https://github.com/python-poetry/poetry> (package)
- <https://github.com/python-poetry/poetry/releases/tag/2.3.4> (web)
- <https://pypi.org/project/poetry> (package)
- <https://github.com/advisories/GHSA-73h3-mf4w-8647> (advisory)

## Sources

- CVE List: [CVE-2026-41140](https://www.cve.org/CVERecord?id=CVE-2026-41140), CVE Terms of Use, modified 2026-11-30
- GitHub Advisory Database: [GHSA-73h3-mf4w-8647](https://github.com/advisories/GHSA-73h3-mf4w-8647), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-41140](https://nvd.nist.gov/vuln/detail/CVE-2026-41140), Public domain, modified 2026-11-30
- PyPA Advisory Database: [PYSEC-2026-2890](https://osv.dev/vulnerability/PYSEC-2026-2890), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-41140 · Whole record: https://cve.day/CVE-2026-41140.json · Rebuilt by cve.day 2026-11-30T23:32:33.812Z
