CVE-2026-87910: python software foundation cpython Path Traversal
Vulnerability summary
CVE-2026-87910 is a medium (CVSS 5.7) Path Traversal vulnerability in python software foundation cpython. EPSS estimates a 0.50% chance of exploitation in the next 30 days, higher than 41.5% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Related 1Timeline
- 11-09-2026PublishedVulnerability first disclosed.
- 03-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.50%
Chance of exploitation in the next 30 days
Percentile
42%
Versus all other CVEs
30-day change
+0.08 pp
From 0.42% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')The 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 Access ('Link Following')The 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
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)
- python3.13All versions (No fix recorded)
- python3.14All versions (No fix recorded)
- 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.15.0a1, < 3.15.0rc3
7 vendors · 58 products
References
31 links- mail.python.org/archives/list/security-announce@python.org/thread/57TBTLL2W6APMZR3A25B2YV7GL3EPTDJ/Vendor AdvisoryARTICLEREPORTAdvisory
Show all 31 references
- images.redhat.comARTICLE
- github.com/python/cpythonPACKAGE