{"id":"BIT-python-min-2026-11940","summary":"tarfile extraction filter bypass allows escaping the destination directory","details":"tarfile.extractall() with the 'data' or 'tar'\n filter could be bypassed by a crafted archive where a hardlink \nreferences a symlink stored at a deeper name than the hardlink itself.  \nThe extraction fallback validated the symlink at it's archived location \nbut recreated it at the hardlink's shallower\npath, letting a relative\n target the filter judged contained escape the destination directory.  \nThis allowed a malicious tar archive to create a symlink pointing \noutside the destination, enabling out-of-destination file reads or \nwrites. This was an incomplete fix of CVE-2025-4330.","aliases":["BIT-libpython-2026-11940","BIT-python-2026-11940","CVE-2026-11940","PSF-2026-30"],"modified":"2026-06-29T11:56:26.046348640Z","published":"2026-06-29T11:14:50.839Z","database_specific":{"severity":"High","cpes":["cpe:2.3:a:python:python:*:*:*:*:*:*:*:*"]},"references":[{"type":"WEB","url":"https://github.com/python/cpython/commit/27dd970bf6b17ebca7c8ed486a40ab043ed7af8f"},{"type":"WEB","url":"https://github.com/python/cpython/commit/672825e2f36a57e173959b0d9d409d4560dab8df"},{"type":"WEB","url":"https://github.com/python/cpython/commit/771d12dda5140313db0ac550292987975651bbde"},{"type":"WEB","url":"https://github.com/python/cpython/commit/79c06bd5c6afa3c440d50faf7ee1b147c8832b4c"},{"type":"WEB","url":"https://github.com/python/cpython/issues/151558"},{"type":"WEB","url":"https://github.com/python/cpython/pull/151559"},{"type":"WEB","url":"https://mail.python.org/archives/list/security-announce@python.org/thread/LD6QIISNQFQYOIEPJNEUIPV7S3V76FZH/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-11940"}],"affected":[{"package":{"name":"python-min","ecosystem":"Bitnami","purl":"pkg:bitnami/python-min"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/python-min/BIT-python-min-2026-11940.json"},"severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/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"}]}],"schema_version":"1.7.5"}