HighVulnerability
CVE-2026-12482: keras-team/keras tar extraction allows symlinks outside extraction directory
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-12482
- Published
- Record updated
- Affected
- keras < 3.12.3, fixed in 3.12.3
- keras >= 3.13.0, < 3.15.0, fixed in 3.15.0
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.3%
Summary
CVE-2026-12482 affects keras-team/keras version 3.12.0. A crafted tar archive can bypass the `filter_safe_tarinfos` validation in `keras/src/utils/file_utils.py`, because symlink entries skip the `is_path_in_dir` check applied to regular files. Symlinks can then be created outside the extraction directory, enabling symlink-based file read, file overwrite, or directory escape. The source says the impact is greatest on Python 3.10 and 3.11, where this filter is the sole defense against tar path traversal.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
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
- InfoResearchers Used a Public OpenAI Model to Build a $250,000 Chrome Full-Chain Exploit in Six DaysSimilar attack · The Hacker News
- MediumAn AI Agent Found a Critical OTP Bypass in Production. The Attack Was the Easy Part.Similar attack · The Hacker News
- LowFBI arrests Saudi OpenAI employee who allegedly planted recording device in conference roomSimilar attack · CNBC Technology
- MediumVisual Studio Copilot and SSMS Remote Code Execution (CVE-2026-103572)Similar attack · Embrace The Red
- LowAnthropic warns self-replicating AI could spread to your smart devicesSimilar attack · BleepingComputer