Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2025-12060

Score8.9 High
CVSS 4.0
Exploit probability (EPSS)0.76%
within the next 30 days
CategoryAccess control & privilege
Published30 October 2025
Last modified: 19 October 2026

In short

This vulnerability can be exploited remotely over the network, with a regular user account, with user interaction.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

Weakness type: Path traversal.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

The keras.utils.get_file API in Keras, when used with the extract=True option for tar archives, is vulnerable to a path traversal attack. The utility uses Python's tarfile.extractall function without the filter="data" feature. A remote attacker can craft a malicious tar archive containing special symlinks, which, when extracted, allows them to write arbitrary files to any location on the filesystem outside of the intended destination folder. This vulnerability is linked to the underlying Python tarfile weakness, identified as CVE-2025-4517. Note that upgrading Python to one of the versions that fix CVE-2025-4517 (e.g. Python 3.13.4) is not enough. One additionally needs to upgrade Keras to a version with the fix (Keras 3.12).

CVSS: 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

Weakness: CWE-22 – Path traversal

Sources

Latest in the same category

  • CVE-2026-140052 Medium 5.5
    A vulnerability was identified in g-mr SmartCall up to 1.0.9. This vulnerability affects the function token of the file smart-maxkb/src/main/java/com/qidiangk/smart/maxkb/controller/TokenController.java of the…
    Access control & privilege · 1 December 2026
  • CVE-2026-140051 Medium 5.5
    A vulnerability was found in g-mr SmartCall 1.0.9. Affected by this issue is the function online of the file smart-upms/smart-user/src/main/java/com/qidiangk/smart/user/controller/UserController.java of the component…
    Access control & privilege · 1 December 2026
  • CVE-2026-119006 Medium 5.1
    Permission control vulnerability in the network management module. Impact: Successful exploitation of this vulnerability may affect availability.
    Access control & privilege · 1 December 2026
  • CVE-2026-121477 Low 3.8
    A flaw was found in openpgp-cert-d. When reading a certificate, the component opens and reads the certificate file without verifying whether it is a symbolic link. In an environment where a certificate directory is…
    Access control & privilege · 1 December 2026
  • CVE-2026-121476 Low 3.8
    A flaw was found in openpgp-cert-d. When updating a certificate, the application opens the certificate file for writing without checking for symbolic links (symlinks). In environments where a certificate directory is…
    Access control & privilege · 1 December 2026
  • CVE-2026-121475 Low 3.8
    A flaw was found in openpgp-cert-d. When acquiring a write lock, the application opens and truncates the lock file without verifying whether it is a symbolic link (a reference pointing to another file). In environments…
    Access control & privilege · 1 December 2026