← Übersicht Nicht im beobachteten Stack

Keras keras.utils.get_file Utility Path Traversal Vulnerability

CVE-2025-12060 · AZL-69472 · CLSA-2026-1778633122 · CLSA-2026-1787149068 · DEBIAN-CVE-2025-12060 · GHSA-hjqc-jx6g-rwp9 · PYSEC-2026-1486 · UBUNTU-CVE-2025-12060

Kritisch · CVSS 9.8 Ubuntu: mediumRed Hat: Important Netzwerk · ohne Login Kein Fix bekannt

Veröffentlicht
30.10.2025 18:10
Zuletzt geändert
19.11.2026
EPSS (30 Tage)
0.6 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Beschreibung

Originaltext der Quelle, nicht übersetzt.

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).

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 3 behoben, 5 nicht betroffen.

Red Hat OpenShift AI 2.16 Behoben rhoai RHSA-2026:5807
Red Hat OpenShift AI 2.22 Behoben rhoai RHSA-2025:22759
Red Hat OpenShift AI 2.25 Behoben rhoai RHSA-2025:23531
Nicht betroffen (5)
Red Hat Ansible Automation Platform 2Nicht betroffenverwundbarer Code nicht enthaltenansible-automation-platform-26/lightspeed-chatbot-rhel9
Red Hat OpenShift AI 2.16Nicht betroffenverwundbarer Code nicht enthaltenrhoai
Red Hat OpenShift AI 2.22Nicht betroffenverwundbarer Code nicht enthaltenrhoai
Red Hat OpenShift AI 2.25Nicht betroffenverwundbarer Code nicht enthaltenrhoai
Red Hat Trusted Artifact SignerNicht betroffenverwundbarer Code nicht enthaltenrhtas/model-transparency-rhel9
Weitere betroffene Pakete (9)
Azure Linux:3keras3.3.3-5AZL-69472
CVEKeras/Keraskein Fix bekanntCVE-2025-12060
Debian:11keraskein Fix bekanntDEBIAN-CVE-2025-12060
PyPIkeras3.12.0GHSA-hjqc-jx6g-rwp9
PyPIkeras3.12.0PYSEC-2026-1486
TuxCare:PyPIkeras2.15.0.post1+tuxcareCLSA-2026-1778633122
TuxCare:PyPIkeras2.15.0.post0 → 2.15.0.post2+tuxcareCLSA-2026-1787149068
Ubuntu:18.04:LTSkeraskein Fix bekanntUBUNTU-CVE-2025-12060
Ubuntu:20.04:LTSkeraskein Fix bekanntUBUNTU-CVE-2025-12060

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.