Path Traversal in keras-team/keras (keras-team keras-team/keras)
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
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L | @huntr_ai |
| CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L | NVD · security@huntr.dev (Secondary) |
Avis
- GHSA-gh82-f9x8-5frx — Keras: DiskIOStore permits path traversal through crafted layer names
- PYSEC-2026-3632 — Keras: DiskIOStore permits path traversal through crafted layer names
Références européennes
- ENISA EUVD · EUVD-2026-38265
- GCVE · GCVE-0-2026-12479
Produits affectés
| Produit | Versions |
|---|---|
| keras-team · keras-team/keras | affected unspecified ≤ latest |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |