CVE-2026-4360: Tarfile.extract() doesn't fully respect filter parameter
Vulnerability summary
CVE-2026-4360 is a medium (CVSS 5.3) Improper Preservation of Permissions vulnerability in python software foundation cpython. EPSS estimates a 0.48% chance of exploitation in the next 30 days, higher than 41.5% of scored vulnerabilities.
Not severe (CVSS 2, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 31 · Related 30Timeline
- 30-06-2026PublishedVulnerability first disclosed.
- 13-08-2026Last modifiedVulnerability information updated.
Description
In the Tarfile.extract() function, the filter parameter is not passed properly when extracting hardlinks. An affected system that extracts content from untrusted tar files could end up writing files with an unexpected uid/gid despite the user passing filter='data' to the extract() function.
CVSS metrics
10 scores · 8 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated2.0LowCVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated2.0LowCVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated2.0LowCVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- NVDNIST2.0LowCVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:L/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 · AlpineEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · Red hatEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
0.48%
Chance of exploitation in the next 30 days
Percentile
42%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.48% on 04-10-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 causeAffected systems
Known conditions: network-reachable, administrative account, user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat46 products
- python-unversioned-command< 0:3.14.6-2.1.hum1
- python3< 0:3.14.6-2.1.hum1
- python3-debug< 0:3.14.6-2.1.hum1
- python3-devel< 0:3.14.6-2.1.hum1
- python3-idle< 0:3.14.6-2.1.hum1
Chainguard5 products
- python-3.10< 3.10.20-r10
- python-3.11< 3.11.15-r8
- python-3.12< 3.12.13-r10
- python-3.13< 3.13.14-r2
- python-3.14< 3.14.6-r3
Wolfi5 products
- python-3.10< 3.10.20-r10
- python-3.11< 3.11.15-r8
- python-3.12< 3.12.13-r10
- python-3.13< 3.13.14-r2
- python-3.14< 3.14.6-r3
Ubuntu4 products
- python3.10< 3.10.12-1~22.04.18
- python3.12< 3.12.3-1ubuntu0.17
- python3.13All versions (No fix recorded)
- python3.14All versions (No fix recorded) | < 3.14.4-1ubuntu0.2
Debian3 products
- pypy3All versions (No fix recorded) | < 8.0.0+dfsg-1
- python3.13< 3.13.15-1 | < 3.13.5-2+deb13u5
- python3.14< 3.14.7-1
Alpine1 product
- python3< 3.12.14-r0 | < 3.14.7-r0
Python1 product
- python< 3.1.5
Python software foundation1 product
- cpython< 3.10.21 | ≥ 3.11.0, < 3.11.16 | ≥ 3.12.0, < 3.12.14 | ≥ 3.13.0, < 3.13.15 | ≥ 3.14.0, < 3.14.7 | ≥ 3.15.0a1, < 3.15.0b4
8 vendors · 66 products
References
32 links- mail.python.org/archives/list/security-announce@python.org/thread/TWZW2PC2AZOV6FENIHFSRC63OM7MBGSB/Vendor AdvisoryARTICLEREPORTAdvisoryIssue Tracking
Show all 32 references
- images.redhat.comARTICLE
- github.com/python/cpythonPACKAGE