Skip to main content
← All vulnerabilities
CVE-2026-12479GHSA-GH82-F9X8-5FRXPYSEC-2026-3632

Path Traversal in keras-team/keras

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.12.3, 3.15.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • keras-team keras-team/keras

    Version range not reported

  • kerasPyPI

    fixed in 3.12.3

  • kerasPyPI

    From 3.13.0 · fixed in 3.15.0

  • kerasPyPI

    fixed in 3.12.3; From 3.13.0 · fixed in 3.15.0

References 1

huntr.com