Home / python-poetry / poetry / CVE-2026-41140
CVE-2026-41140: is it exploited, and which versions of python-poetry poetry are affected and fixed?
CVE-2026-41140 is a path traversal (reading or writing files outside the intended folder) vulnerability in python-poetry poetry. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: poetry before 2.3.4 (GitHub advisory GHSA-73h3-mf4w-8647). Fixed in 2.3.4 (GitHub advisory GHSA-73h3-mf4w-8647). Severity: Low (0.6, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 30, 2026, 23:14 UTC and NVD December 1, 2026, 00:09 UTC.
What is CVE-2026-41140?
Poetry: Path traversal in tar extraction on Python 3.10.0 - 3.10.12 and 3.11.0 - 3.11.4
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.
From the CVE record by GitHub_M, last updated November 30, 2026, 23:05 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| python-poetry | poetry | < 2.3.4 |
As the CVE record by GitHub_M states it, last updated November 30, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | poetry | < 2.3.4 | 2.3.4 | GHSA-73h3-mf4w-8647 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 27, 2026. Summary: Poetry has Path Traversal in tar extraction on Python 3.10.0 - 3.10.12 and 3.11.0 - 3.11.4.
How severe is CVE-2026-41140?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 0.6 | 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 | GitHub_M |
| High 8.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H | redhat-SADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-41140 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, April 24, 2026)
- EPSS
- 0.33% probability of exploitation activity in the next 30 days, percentile 27.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/python-poetry/poetry/security/advisories/GHSA-73h3-mf4w-8647 x_refsource_CONFIRM
- https://access.redhat.com/security/cve/CVE-2026-41140 vdb-entry, x_refsource_REDHAT
- RHBZ#2461604 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41140.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:24866 vendor-advisory, x_refsource_REDHAT
- https://lists.debian.org/debian-lts-announce/2026/11/msg00084.html
When was it published, and where is the official record?
- Reserved
- April 17, 2026
- Published
- April 24, 2026, 17:10 UTC
- CVE record updated
- November 30, 2026, 23:05 UTC by GitHub_M
- NVD
- Deferred, last modified November 30, 2026, 23:17 UTC
- Last checked
- CVE list November 30, 2026, 23:14 UTC; NVD December 1, 2026, 00:09 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect poetry?
- Apr 2, 2026CVE-2026-34591 python-poetry poetry: path traversal (reading or writing files outside the intended folder)
- Sep 7, 2022CVE-2022-36069 python-poetry poetry: code injection (remote code execution)
- Sep 7, 2022CVE-2022-36070 python-poetry poetry: untrusted Search Path
- Mar 21, 2022CVE-2022-26184 Python-poetry Poetry: untrusted Search Path
Questions about CVE-2026-41140
Is CVE-2026-41140 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.33% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of python-poetry poetry are affected by CVE-2026-41140?
poetry before 2.3.4, per the GitHub advisory GHSA-73h3-mf4w-8647. The tables above give every range the sources list.
Which version fixes CVE-2026-41140?
2.3.4, per the GitHub advisory GHSA-73h3-mf4w-8647. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-41140?
Low (0.6, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-41140?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.