NetSight
mittel6.9

CVE-2026-114583

tarfile.tar_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outsi…

Auswirkung

tarfile.tar_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() with filter="tar" to write files outside the destination directory, subject to the permissions of the extracting process. This is the tarfile.tar_filter counterpart of CVE-2026-7774, which covered tarfile.data_filter.

Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten oder Systeme verändert werden.

Betroffene Produkte · Python Software Foundation

ProduktBetroffene Versionen
CPython
vor 3.11.18
ab 3.12.0 vor 3.12.16
ab 3.13.0 vor 3.13.18
ab 3.14.0 vor 3.14.10
ab 3.15.0 vor 3.15.2
ab 3.16.0a1 vor 3.16.0

Schwachstellenklasse

Referenzen