CVE-2026-87910: tarfile hardlink fallback ignores custom extraction filter rejection via None
Vulnerability summary
CVE-2026-87910 is a medium (CVSS 5.7) vulnerability in python software foundation cpython. EPSS estimates a 0.61% chance of exploitation in the next 30 days, higher than 50.6% of scored vulnerabilities.
Not severe (CVSS 5.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 3Timeline
- 11-09-2026PublishedVulnerability first disclosed.
- 22-10-2026Last modifiedVulnerability information updated.
Description
When tarfile extracts a link on a system that doesn't support links, it falls back to extracting a member from the archive. In this case, the filter function is run twice: once for the extracted member, and once with name set to the location of the link. For one of the calls, the return value was ignored. Instead, the member should be skipped if either call returns None.
CVSS metrics
8 scores · 8 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated5.7MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated5.7MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated5.7MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · WolfiEcosystem advisory · calculated5.7MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated5.7MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
- NVDNIST5.7MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.61%
Chance of exploitation in the next 30 days
Percentile
51%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.61% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-22Improper Limitation of a Pathname to a Restricted DirectoryThe product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
- CWE-59Improper Link Resolution Before File AccessThe product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Affected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat30 products
- python3.10< 0:3.10.21-1.2.hum1
- python3.10-debug< 0:3.10.21-1.2.hum1
- python3.10-devel< 0:3.10.21-1.2.hum1
- python3.10-idle< 0:3.10.21-1.2.hum1
- python3.10-libs< 0:3.10.21-1.2.hum1
Ubuntu12 products
- pypy3All versions (No fix recorded)
- python2.7All versions (No fix recorded)
- python3.10All versions (No fix recorded)
- python3.11All versions (No fix recorded)
- python3.12All versions (No fix recorded)
Chainguard5 products
- python-3.10< 3.10.22-r1
- python-3.11< 3.11.17-r1
- python-3.12< 3.12.15-r0
- python-3.13< 3.13.16_git20261002-r0
- python-3.14< 3.14.8_git20261008-r0
Wolfi5 products
- python-3.10< 3.10.22-r1
- python-3.11< 3.11.17-r1
- python-3.12< 3.12.15-r0
- python-3.13< 3.13.16_git20261002-r0
- python-3.14< 3.14.8_git20261008-r0
Debian4 products
- pypy3All versions (No fix recorded) | < 8.0.1+dfsg-1
- python3.13All versions (No fix recorded)
- python3.14All versions (No fix recorded) | < 3.14.9-1
- python3.15All versions (No fix recorded) | < 3.15.0~rc3-1
Alpine1 product
- python3< 3.12.15-r0
Python software foundation1 product
- cpython< 3.10.22 | ≥ 3.11.0, < 3.11.17 | ≥ 3.12.0, < 3.12.15 | ≥ 3.13.0, < 3.13.16 | ≥ 3.14.0, < 3.14.9 | ≥ 3.15.0a1, < 3.15.0rc3
7 vendors · 58 products
References
31 links- mail.python.org/archives/list/[email protected]/thread/57TBTLL2W6APMZR3A25B2YV7GL3EPTDJ/Vendor AdvisoryARTICLEREPORTAdvisory
Show all 31 references
- images.redhat.comARTICLE
- github.com/python/cpythonPACKAGE