CVE-2025-12060 is a path traversal vulnerability in the Keras keras.utils.get_file API when extracting tar archives with the 'extract=True' option. This flaw allows a remote attacker to write arbitrary files to any filesystem location by crafting a malicious tar archive containing special symlinks. Rated 8.9 HIGH on CVSS, the vulnerability has a low attack complexity and can lead to high impact across confidentiality, integrity, and availability. While it stems from an underlying Python tarfile weakness (CVE-2025-4517), upgrading Python alone is insufficient; Keras must also be updated to version 3.12. There is currently no evidence of active exploitation, public exploit code, or significant community discussion.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
>= 3.0.0, <= 3.11.3CPE match | cpe:2.3:a:keras:keras:*:*:*:*:*:*:*:* |
CVSS version used by this source: 4.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.3 Bluesky, 0.1 Mastodon, and 0.1 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.