{"id":"CVE-2026-4360","aliases":["CVE-2026-4360","PSF-2026-32","BIT-LIBPYTHON-2026-4360","BIT-PYTHON-2026-4360","BIT-PYTHON-MIN-2026-4360"],"related":[],"kind":"vulnerability","state":"published","title":"Tarfile.extract() doesn't fully respect filter parameter","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En la función Tarfile.extract(), el parámetro filter no se pasa correctamente al extraer hardlinks. Un sistema afectado que extrae contenido de archivos tar no confiables podría terminar escribiendo archivos con un uid/gid inesperado a pesar de que el usuario pase filter=’data’ a la función extract().","source":"nvd"}],"published":"2026-06-30T14:45:35.601Z","modified":"2026-10-25T21:10:00.770Z","severity":{"scorer":"PSF","scheme":"CVSS:4.0","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","score":2,"rating":"LOW"},"severities":[{"scorer":"PSF","scheme":"CVSS:4.0","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","score":2,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-281"],"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.15","status":"affected"},{"type":"python","introduced":"3.14.0","fixed":"3.14.7","status":"affected"},{"type":"python","introduced":"3.15.0a1","fixed":"3.15.0b4","status":"affected"}],"vendor":"Python Software Foundation","product":"CPython","repo":"https://github.com/python/cpython","source":"cvelist"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"5e0ef3f1afe892e4f64eb83368db57ac4c40cba0"},{"type":"git","status":"affected","fixed":"7b57e8d51446297b8c7c482d224bc5f1938e4301"},{"type":"git","status":"affected","fixed":"7ccdbaba2c54250a70d7f25632152df7655a5e0a"},{"type":"git","status":"affected","fixed":"eee3ddf0ca10283cc7fea724aae9cd8665f8d15e"},{"type":"git","status":"affected","fixed":"d2b2f5eacab4dd48446b63340613b05dcbbf0b44"},{"type":"git","status":"affected","fixed":"cf23b9153181062150d061468b6d24af33fe214f"},{"type":"git","status":"affected","fixed":"0367912be336348b30572f8029cec4a282782d92"}],"repo":"https://github.com/python/cpython","source":"psf"},{"ranges":[{"status":"affected","fixed":"3.1.5"}],"vendor":"python","product":"python","cpe":"cpe:2.3:a:python:python:*:*:*:*:*:*:*:*","source":"nvd"},{"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.15"},{"type":"semver","introduced":"3.14.0","status":"affected","fixed":"3.14.7"}],"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.15"},{"type":"semver","introduced":"3.14.0","status":"affected","fixed":"3.14.7"}],"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.15"},{"type":"semver","introduced":"3.14.0","status":"affected","fixed":"3.14.7"}],"ecosystem":"Bitnami","package":"python-min","purl":"pkg:bitnami/python-min","source":"bitnami"}],"references":[{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/TWZW2PC2AZOV6FENIHFSRC63OM7MBGSB/","tags":["advisory","issue-tracking","vendor-advisory"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/pull/151988","tags":["fix","issue-tracking","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/issues/151987","tags":["fix","issue-tracking","patch","report"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/5e0ef3f1afe892e4f64eb83368db57ac4c40cba0","tags":["fix","patch"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/7b57e8d51446297b8c7c482d224bc5f1938e4301","tags":["fix","patch"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/7ccdbaba2c54250a70d7f25632152df7655a5e0a","tags":["fix","patch"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/eee3ddf0ca10283cc7fea724aae9cd8665f8d15e","tags":["fix","patch"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/d2b2f5eacab4dd48446b63340613b05dcbbf0b44","tags":["fix","patch"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/cf23b9153181062150d061468b6d24af33fe214f","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/0367912be336348b30572f8029cec4a282782d92","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4360","tags":["web"],"sources":["bitnami"]}],"credits":["Michael Scovetta (https://github.com/scovetta)","Seth Larson (https://github.com/sethmlarson)","Petr Viktorin (https://github.com/encukou)"],"assigner":"PSF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-30T15:28:24.835Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-4360","url":"https://www.cve.org/CVERecord?id=CVE-2026-4360","licence":"CVE Terms of Use","modified":"2026-08-13T00:27:33.412Z"},{"source":"psf","name":"Python Software Foundation","id":"PSF-2026-32","url":"https://osv.dev/vulnerability/PSF-2026-32","licence":"CC-BY-4.0","modified":"2026-08-05T13:15:16.583Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-4360","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4360","licence":"Public domain","modified":"2026-10-25T21:10:00.770Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-LIBPYTHON-2026-4360","url":"https://osv.dev/vulnerability/BIT-LIBPYTHON-2026-4360","licence":"Apache-2.0","modified":"2026-09-16T16:45:06.066Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-2026-4360","url":"https://osv.dev/vulnerability/BIT-PYTHON-2026-4360","licence":"Apache-2.0","modified":"2026-09-16T16:45:05.266Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-MIN-2026-4360","url":"https://osv.dev/vulnerability/BIT-PYTHON-MIN-2026-4360","licence":"Apache-2.0","modified":"2026-09-16T16:45:04.394Z"}],"updatedAt":"2026-11-25T22:59:26.705Z","epss":{"score":0.00277,"percentile":0.21582,"date":"2026-12-01T12:00:22.000Z"}}