Path Traversal Vulnerability in Keras by Keras Team
CVE-2025-12060
What is CVE-2025-12060?
The Keras API's get_file function presents a security weakness when extracting tar archives with the extract=True option, enabling potential path traversal attacks. The vulnerability arises due to the use of Python's tarfile.extractall without proper filtering, allowing an attacker to design a malicious tar file that can create symlinks. This flaw can permit unauthorized file writing outside of the intended directories, compromising the filesystem's integrity. Users are advised to update to Keras version 3.12 to mitigate this risk and further secure their applications.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
Keras 3.0.0 <= 3.11.3
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
