CVE-2026-12479 Details
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.
A path traversal vulnerability exists in Keras version 3.14.0, specifically within the DiskIOStore.make method. This issue arises from improper handling of user-provided layer names, which are used to create directory paths without proper sanitization against parent directory components. While Keras restricts forward slashes in layer names, it does not prevent directory traversal sequences. As a result, an attacker can craft a malicious Keras model that, when saved or loaded, escapes the designated temporary working directory and executes unauthorized file system operations, such as creating directories or writing files in arbitrary locations.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 22, 2026CISA-ADP
Assessed Jun 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://huntr.com/bounties/188836b9-12fc-49c7-8dbf-04f60fe33743 | CISA-ADP | ExploitTechnical Description |
| https://huntr.com/bounties/188836b9-12fc-49c7-8dbf-04f60fe33743 | [email protected] | ExploitTechnical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| keras-team/keras | 3.14.0 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jun 22, 2026 | CVE Modified | CISA-ADP |
| Jun 22, 2026 | New CVE Received | [email protected] |
Volerion