CVE-2026-11816: Keras path traversal in archive extraction utilities
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-11816
- Published
- Record updated
- Affected
- keras < 3.14.0
- Fixed in
- 3.14.0
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.6%
Summary
Keras versions prior to 3.14.0 contain a path traversal flaw in the archive extraction utilities in `keras/src/utils/file_utils.py`. The functions `filter_safe_tarinfos()` and `filter_safe_zipinfos()` check archive member paths against the process current working directory instead of the extraction destination, so when the working directory is `/`, as is common in Docker containers, CI/CD runners and Jupyter environments, traversal paths bypass the check. An attacker can cause arbitrary file writes outside the extraction directory, enabling overwrites of configuration files, malicious code injection or corruption of machine learning datasets and pipelines.
Mitigation
Fixed in 3.14.0.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- kerasPyPINo LLM dependency detected · 6 tracked dependents
Related items
- CriticalCVE-2026-90970: GitLab AI Gateway prompt template sandbox escape via crafted flow configurationSame vendor · NVD/CVE Database
- MediumCVE-2026-89278: GPTranslate WordPress plugin exposes plaintext API key to unauthenticated usersSame vendor · NVD/CVE Database
- CriticalCVE-2026-19407: Google Cloud Gemini Enterprise Agent Platform SDK for Python bucket squattingSame vendor · NVD/CVE Database
- HighCVE-2026-19486: A Server-Side Request Forgery (SSRF) vulnerability in Google Cloud Gemini Enterprise Agent Platform App Builder…Same vendor · NVD/CVE Database
- HighCVE-2026-13745: Gemini CLI code execution via untrusted .env files overriding GEMINI_CLI_HOMESame vendor · NVD/CVE Database