CVE-2026-12479: keras-team keras-team/keras Path Traversal
Vulnerability summary
CVE-2026-12479 is a medium (CVSS 6.1) Path Traversal vulnerability in keras-team keras-team/keras. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 30.9% of scored vulnerabilities.
Timeline
- 22-06-2026PublishedVulnerability first disclosed.
- 22-06-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · PypiEcosystem advisory · calculated6.1MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
- OSV · DebianEcosystem advisory · calculated6.1MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
- NVDNIST6.1MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
EPSS trend
Probability
0.38%
Chance of exploitation in the next 30 days
Percentile
31%
Versus all other CVEs
30-day change
0.00 pp
From 0.38% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian1 product
- kerasAll versions (No fix recorded)
Keras-team1 product
- keras-team/keras≥ unspecified, ≤ latest
PyPI1 product
- keras< 3.12.3 | ≥ 3.13.0, < 3.15.0
Ubuntu1 product
- kerasAll versions (No fix recorded)
4 vendors · 4 products
References
12 links- github.com/keras-team/kerasPACKAGE
- pypi.org/project/kerasPACKAGE