Path Traversal in keras-team/keras (keras-team keras-team/keras)

CVE-2026-12479
MEDIUM 6.1

En bref

Source
NVD
EPSS
EPSS 0.36 % · centile 30 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
@huntr_ai
Statut NVD
Deferred

Description

A path traversal vulnerability exists in keras-team/keras version 3.14.0, specifically in the `DiskIOStore.make` method within the Keras 3 model saving and loading library. This vulnerability arises from the improper handling of user-provided layer names, which are used to construct directory paths without sanitizing for parent directory components (`..`). While forward slashes (`/`) are restricted in layer names, directory traversal sequences are not. This allows an attacker to craft a malicious Keras model that, when saved or loaded, can escape the intended temporary working directory and perform unauthorized file system operations, such as creating directories or writing files in arbitrary locations.

Faiblesses (CWE)

  • CWE-22 — Traversée de répertoire

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.0MEDIUM 6.1CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L@huntr_ai
CVSS 3.0MEDIUM 6.1CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:LNVD · security@huntr.dev (Secondary)

Avis

Références européennes

Produits affectés

ProduitVersions
keras-team · keras-team/kerasaffected unspecified ≤ latest

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD