CVE-2026-11940 affects CPython versions up to 3.13.14. Python 3.12 introduced tarfile extraction filters (filter=โdataโ) to defend against path traversal vulnerabilities (like Trepanning / CVE-2007-4559). However, a flaw in filter validation allows crafted tar archives containing a hardlink referencing a symlink placed at a deeper subfolder to bypass path confinement. The filter validates the symlink at its deep location but re-creates it at the hardlinkโs shallower path, allowing relative symlinks to escape the extraction root and overwrite arbitrary host files.