PT-2025-44433 · Keras+1 · Keras+1
Krishna Gudimetla
·
Published
2025-10-30
·
Updated
2025-11-28
·
CVE-2025-12060
CVSS v4.0
8.9
High
| Vector | AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
Name of the Vulnerable Software and Affected Versions
Keras (affected versions not specified)
Description
The
keras.utils.get file API in Keras is susceptible to a path traversal issue when the extract=True option is used with tar archives. The utility employs Python’s tarfile.extractall function without utilizing the filter="data" feature. An attacker can create a malicious tar archive with specially crafted symlinks. Extracting this archive allows the attacker to write arbitrary files to locations outside the intended destination folder on the filesystem. This issue stems from a weakness in the underlying Python tarfile functionality.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Debian
Keras