CVE-2026-11940

Severity CVSS v4.0:
HIGH
Type:
CWE-22 Path Traversal
Publication date:
23/06/2026
Last modified:
23/07/2026

Description

tarfile.extractall() with the &amp;#39;data&amp;#39; or &amp;#39;tar&amp;#39;<br /> filter could be bypassed by a crafted archive where a hardlink <br /> references a symlink stored at a deeper name than the hardlink itself.  <br /> The extraction fallback validated the symlink at it&amp;#39;s archived location <br /> but recreated it at the hardlink&amp;#39;s shallower<br /> path, letting a relative<br /> target the filter judged contained escape the destination directory.  <br /> This allowed a malicious tar archive to create a symlink pointing <br /> outside the destination, enabling out-of-destination file reads or <br /> writes. This was an incomplete fix of CVE-2025-4330.