{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-7774","id":"CVE-2026-7774","title":"tarfile.data_filter path traversal bypass allows writing outside the extraction directory","description":"tarfile.data_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() to write files outside the destination directory, subject to the permissions of the extracting process.","descriptionLong":"tarfile.data_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() to write files outside the destination directory, subject to the permissions of the extracting process.","published":"2026-06-04T14:21:23.904Z","updated":"2026-11-10T10:47:34.797132289Z","reserved":"2026-05-04T14:47:51.154Z","status":"Awaiting Analysis","rejected":false,"assigner":"PSF","metric":{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"medium","source":"PSF"},"metrics":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"medium","source":"PSF"},{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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","rating":"medium","source":"python.org"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"}],"rating":"medium","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.14","status":"affected","versionType":"python"},{"version":"3.14.0","lessThan":"3.14.6","status":"affected","versionType":"python"},{"version":"3.15.0a1","lessThan":"3.15.0b2","status":"affected","versionType":"python"}],"platforms":[]}],"packages":[],"cwes":["CWE-22"],"aliases":["BIT-libpython-2026-7774","BIT-python-2026-7774","BIT-python-min-2026-7774","PSF-2026-26"],"references":[{"url":"https://github.com/python/cpython/pull/149487","tags":["patch","fix","web"]},{"url":"https://github.com/python/cpython/issues/149486","tags":["issue-tracking","report"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/4FU62L2M6RMMHT2QPGQNPEHHUND7CEX5/","tags":["vendor-advisory","advisory"]},{"url":"https://github.com/python/cpython/commit/0478bd83d82b255e0f29f613367a59d261e7eaa2","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/0d28f5e46e151718972dfabd91205444d0037b6d","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/578411982c16f753f4893532510099ef665117da","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/5cf47a248c35c375d610b87b2f72fd1ed454b558","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/74cca9a92fb7d653e404843a56b8bdc7b0afdbbf","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/10a13bee3c24f9c62b602e696334ff2272a40efc","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/c063191cb7f9170f9565e305f8aa2b79ab2bf609","tags":["patch","fix"]},{"url":"http://www.openwall.com/lists/oss-security/2026/06/04/9","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7774.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-7774","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.00598,"epssPercentile":0.49388,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-7774","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-7774","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-7774","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-7774","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["python"],"critical":[],"attention":null}