Path Traversal in keras-team/keras

Summary

CVECVE-2026-12479
StatePUBLISHED
Assigner@huntr_ai
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-06-22 16:16:33 UTC
Updated2026-06-22 18:16:32 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.0 6.1 MEDIUM from [email protected]

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Problem Types: CWE-22 | CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')


VersionSourceTypeScoreSeverityVector
3.0[email protected]Secondary6.1MEDIUMCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
3.0CNADECLARED6.1MEDIUMCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

CVSS v3.0 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Keras-team Keras-team/keras affected unspecified latest custom Not specified

References

ReferenceSourceLinkTags
huntr.com/bounties/188836b9-12fc-49c7-8dbf-04f60fe33743 134c704f-9b21-4f2e-91b3-4a467353bcc0 huntr.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report