tarfile.tar_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() with filter="tar" to write files outside the destination directory, subject to the permissions of the extracting process. This is the tarfile.tar_filter counterpart of CVE-2026-7774, which covered tarfile.data_filter.
Fix
Microsoft's update · Moderate
- Release Notes — azl3 python3 3.12.14-2 on Azure Linux 3.0 · build 3.12.16-1
From the 2026-Oct release note of Microsoft's Security Update Guide, revised 2026-10-29.
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 11
- StatusAwaiting Analysis → PublishedNVD modified 2026-10-27 00:36
- StatusPublished → Awaiting AnalysisNVD modified 2026-10-27 01:19
- StatusAwaiting Analysis → PublishedNVD modified 2026-10-26 00:37
- References+3 references (now 9)NVD modified 2026-10-26 01:17
- StatusPublished → Awaiting AnalysisNVD modified 2026-10-26 01:17
- StatusAwaiting Analysis → PublishedNVD modified 2026-10-26 00:37
- StatusReceived → Awaiting AnalysisNVD modified 2026-10-23 16:44
- References+3 references (now 6)NVD modified 2026-10-23 01:16
- StatusPublished → ReceivedNVD modified 2026-10-23 01:16
- StatusReceived → PublishedNVD modified 2026-10-22 20:57
- First seenCVSS 6.9NVD modified 2026-10-22 21:17
Affected (CPE criteria) 0
NVD has not attached CPE configurations yet.
References 9
- https://github.com/python/cpython/commit/04d8fca7da2cf3ebc0881fec8a53a1330c3b665d
- https://github.com/python/cpython/commit/0901ad4ffb22605f12b705d1c1197f0a01f0ba0b
- https://github.com/python/cpython/commit/bc93f8ad4c4a0f92d184ec8fccc8ff8a651dcec2
- https://github.com/python/cpython/commit/c6ada40177436e4e2533a7b252082b5f0c043477
- https://github.com/python/cpython/commit/e7e0b3523ad6ba8472873dda594cf4021a16f8b5
- https://github.com/python/cpython/commit/f4401da82e2baec5dab06cf070fbca77d53220f0
- https://github.com/python/cpython/issues/160097
- https://github.com/python/cpython/pull/160098
- https://mail.python.org/archives/list/[email protected]/thread/43JOWPRAV5DI3VZ4FUEUAZOHCATXXOCK/