Path Traversal in Keras-Team Keras-Team/keras
CVE-2026-12479
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.004 (29.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 30th percentile — 29.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
- Keras-Team Keras-Team/keras — versions unspecified
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-12479?
- CVE-2026-12479 is a medium-severity vulnerability in Keras-Team Keras-Team/keras, classified under Path Traversal. CVSS score: 6.1/10. Published 2026-06-22.
- How severe is CVE-2026-12479?
- Medium severity. CVSS v3 base score is 6.1 out of 10.