Skip to main content
EPSS 0.4%top 68%

CVE-2026-12479: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in keras-team keras-team/keras

0
Medium
Published: 06/22/2026 (06/22/2026, 18:34:13 UTC)
Source: CVE Database V5
Vendor/Project: keras-team
Product: 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

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

Affected software

keras-team

keras-team/keras

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/08/2026, 15:12:48 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses