ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2026-3407

Amazon Linux 2023 - ALAS2023-2026-3407: Medium priority package update for python3.13

Details

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.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2023python3.13
All versions before 3.13.18-1.amzn2023.0.1 (fixed in 3.13.18-1.amzn2023.0.1)
Amazon Linux:2023python3.13-debug
All versions before 3.13.18-1.amzn2023.0.1 (fixed in 3.13.18-1.amzn2023.0.1)
Amazon Linux:2023python3.13-debuginfo
All versions before 3.13.18-1.amzn2023.0.1 (fixed in 3.13.18-1.amzn2023.0.1)
Amazon Linux:2023python3.13-debugsource
All versions before 3.13.18-1.amzn2023.0.1 (fixed in 3.13.18-1.amzn2023.0.1)
Amazon Linux:2023python3.13-devel
All versions before 3.13.18-1.amzn2023.0.1 (fixed in 3.13.18-1.amzn2023.0.1)
Amazon Linux:2023python3.13-freethreading
All versions before 3.13.18-1.amzn2023.0.1 (fixed in 3.13.18-1.amzn2023.0.1)
Amazon Linux:2023python3.13-freethreading-debug
All versions before 3.13.18-1.amzn2023.0.1 (fixed in 3.13.18-1.amzn2023.0.1)
Amazon Linux:2023python3.13-idle
All versions before 3.13.18-1.amzn2023.0.1 (fixed in 3.13.18-1.amzn2023.0.1)
Amazon Linux:2023python3.13-libs
All versions before 3.13.18-1.amzn2023.0.1 (fixed in 3.13.18-1.amzn2023.0.1)
Amazon Linux:2023python3.13-test
All versions before 3.13.18-1.amzn2023.0.1 (fixed in 3.13.18-1.amzn2023.0.1)
Amazon Linux:2023python3.13-tkinter
All versions before 3.13.18-1.amzn2023.0.1 (fixed in 3.13.18-1.amzn2023.0.1)

References