CVE-2026-11816
Last modified
CVE-2026-11816 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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. EPSS estimates a 0.56% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Keras | Keras | < 3.14.0 |
References
- https://huntr.com/bounties/a07e3983-7158-4419-af2b-38f1dea01a4fExploit, Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2026-11816Mitigation, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2487912Third Party Advisory
- https://huntr.com/bounties/a07e3983-7158-4419-af2b-38f1dea01a4fExploit, Third Party Advisory
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-11816.jsonThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-11816?
How severe is CVE-2026-11816?
How do I fix CVE-2026-11816?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-118150Authorization bypass through user-controlled key in Microsof…8.8
- CVE-2026-118151External control of file name or path in Microsoft Exchange …7.2
- CVE-2026-118152Cross-site request forgery (csrf) in Microsoft Exchange Serv…6.5
- CVE-2026-118153Inefficient algorithmic complexity in Microsoft Exchange Ser…7.5
- CVE-2026-118154Reliance on untrusted inputs in a security decision in Micro…8.8
- CVE-2026-118157Weak authentication in Microsoft Exchange Server allows an a…7.2
- CVE-2026-118164The If-So Dynamic Content – Elementor & All Page Builders Pe…6.4
- CVE-2026-118165The Firelight Lightbox WordPress plugin before 2.3.23 does n…6.8
- CVE-2026-118166The MC4WP: Mailchimp for WordPress WordPress plugin before 4…4.8
- CVE-2026-118167The MC4WP: Mailchimp for WordPress plugin before 4.15.0 does…5.3
- CVE-2026-118168The MapPress WordPress plugin before 2.97.15 does not restr…5.3
- CVE-2026-118169The Hustle – Email Marketing, Lead Generation, Optins, Popup…4.9
Are you affected by CVE-2026-11816?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
