# CVE-2026-82049: tarfile extraction filters allow file modification and content disclosure via hard link to symlink

- Severity: High 8.4 (CVSS:4.0, scored by PSF) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-09-14T19:14:03.873Z
- Modified: 2026-10-13T08:15:04.066Z
- Also known as: PSF-0000-CVE-2026-82049, BIT-LIBPYTHON-2026-82049, BIT-PYTHON-2026-82049, BIT-PYTHON-MIN-2026-82049, PSF-2026-41
- Weaknesses: CWE-59
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: PSF

## Description

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.

(As written by CVE List.)

## Affected

- Python Software Foundation CPython: before 3.10.22; from 3.11.0 before 3.11.17; from 3.12.0 before 3.12.15; from 3.13.0 before 3.13.16; from 3.14.0a1 before 3.14.0b1
- https://github.com/python/cpython: before 5a57248b22ad3b9aafcaaadae2c304a1923daeca; before b38be2e6cf9d989075ab73412c63e003ebad4ff3; before b8f23e307097552eaea2604383a12ab280520d0d; before 197663d63afed27f66e10e23c194e8a634e60913; before 28f315486b3da0352b9a1de1c3c97f4127ba4771; before c66df4e70435d257fd488b35ea129c6f317433a8; before cc1689830c6b9aaddded2fb9f2fe8116867e2c0e; before cccc7ec30212dba2abef53ce4a2bed112ddb690c
- libpython (Bitnami): before 3.10.22; from 3.11.0 before 3.11.17; from 3.12.0 before 3.12.15; from 3.13.0 before 3.13.16
- python (Bitnami): before 3.10.22; from 3.11.0 before 3.11.17; from 3.12.0 before 3.12.15; from 3.13.0 before 3.13.16
- python-min (Bitnami): before 3.10.22; from 3.11.0 before 3.11.17; from 3.12.0 before 3.12.15; from 3.13.0 before 3.13.16

## Every score

- PSF: CVSS:4.0 8.4 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/python/cpython/commit/5a57248b22ad3b9aafcaaadae2c304a1923daeca> (fix, patch, web)
- <https://github.com/python/cpython/issues/157190> (issue-tracking, report, web)
- <https://github.com/python/cpython/pull/157191> (patch, web)
- <https://mail.python.org/archives/list/security-announce@python.org/thread/EFJWGAZJA56AKSBR2WHMHQZO7RRLZPRH/> (advisory, vendor-advisory, web)
- <https://github.com/python/cpython/commit/b38be2e6cf9d989075ab73412c63e003ebad4ff3> (fix, patch, web)
- <https://github.com/python/cpython/commit/b8f23e307097552eaea2604383a12ab280520d0d> (fix, patch, web)
- <https://github.com/python/cpython/commit/197663d63afed27f66e10e23c194e8a634e60913> (fix, patch, web)
- <https://github.com/python/cpython/commit/28f315486b3da0352b9a1de1c3c97f4127ba4771> (fix, patch, web)
- <https://github.com/python/cpython/commit/c66df4e70435d257fd488b35ea129c6f317433a8> (fix, patch, web)
- <https://github.com/python/cpython/commit/cc1689830c6b9aaddded2fb9f2fe8116867e2c0e> (fix, patch, web)
- <https://github.com/python/cpython/commit/cccc7ec30212dba2abef53ce4a2bed112ddb690c> (fix, patch, web)
- <http://www.openwall.com/lists/oss-security/2026/09/14/27> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-82049> (web)

## Sources

- CVE List: [CVE-2026-82049](https://www.cve.org/CVERecord?id=CVE-2026-82049), CVE Terms of Use, modified 2026-10-11
- Python Software Foundation: [PSF-0000-CVE-2026-82049](https://osv.dev/vulnerability/PSF-0000-CVE-2026-82049), CC-BY-4.0, modified 2026-09-21
- Python Software Foundation: [PSF-2026-41](https://osv.dev/vulnerability/PSF-2026-41), CC-BY-4.0, modified 2026-10-12
- NVD: [CVE-2026-82049](https://nvd.nist.gov/vuln/detail/CVE-2026-82049), Public domain, modified 2026-10-11
- Bitnami Vulnerability Database: [BIT-LIBPYTHON-2026-82049](https://osv.dev/vulnerability/BIT-LIBPYTHON-2026-82049), Apache-2.0, modified 2026-10-13
- Bitnami Vulnerability Database: [BIT-PYTHON-2026-82049](https://osv.dev/vulnerability/BIT-PYTHON-2026-82049), Apache-2.0, modified 2026-10-13
- Bitnami Vulnerability Database: [BIT-PYTHON-MIN-2026-82049](https://osv.dev/vulnerability/BIT-PYTHON-MIN-2026-82049), Apache-2.0, modified 2026-10-13

---

Page: https://cve.day/CVE-2026-82049 · Whole record: https://cve.day/CVE-2026-82049.json · Rebuilt by cve.day 2026-11-25T22:59:38.345Z
