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.
https://mail.python.org/archives/list/[email protected]/thread/EFJWGAZJA56AKSBR2WHMHQZO7RRLZPRH/
https://github.com/python/cpython/pull/157191
https://github.com/python/cpython/issues/157190
https://github.com/python/cpython/commit/b8f23e307097552eaea2604383a12ab280520d0d
https://github.com/python/cpython/commit/b38be2e6cf9d989075ab73412c63e003ebad4ff3
https://github.com/python/cpython/commit/5a57248b22ad3b9aafcaaadae2c304a1923daeca
Published: 2026-09-14
Updated: 2026-09-16
Base Score: 1.9
Vector: CVSS2#AV:L/AC:M/Au:N/C:N/I:P/A:N
Severity: Low
Base Score: 5
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
Severity: Medium
Base Score: 8.4
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
Severity: High
EPSS: 0.00182