CVE-2026-82049
tarfile extraction filters allow file modification and content disclosure via hard link to symlink
- State
- Published
- Severity
- 8.4 High
- Published
- Sep 14, 2026
- Updated
- Oct 11, 2026
- Reserved
- Aug 27, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 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 | PSF |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
CPythonPython Software Foundation |
|
References
- https://github.com/python/cpython/commit/5a57248b22ad3b9aafcaaadae2c304a1923daecapatch
- https://github.com/python/cpython/issues/157190issue-tracking
- https://github.com/python/cpython/pull/157191patch
- https://mail.python.org/archives/list/security-announce@python.org/thread/EFJWGAZJA56AKSBR2WHMHQZO7RRLZPRH/vendor-advisory
- https://github.com/python/cpython/commit/b38be2e6cf9d989075ab73412c63e003ebad4ff3patch
- https://github.com/python/cpython/commit/b8f23e307097552eaea2604383a12ab280520d0dpatch
- https://github.com/python/cpython/commit/197663d63afed27f66e10e23c194e8a634e60913patch
- https://github.com/python/cpython/commit/28f315486b3da0352b9a1de1c3c97f4127ba4771patch
- https://github.com/python/cpython/commit/c66df4e70435d257fd488b35ea129c6f317433a8patch
- https://github.com/python/cpython/commit/cc1689830c6b9aaddded2fb9f2fe8116867e2c0epatch
- https://github.com/python/cpython/commit/cccc7ec30212dba2abef53ce4a2bed112ddb690cpatch
- http://www.openwall.com/lists/oss-security/2026/09/14/27
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.