{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-4360","id":"CVE-2026-4360","title":"Tarfile.extract() doesn't fully respect filter parameter","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.","descriptionLong":"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.","published":"2026-06-30T14:45:35.601Z","updated":"2026-11-11T10:30:36.318865070Z","reserved":"2026-03-17T19:25:46.527Z","status":"Modified","rejected":false,"assigner":"PSF","metric":{"version":"4.0","score":2,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"low","source":"PSF"},"metrics":[{"version":"4.0","score":2,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"low","source":"PSF"},{"version":"4.0","score":2,"vector":"CVSS: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","rating":"low","source":"python.org"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"}],"rating":"low","products":["Python Software Foundation CPython"],"affectedProducts":[{"vendor":"Python Software Foundation","product":"CPython","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"3.10.21","status":"affected","versionType":"python"},{"version":"3.11.0","lessThan":"3.11.16","status":"affected","versionType":"python"},{"version":"3.12.0","lessThan":"3.12.14","status":"affected","versionType":"python"},{"version":"3.13.0","lessThan":"3.13.15","status":"affected","versionType":"python"},{"version":"3.14.0","lessThan":"3.14.7","status":"affected","versionType":"python"},{"version":"3.15.0a1","lessThan":"3.15.0b4","status":"affected","versionType":"python"}],"platforms":[]}],"packages":[],"cwes":["CWE-281"],"aliases":["BIT-libpython-2026-4360","BIT-python-2026-4360","BIT-python-min-2026-4360","PSF-2026-32"],"references":[{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/TWZW2PC2AZOV6FENIHFSRC63OM7MBGSB/","tags":["vendor-advisory","Issue Tracking","Vendor Advisory","advisory"]},{"url":"https://github.com/python/cpython/pull/151988","tags":["patch","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/python/cpython/issues/151987","tags":["issue-tracking","Issue Tracking","Patch","report"]},{"url":"https://github.com/python/cpython/commit/5e0ef3f1afe892e4f64eb83368db57ac4c40cba0","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/7b57e8d51446297b8c7c482d224bc5f1938e4301","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/7ccdbaba2c54250a70d7f25632152df7655a5e0a","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/eee3ddf0ca10283cc7fea724aae9cd8665f8d15e","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/d2b2f5eacab4dd48446b63340613b05dcbbf0b44","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/cf23b9153181062150d061468b6d24af33fe214f","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/0367912be336348b30572f8029cec4a282782d92","tags":["patch","fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4360.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4360","tags":["advisory"]},{"url":"https://github.com/python/cpython","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00481,"epssPercentile":0.42162,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-4360","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4360","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-4360","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-4360","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["python"],"critical":[],"attention":null}