CVE-2026-82049

NameCVE-2026-82049
DescriptionIn 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pypy3 (PTS)bookworm7.3.11+dfsg-2+deb12u3fixed
trixie7.3.19+dfsg-2vulnerable
forky, sid8.0.0+dfsg-1vulnerable
python3.11 (PTS)bookworm3.11.2-6+deb12u8fixed
bookworm (security)3.11.2-6+deb12u3fixed
python3.13 (PTS)trixie3.13.5-2+deb13u5vulnerable
forky, sid3.13.15-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pypy3sourcebookworm(not affected)
pypy3source(unstable)(unfixed)
python3.11source(unstable)(not affected)
python3.13source(unstable)(unfixed)

Notes

[trixie] - python3.13 <no-dsa> (Minor issue)
- python3.11 <not-affected> (extraction filters (PEP 706) absent in 3.11.2)
[trixie] - pypy3 <no-dsa> (Minor issue)
[bookworm] - pypy3 <not-affected> (extraction filters (PEP 706) absent in stdlib 3.9.16)
https://github.com/python/cpython/issues/157190
https://github.com/python/cpython/pull/157191
https://github.com/python/cpython/pull/157262 (3.15)
https://github.com/python/cpython/pull/157261 (3.14)
https://github.com/python/cpython/pull/157192 (3.13)
https://github.com/python/cpython/commit/b8f23e307097552eaea2604383a12ab280520d0d (3.13 branch)
https://github.com/python/cpython/pull/157454 (3.12)
Fixed by changes in Python 3.14, some followup changes for 3.15/3.16, but without security impact
Same code situation as with CVE-2025-4435.

Search for package or bug name: Reporting problems