Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-11816— Path Traversal in keras-team/keras

AI Predicted 7.5 Difficulty: Easy EPSS 0.56% · P44

Affected Version Matrix 1

VendorProductVersion RangeStatus
keras-teamkeras-team/kerasunspecified< 3.14.0affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-11816

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Path Traversal in keras-team/keras
Source: CVE Program / CVE List V5
Vulnerability Description
Keras versions prior to 3.14.0 are vulnerable to a path traversal issue in the archive extraction utilities located in `keras/src/utils/file_utils.py`. The functions `filter_safe_tarinfos()` and `filter_safe_zipinfos()` validate archive member paths against the process current working directory (CWD) instead of the actual extraction destination. When the process runs with CWD set to `/`, which is common in Docker containers, CI/CD runners, and Jupyter environments, the validation boundary becomes the filesystem root, allowing traversal paths to bypass the security check. Additionally, the zip filter contains a bug that causes an `AttributeError` when a blocked entry is encountered, leading to incomplete extraction. Furthermore, Python 3.11 installations lack the `filter="data"` safety net, leaving them entirely reliant on the flawed CWD-based filter. Exploitation of this vulnerability can result in arbitrary file writes outside the intended extraction directory, enabling attackers to overwrite configuration files, inject malicious code, or corrupt machine learning datasets and pipelines.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Keras 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Keras是Keras开源的一个多后端深度学习框架。 Keras 3.14.0之前版本存在路径遍历漏洞,该漏洞源于归档提取工具中路径遍历问题,filter_safe_tarinfos()和filter_safe_zipinfos()函数验证归档成员路径时使用进程当前工作目录而非实际提取目标,可能导致任意文件写入目标目录之外,攻击者可覆盖配置文件、注入恶意代码或破坏机器学习数据集和管道。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
keras-teamkeras-team/keras unspecified ~ 3.14.0 -

II. Public POCs for CVE-2026-11816

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-11816

登录查看更多情报信息。

Patches & Fixes for CVE-2026-11816 (1)

Vendor Advisories for CVE-2026-11816 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-11816

No comments yet


Leave a comment