CVE-2026-7774 tarfile.data_filter path traversal bypass allows writing outside the extraction directory
MediumCVSS 6.9
EPSS 0.60%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| Python Software Foundation CPython | < 3.10.21 | 3.10.21 |
| Python Software Foundation CPython | >= 3.11.0, < 3.11.16 | 3.11.16 |
| Python Software Foundation CPython | >= 3.12.0, < 3.12.14 | 3.12.14 |
| Python Software Foundation CPython | >= 3.13.0, < 3.13.14 | 3.13.14 |
| Python Software Foundation CPython | >= 3.14.0, < 3.14.6 | 3.14.6 |
| Python Software Foundation CPython | >= 3.15.0a1, < 3.15.0b2 | 3.15.0b2 |
| redhat/exploit-intelligence-tech-preview/vulnerability-analysis-rhel9(Red Hat:exploit_intelligence:0) | All versions | No fix listed |
| redhat/python3.12(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/python(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/python(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/python3(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/python3(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/python36(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/python36:3.6/python36(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/python3.12(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/python3.9(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/rhelai3/bootc-aws-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-azure-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-azure-rocm-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-gaudi-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-gcp-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-rocm-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhoai/odh-dashboard-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/ansible-automation-platform/bootc-automation-portal-rhel9(Red Hat:ansible_portal:2) | All versions | No fix listed |
Show 64 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/pypy3(Debian:13) | All versions | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.19+dfsg-2 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.20+dfsg-1 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.20+dfsg-2 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.20+dfsg-3 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.20+dfsg-4 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.21+dfsg-1 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.21+dfsg-2 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.21+dfsg-3 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.21+dfsg-4 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.22+dfsg-1 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.23+dfsg-1 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.23+dfsg-2 | No fix listed |
| debian/pypy3(Debian:13) | = 8.0.0+dfsg-1 | No fix listed |
| debian/pypy3(Debian:13) | = 8.0.1+dfsg-1 | No fix listed |
| debian/pypy3(Debian:14) | < 8.0.0+dfsg-1 | 8.0.0+dfsg-1 |
| debian/pypy3(Debian:14) | = 7.3.19+dfsg-2 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.20+dfsg-1 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.20+dfsg-2 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.20+dfsg-3 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.20+dfsg-4 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.21+dfsg-1 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.21+dfsg-2 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.21+dfsg-3 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.21+dfsg-4 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.22+dfsg-1 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.23+dfsg-1 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.23+dfsg-2 | No fix listed |
| debian/python3.13(Debian:13) | < 3.13.5-2+deb13u3 | 3.13.5-2+deb13u3 |
| debian/python3.13(Debian:13) | = 3.13.5-2 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.5-2+deb13u1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.5-2+deb13u2 | No fix listed |
| debian/python3.14(Debian:14) | < 3.14.6-1 | 3.14.6-1 |
| debian/python3.14(Debian:14) | = 3.14.0-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0-2 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0-3 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0-4 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0-5 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~a7-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~b1-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~b2-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~b3-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~b4-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~rc1-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~rc2-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~rc3-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.2-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-2 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-3 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-4 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-5 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.4-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.4-2 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.5-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.5~rc1-1 | No fix listed |
| ubuntu/pypy3(Ubuntu:22.04) | All versions | No fix listed |
| alpine/python3(Alpine:v3.24) | < 3.14.7-r0 | 3.14.7-r0 |
| ubuntu/pypy3(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/python3.12(Ubuntu:24.04) | < 3.12.3-1ubuntu0.15 | 3.12.3-1ubuntu0.15 |
| ubuntu/pypy3(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/python3.14(Ubuntu:26.04) | < 3.14.4-1ubuntu0.1 | 3.14.4-1ubuntu0.1 |
| ubuntu/pypy3(Ubuntu:26.10) | All versions | No fix listed |
| azure linux python3(Azure Linux:3.0) | < 3.12.9-13 | 3.12.9-13 |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- github.com patch
- github.com issue-tracking
- mail.python.org vendor-advisory
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- www.openwall.com
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2484827 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-7774 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8509-1 vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking