Python2.7: tarfile.tar_filter could be bypassed using crafted link entries, including symlinks with empty or
Affects python2.7Source GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 6.9 Medium : update python2.7 when convenient.
Data as of 28 Oct 2026, 23:27 UTC
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: 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 26 Oct 2026.
What to do
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10python3.14pkg:deb/ubuntu/python3.14?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10python3.15pkg:deb/ubuntu/python3.15?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSpython3.14pkg:deb/ubuntu/python3.14?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSpython3.12pkg:deb/ubuntu/python3.12?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSpython3.10pkg:deb/ubuntu/python3.10?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSpython2.7pkg:deb/ubuntu/python2.7?arch=source&distro=esm-apps/jammyOther 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 fix is available as indicated by the linked Debian security tracker advisory. Users should apply the official patches or upgrade to a fixed version of Python 2.7 provided by their distribution. No additional mitigation steps are specified beyond applying the official fix.
Description
A vulnerability in Python 2.7's tarfile module allows crafted tar archives with specially crafted link entries, including symlinks with empty or directory-like names, to bypass the tar_filter protection. This can cause tarfile.extractall() with filter="tar" to write files outside the intended extraction directory, potentially leading to unauthorized file writes depending on the extracting process's permissions. This issue is related to CVE-2026-7774, which affected tarfile.data_filter.
References
- ubuntu.com/security/CVE-2026-114583 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-114583 (opens in a new tab)
- github.com/python/cpython (opens in a new tab)
- github.com/python/cpython/commit/0901ad4ffb22605f12b705d1c1197f0a01f0ba0b (opens in a new tab)
- github.com/python/cpython/commit/c6ada40177436e4e2533a7b252082b5f0c043477 (opens in a new tab)
- github.com/python/cpython/commit/e7e0b3523ad6ba8472873dda594cf4021a16f8b5 (opens in a new tab)
- github.com/python/cpython/issues/160097 (opens in a new tab)
- github.com/python/cpython/pull/160098 (opens in a new tab)
- mail.python.org/archives/list/security-announce@python.org/thread/43jowprav5di3vz4fueuazohcatxxock (opens in a new tab)
- github.com/cveproject/cvelistv5/tree/main/cves/2026/114xxx/cve-2026-114583.json (opens in a new tab)
- github.com/python/cpython/pull/160341 (opens in a new tab)
- github.com/python/cpython/pull/160343 (opens in a new tab)
- nvd.nist.gov/vuln/detail/cve-2026-114583 (opens in a new tab)
- security-tracker.debian.org/tracker/cve-2026-114583 (opens in a new tab)
- advisory.echohq.com/cve/cve-2026-114583 (opens in a new tab)
- github.com/python/cpython/commit/04d8fca7da2cf3ebc0881fec8a53a1330c3b665d (opens in a new tab)
- github.com/python/cpython/commit/bc93f8ad4c4a0f92d184ec8fccc8ff8a651dcec2 (opens in a new tab)
- github.com/python/cpython/commit/f4401da82e2baec5dab06cf070fbca77d53220f0 (opens in a new tab)
- security.alpinelinux.org/vuln/cve-2026-114583 (opens in a new tab)