CVE-2026-87910: Python · tarfile hardlink fallback ignores custom extraction filter rejection via None
Affects pythonSource GCVE Database
Not known to be exploited · CVSS 5.7 Medium · fixed in 3.14.9 : update python when convenient.
Data as of 29 Oct 2026, 14:41 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 49% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.14.9, 3.13.16, 3.12.15 +2
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 11 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Bitnamipythonpkg:bitnami/pythonOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and has been applied in Python versions 3.10.22, 3.11.17, 3.12.15, 3.13.16, and 3.14.9. Users should upgrade to these or later versions to mitigate this vulnerability.
Description
A vulnerability in Python's tarfile module causes the extraction filter to be bypassed when handling hardlink fallback on systems that do not support links. The filter function is called twice during extraction, but one call's return value is ignored, allowing potentially unsafe members to be extracted. This issue affects multiple Python versions prior to their respective fixed releases.
References
- openwall.com/lists/oss-security/2026/09/11/8 (opens in a new tab)
- github.com/python/cpython/commit/d9565e54b1fc6d63c5be9afd58114499128fa57b (opens in a new tab)
- github.com/python/cpython/commit/fb2f0bbc3b35264f09cc2cb2934b7987527a6bc2 (opens in a new tab)
- github.com/python/cpython/issues/157265 (opens in a new tab)
- github.com/python/cpython/pull/157266 (opens in a new tab)
- mail.python.org/archives/list/security-announce@python.org/thread/57TBTLL2W6APMZR3A25B2YV7GL3EPTDJ/ (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-87910 (opens in a new tab)
- github.com/python/cpython/commit/9c17bace90f88dfba6d0e2fe23c8e7ae35f83955 (opens in a new tab)
- github.com/python/cpython/commit/764fd0af8d9e19d3684a58d2e58bf770f0605036 (opens in a new tab)
- github.com/python/cpython/commit/2eb0c2f1dc71847731b6ab30aebefd058d482a7f (opens in a new tab)
- github.com/python/cpython/commit/3105a3498aaf681ce128cf5baf83c2e5574267c5 (opens in a new tab)
- github.com/python/cpython/commit/a4919937a4e1e69a0d178909c6f20557eca5d1d0 (opens in a new tab)
- github.com/python/cpython/commit/c1f106d240c4ffcb3608ed0a20e8aba6c865f6d3 (opens in a new tab)