CVE-2026-12479: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in keras-team keras-team/keras
CVE-2026-12479 is a path traversal vulnerability in keras-team/keras version 3.14.0 affecting the DiskIOStore.make method. It arises from improper sanitization of user-provided layer names used in directory path construction, allowing directory traversal sequences despite restrictions on forward slashes. This can enable an attacker to escape the intended temporary directory and perform unauthorized file system operations such as creating directories or writing files in arbitrary locations.
AI Analysis
Technical Summary
The vulnerability exists in keras-team/keras version 3.14.0 within the DiskIOStore.make method used for model saving and loading. User-supplied layer names are incorporated into directory paths without proper sanitization against parent directory components ('..'), enabling path traversal. Although forward slashes are restricted, directory traversal sequences are not, allowing crafted Keras models to escape the temporary working directory and perform unauthorized file system writes or directory creation outside the intended scope.
Potential Impact
An attacker can exploit this vulnerability by crafting malicious Keras models that, when saved or loaded, escape the designated temporary directory and write files or create directories arbitrarily on the file system. This can lead to limited confidentiality, integrity, and availability impacts as indicated by the CVSS vector (Confidentiality: Low, Integrity: Low, Availability: Low).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is currently documented. Until a fix is available, avoid loading or saving untrusted Keras models or restrict usage to trusted sources only.
CVE-2026-12479: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in keras-team keras-team/keras
Description
CVE-2026-12479 is a path traversal vulnerability in keras-team/keras version 3.14.0 affecting the DiskIOStore.make method. It arises from improper sanitization of user-provided layer names used in directory path construction, allowing directory traversal sequences despite restrictions on forward slashes. This can enable an attacker to escape the intended temporary directory and perform unauthorized file system operations such as creating directories or writing files in arbitrary locations.
CVSS v3.0
Score 6.1medium
Affected software
keras-team
keras-team/keras
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in keras-team/keras version 3.14.0 within the DiskIOStore.make method used for model saving and loading. User-supplied layer names are incorporated into directory paths without proper sanitization against parent directory components ('..'), enabling path traversal. Although forward slashes are restricted, directory traversal sequences are not, allowing crafted Keras models to escape the temporary working directory and perform unauthorized file system writes or directory creation outside the intended scope.
Potential Impact
An attacker can exploit this vulnerability by crafting malicious Keras models that, when saved or loaded, escape the designated temporary directory and write files or create directories arbitrarily on the file system. This can lead to limited confidentiality, integrity, and availability impacts as indicated by the CVSS vector (Confidentiality: Low, Integrity: Low, Availability: Low).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is currently documented. Until a fix is available, avoid loading or saving untrusted Keras models or restrict usage to trusted sources only.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- @huntr_ai
- Date Reserved
- 2026-06-17T00:28:44.653Z
- Cvss Version
- 3.0
- State
- PUBLISHED
Threat ID: 6a395729eed863c81e0537d6
Added to database: 06/22/2026, 15:39:21 UTC
Last enriched: 08/08/2026, 15:12:48 UTC
Last updated: 09/21/2026, 13:02:22 UTC
Views: 76
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.