CVE-2026-82049tarfile extraction filters allow file modification and content disclosure via hard link…
In CPython 3.13 and earlier, the tarfile module's data and tar extraction filters are vulnerable to crafted archives containing a hard link to a symbolic link. Such archives may cause extraction to modify the permissions or modification time of a file outside the destination directory, or expose the contents of that file within the extracted tree.
What to do
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | pypy3 | Fix pending | UBUNTU-CVE-2026-82049 | |
| Ubuntu 26.10 | python3.14 | Fix pending | UBUNTU-CVE-2026-82049 | |
| Ubuntu 26.04 | pypy3 | Under investigation | UBUNTU-CVE-2026-82049 | |
| Ubuntu 26.04 | python3.14 | Under investigation | UBUNTU-CVE-2026-82049 | |
| Ubuntu 24.04 | pypy3 | Under investigation | UBUNTU-CVE-2026-82049 | |
| Ubuntu 24.04 | python3.12 | Under investigation | UBUNTU-CVE-2026-82049 | |
| Ubuntu 22.04 | pypy3 | Under investigation | UBUNTU-CVE-2026-82049 | |
| Ubuntu 22.04 | python2.7 | Fix pending | UBUNTU-CVE-2026-82049 | |
| Ubuntu 22.04 | python3.10 | Under investigation | UBUNTU-CVE-2026-82049 | |
| Ubuntu 22.04 | python3.11 | Fix pending | UBUNTU-CVE-2026-82049 | |
| Ubuntu 20.04 | pypy3 | Fix pending | UBUNTU-CVE-2026-82049 | |
| Ubuntu 20.04 | python2.7 | Fix pending | UBUNTU-CVE-2026-82049 | |
| Ubuntu 20.04 | python3.8 | Fix pending | UBUNTU-CVE-2026-82049 | |
| Ubuntu 20.04 | python3.9 | Fix pending | UBUNTU-CVE-2026-82049 | |
| Ubuntu 18.04 | python2.7 | Fix pending | UBUNTU-CVE-2026-82049 | |
| Ubuntu 18.04 | python3.6 | Fix pending | UBUNTU-CVE-2026-82049 | |
| Ubuntu 18.04 | python3.7 | Fix pending | UBUNTU-CVE-2026-82049 | |
| Ubuntu 18.04 | python3.8 | Fix pending | UBUNTU-CVE-2026-82049 | |
| Ubuntu 16.04 | python2.7 | Fix pending | UBUNTU-CVE-2026-82049 | |
| Ubuntu 16.04 | python3.5 | Fix pending | UBUNTU-CVE-2026-82049 | |
| Ubuntu 14.04 | python2.7 | Fix pending | UBUNTU-CVE-2026-82049 | |
| Ubuntu 14.04 | python3.4 | Fix pending | UBUNTU-CVE-2026-82049 | |
| Ubuntu 14.04 | python3.5 | Fix pending | UBUNTU-CVE-2026-82049 | |
| Debian 14 | pypy3 | Fixed | 8.0.1+dfsg-1 | DEBIAN-CVE-2026-82049 |
| Debian 13 | pypy3 | Fix pending | DEBIAN-CVE-2026-82049 | |
| Debian 13 | python3.13 | Fix pending | DEBIAN-CVE-2026-82049 | |
| Alpine Linux 3.24 | python3 | Fixed | 3.14.8-r0 | ALPINE-CVE-2026-82049 |
| Alpine Linux 3.23 | python3 | Fixed | 3.12.15-r0 | ALPINE-CVE-2026-82049 |
| Alpine Linux 3.22 | python3 | Fixed | 3.12.15-r0 | ALPINE-CVE-2026-82049 |
| Alpine Linux 3.21 | python3 | Fixed | 3.12.15-r0 | ALPINE-CVE-2026-82049 |
What the vendor says
As published in the CVE record by PSF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Python Software Foundation CPython: affected: before 3.10.22, 3.11.0 to before 3.11.17, 3.12.0 to before 3.12.15, 3.13.0 to before 3.13.16, 3.14.0a1 to before 3.14.0b1; fixed in
3.10.22,3.11.17,3.12.15,3.13.16,3.14.0b1
Vendor advisories:
- https://github.com/python/cpython/commit/5a57248b22ad3b9aafcaaadae2c304a1923daeca (patch)
- https://github.com/python/cpython/pull/157191 (patch)
- https://mail.python.org/archives/list/security-announce@python.org/thread/EFJWGAZJA56AKSB… (vendor-advisory)
- https://github.com/python/cpython/commit/b38be2e6cf9d989075ab73412c63e003ebad4ff3 (patch)
- https://github.com/python/cpython/commit/b8f23e307097552eaea2604383a12ab280520d0d (patch)
- https://github.com/python/cpython/commit/197663d63afed27f66e10e23c194e8a634e60913 (patch)
References
- https://github.com/python/cpython/commit/5a57248b22ad3b9aafcaaadae2c304a1923daeca
- https://github.com/python/cpython/issues/157190
- https://github.com/python/cpython/pull/157191
- https://mail.python.org/archives/list/security-announce@python.org/thread/EFJWGAZJA56AKSBR2WHMHQZO7RRLZPRH/
- https://github.com/python/cpython/commit/b38be2e6cf9d989075ab73412c63e003ebad4ff3
- https://github.com/python/cpython/commit/b8f23e307097552eaea2604383a12ab280520d0d
- https://github.com/python/cpython/commit/197663d63afed27f66e10e23c194e8a634e60913
- https://github.com/python/cpython/commit/28f315486b3da0352b9a1de1c3c97f4127ba4771
- https://github.com/python/cpython/commit/c66df4e70435d257fd488b35ea129c6f317433a8
- https://github.com/python/cpython/commit/cc1689830c6b9aaddded2fb9f2fe8116867e2c0e
- https://github.com/python/cpython/commit/cccc7ec30212dba2abef53ce4a2bed112ddb690c
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.