Logo
vulnerabilityCVE-2026-11940
Name
CVE-2026-11940
Source
NVD ( link)Debian ( link)
Description
tarfile.extractall() with the 'data' or 'tar' filter could be bypassed by a crafted archive where a hardlink references a symlink stored at a deeper name than the hardlink itself.  The extraction fallback validated the symlink at it's archived location but recreated it at the hardlink's shallower path, letting a relative target the filter judged contained escape the destination directory.  This allowed a malicious tar archive to create a symlink pointing outside the destination, enabling out-of-destination file reads or writes. This was an incomplete fix of CVE-2025-4330.
Published Date
Updated Date
Workaround
-
Advisories

Analysis#


Affected Component
Analysis
python3
Patched

Vulnerability Ratings#


7.8
CVSSv4
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
3.12.13
Not Affected
openwrt
master
3.14.5-r1
Not Affected
openwrt
openwrt-25.12
3.13.9-r3
Not Affected
yocto
kirkstone
3.10.20
Not Affected
yocto
master
3.14.6
Not Affected
yocto
scarthgap
3.12.13
Not Affected

Resolved with patches#


python3 (buildroot:master)

#
Title
Author
Resolve
1
[3.14] gh-151558: Fix symlink escape via `tarfile`
"Miss Islington (bot)"
CVE-2026-11940