{"id":"CVE-2026-7774","aliases":["CVE-2026-7774","PSF-2026-26","BIT-LIBPYTHON-2026-7774","BIT-PYTHON-2026-7774","BIT-PYTHON-MIN-2026-7774"],"related":[],"kind":"vulnerability","state":"published","title":"tarfile.data_filter path traversal bypass allows writing outside the extraction directory","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"tarfile.data_filter podría ser eludido utilizando entradas de enlace manipuladas, incluyendo enlaces simbólicos con nombres vacíos o similares a directorios, para redirigir miembros posteriores del archivo fuera del directorio de extracción previsto. Esto permitía que un archivo tar malicioso causara que tarfile.extractall() escribiera archivos fuera del directorio de destino, sujeto a los permisos del proceso de extracción.","source":"nvd"}],"published":"2026-06-04T14:21:23.904Z","modified":"2026-08-19T09:45:27.692Z","severity":{"scorer":"PSF","scheme":"CVSS:4.0","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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"PSF","scheme":"CVSS:4.0","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","score":6.9,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"python","introduced":"0","fixed":"3.10.21","status":"affected"},{"type":"python","introduced":"3.11.0","fixed":"3.11.16","status":"affected"},{"type":"python","introduced":"3.12.0","fixed":"3.12.14","status":"affected"},{"type":"python","introduced":"3.13.0","fixed":"3.13.14","status":"affected"},{"type":"python","introduced":"3.14.0","fixed":"3.14.6","status":"affected"},{"type":"python","introduced":"3.15.0a1","fixed":"3.15.0b2","status":"affected"}],"vendor":"Python Software Foundation","product":"CPython","repo":"https://github.com/python/cpython","source":"cvelist"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"0478bd83d82b255e0f29f613367a59d261e7eaa2"},{"type":"git","status":"affected","fixed":"0d28f5e46e151718972dfabd91205444d0037b6d"},{"type":"git","status":"affected","fixed":"578411982c16f753f4893532510099ef665117da"},{"type":"git","status":"affected","fixed":"5cf47a248c35c375d610b87b2f72fd1ed454b558"},{"type":"git","status":"affected","fixed":"74cca9a92fb7d653e404843a56b8bdc7b0afdbbf"},{"type":"git","status":"affected","fixed":"10a13bee3c24f9c62b602e696334ff2272a40efc"},{"type":"git","status":"affected","fixed":"c063191cb7f9170f9565e305f8aa2b79ab2bf609"}],"repo":"https://github.com/python/cpython","source":"psf"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.10.21"},{"type":"semver","introduced":"3.11.0","status":"affected","fixed":"3.11.16"},{"type":"semver","introduced":"3.12.0","status":"affected","fixed":"3.12.14"},{"type":"semver","introduced":"3.13.0","status":"affected","fixed":"3.13.14"},{"type":"semver","introduced":"3.14.0","status":"affected","fixed":"3.14.6"}],"ecosystem":"Bitnami","package":"libpython","purl":"pkg:bitnami/libpython","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.10.21"},{"type":"semver","introduced":"3.11.0","status":"affected","fixed":"3.11.16"},{"type":"semver","introduced":"3.12.0","status":"affected","fixed":"3.12.14"},{"type":"semver","introduced":"3.13.0","status":"affected","fixed":"3.13.14"},{"type":"semver","introduced":"3.14.0","status":"affected","fixed":"3.14.6"}],"ecosystem":"Bitnami","package":"python","purl":"pkg:bitnami/python","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.10.21"},{"type":"semver","introduced":"3.11.0","status":"affected","fixed":"3.11.16"},{"type":"semver","introduced":"3.12.0","status":"affected","fixed":"3.12.14"},{"type":"semver","introduced":"3.13.0","status":"affected","fixed":"3.13.14"},{"type":"semver","introduced":"3.14.0","status":"affected","fixed":"3.14.6"}],"ecosystem":"Bitnami","package":"python-min","purl":"pkg:bitnami/python-min","source":"bitnami"}],"references":[{"url":"https://github.com/python/cpython/pull/149487","tags":["patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/issues/149486","tags":["issue-tracking","report","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/4FU62L2M6RMMHT2QPGQNPEHHUND7CEX5/","tags":["advisory","vendor-advisory","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/0478bd83d82b255e0f29f613367a59d261e7eaa2","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/0d28f5e46e151718972dfabd91205444d0037b6d","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/578411982c16f753f4893532510099ef665117da","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/5cf47a248c35c375d610b87b2f72fd1ed454b558","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/74cca9a92fb7d653e404843a56b8bdc7b0afdbbf","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/10a13bee3c24f9c62b602e696334ff2272a40efc","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/c063191cb7f9170f9565e305f8aa2b79ab2bf609","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2026/06/04/9","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-7774","tags":["web"],"sources":["bitnami"]}],"credits":["Phùng Siêu Đạt (OPSWAT Unit 515)","Seth Larson (https://github.com/sethmlarson)","Gregory P. Smith (https://github.com/gpshead)","Petr Viktorin (https://github.com/encukou)","Stan Ulbrych (https://github.com/StanFromIreland)"],"assigner":"PSF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-04T17:27:23.917Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-7774","url":"https://www.cve.org/CVERecord?id=CVE-2026-7774","licence":"CVE Terms of Use","modified":"2026-08-13T00:26:58.538Z"},{"source":"psf","name":"Python Software Foundation","id":"PSF-2026-26","url":"https://osv.dev/vulnerability/PSF-2026-26","licence":"CC-BY-4.0","modified":"2026-07-08T02:00:08.203Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-7774","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-7774","licence":"Public domain","modified":"2026-08-13T01:16:55.783Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-LIBPYTHON-2026-7774","url":"https://osv.dev/vulnerability/BIT-LIBPYTHON-2026-7774","licence":"Apache-2.0","modified":"2026-08-19T09:45:17.833Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-2026-7774","url":"https://osv.dev/vulnerability/BIT-PYTHON-2026-7774","licence":"Apache-2.0","modified":"2026-08-19T09:45:21.830Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-MIN-2026-7774","url":"https://osv.dev/vulnerability/BIT-PYTHON-MIN-2026-7774","licence":"Apache-2.0","modified":"2026-08-19T09:45:27.692Z"}],"updatedAt":"2026-11-25T22:59:23.714Z","epss":{"score":0.00598,"percentile":0.50016,"date":"2026-12-01T12:00:22.000Z"}}