Alpine Security Database
ALPINE-CVE-2026-7774
Details
tarfile.data_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() to write files outside the destination directory, subject to the permissions of the extracting process.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Alpine:v3.24 | python3 | All versions before 3.14.7-r0 (fixed in 3.14.7-r0) |