Summary
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-12345: The cleanup of tempfile.TemporaryDirectory is vulnerable to a race condition. An attacker who can modify the tree during cleanup can replace a directory with a symbolic link, causing files outside of the temporary directory to be deleted or have their permissions and file flags reset, with the privileges of the process performing the cleanup. Note that platforms where shutil.rmtree.avoids_symlink_attacks is false, remain affected, and file flags may still be reset outside of the tree on all platforms. CVE-2026-115557: Python has added a denylist for known compromised certificates to the "ssl" module to ensure user safety even without certificate revocation configured. Known compromised certificates will automatically be rejected regardless of the SSLContext policy configuration. CVE-2026-114583: 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.
Fixed packages 9
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2023 | python3.12 | 0:3.12.16-2.amzn2023.0.1 |
| Amazon Linux · 2023 | python3.12-debug | 0:3.12.16-2.amzn2023.0.1 |
| Amazon Linux · 2023 | python3.12-debuginfo | 0:3.12.16-2.amzn2023.0.1 |
| Amazon Linux · 2023 | python3.12-debugsource | 0:3.12.16-2.amzn2023.0.1 |
| Amazon Linux · 2023 | python3.12-devel | 0:3.12.16-2.amzn2023.0.1 |
| Amazon Linux · 2023 | python3.12-idle | 0:3.12.16-2.amzn2023.0.1 |
| Amazon Linux · 2023 | python3.12-libs | 0:3.12.16-2.amzn2023.0.1 |
| Amazon Linux · 2023 | python3.12-test | 0:3.12.16-2.amzn2023.0.1 |
| Amazon Linux · 2023 | python3.12-tkinter | 0:3.12.16-2.amzn2023.0.1 |
Vulnerabilities 3
-
Critical 9.4
Distrust compromised intermediate certificates in ssl module
Python has added a denylist for known compromised certificates to the "ssl" module to ensure user safety even without certificate revocation configured. Known compromised certificates will automatically be rejected regardless of the SSLContext policy configur…
-
Medium 6.9
tar filter allows writing outside destination via empty-named symlink
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.extracta…
-
Medium 5.9CVE-2026-12345 Public exploit
Race condition in tempfile.TemporaryDirectory cleanup allows deleting files outside the temporary directory
The cleanup of tempfile.TemporaryDirectory is vulnerable to a race condition. An attacker who can modify the tree during cleanup can replace a directory with a symbolic link, causing files outside of the temporary directory to be deleted or have their permiss…