cve.bz

CVE-2026-87910 python software foundation cpython: Path traversal

5.7 mediumEPSS 0.6%

Medium (5.7) in python software foundation cpython. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

5.7 medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS
0.6% (unchanged from 0.6% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 50th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-09-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
CWE-59 Improper Link Resolution Before File Access (Link Following)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-87910 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-87910?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-87910?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-87910 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • python software foundation:cpython

Versions

From the CNA's record in the CVE List.

ProductAffected
Python Software Foundation CPythonbefore 3.10.22
Python Software Foundation CPythonfrom 3.11.0 before 3.11.17
Python Software Foundation CPythonfrom 3.12.0 before 3.12.15
Python Software Foundation CPythonfrom 3.13.0 before 3.13.16
Python Software Foundation CPythonfrom 3.14.0 before 3.14.9
Python Software Foundation CPythonfrom 3.15.0a1 before 3.15.0rc3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13pypy3, python3.13no fix listedDEBIAN-CVE-2026-87910
Debian14pypy38.0.1+dfsg-1DEBIAN-CVE-2026-87910
Debian14python3.143.14.9-1DEBIAN-CVE-2026-87910
Debian14python3.153.15.0~rc3-1DEBIAN-CVE-2026-87910
Ubuntu20.04:LTSpypy3no fix listedUBUNTU-CVE-2026-87910
Ubuntu22.04:LTSpypy3, python3.10no fix listedUBUNTU-CVE-2026-87910
Ubuntu24.04:LTSpypy3, python3.12no fix listedUBUNTU-CVE-2026-87910
Ubuntu26.04:LTS, 26.10pypy3, python3.14no fix listedUBUNTU-CVE-2026-87910
UbuntuPro:14.04:LTSpython2.7, python3.4, python3.5no fix listedUBUNTU-CVE-2026-87910
UbuntuPro:16.04:LTSpython2.7, python3.5no fix listedUBUNTU-CVE-2026-87910
UbuntuPro:18.04:LTSpython2.7, python3.6, python3.7 and 1 moreno fix listedUBUNTU-CVE-2026-87910
UbuntuPro:20.04:LTSpython2.7, python3.8, python3.9no fix listedUBUNTU-CVE-2026-87910
UbuntuPro:22.04:LTSpython2.7, python3.11no fix listedUBUNTU-CVE-2026-87910
Red Hathummingbird:1python3, python3.14, python3-idle and 13 more0:3.14.7-1.2.hum1RHSA-2026:67572
Red Hathummingbird:1python3.10, python3.10-idle, python3.10-libs and 4 more0:3.10.21-1.2.hum1RHSA-2026:67574
Red Hathummingbird:1python3.11, python3.11-idle, python3.11-libs and 4 more0:3.11.16-1.3.hum1RHSA-2026:67575
Red Hathummingbird:1python3.12, python3.12-idle, python3.12-libs and 4 more0:3.12.14-1.2.hum1RHSA-2026:67607
Red Hathummingbird:1python3.13, python3.13-idle, python3.13-libs and 6 more0:3.13.15-1.2.hum1RHSA-2026:67606
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 11 morepython3, python3-core3.6.15-150300.10.134.1SUSE-SU-2026:5251-1
SUSELinux Enterprise Module for Development Tools 15 SP7python3-core3.6.15-150300.10.134.1SUSE-SU-2026:5251-1
openSUSETumbleweedpython3153.15.0-1.1openSUSE-SU-2026:12125-1
Alpinev3.21, v3.22, v3.23python33.12.15-r0ALPINE-CVE-2026-87910
Azure Linux3python33.12.15-1AZL-103383
Alpaquita23python33.11.17-r0BELL-CVE-2026-87910
Alpaquita25python33.12.15-r0BELL-CVE-2026-87910
BellSoft Hardened Containers23python33.11.17-r0BELL-CVE-2026-87910
BellSoft Hardened Containers25python33.12.15-r0BELL-CVE-2026-87910

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Hardened Imagespython3-14-main-3.14.7-1.2.hum1Fixed 2026-09-15RHSA-2026:67572
Red Hat Hardened Imagespython3-10-main-3.10.21-1.2.hum1Fixed 2026-09-15RHSA-2026:67574
Red Hat Hardened Imagespython3-11-main-3.11.16-1.3.hum1Fixed 2026-09-15RHSA-2026:67575
Red Hat Hardened Imagespython3-13-main-3.13.15-1.2.hum1Fixed 2026-09-15RHSA-2026:67606
Red Hat Hardened Imagespython3-12-main-3.12.14-1.2.hum1Fixed 2026-09-15RHSA-2026:67607
Red Hat Hardened Imageshi/pythonNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-87910.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High
  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON