
CVE catalog
CVE-2026-12482
UBUNTU-CVE-2026-12482
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.33% · Oct 25, 2026
A vulnerability in keras-team/keras version 3.12.0 allows an attacker to craft a malicious tar archive that bypasses the `filter_safe_tarinfos` validation in `keras/src/utils/file_utils.py`. Specifically, symlink entries are not subjected to the same `is_path_in_dir` validation as regular file entries, allowing symlinks to be created outside the intended extraction directory. This can lead to symlink-based file read, file overwrite, or directory escape attacks. The issue is particularly impactful on Python 3.10 and 3.11, where `filter_safe_tarinfos` is the sole defense against tar path traversal. This vulnerability is distinct from CVE-2025-12060 and other previously reported issues.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | keras | 11 | 2.3.1+dfsg-3 | vulnerable |
| Debian | keras | 11 | 2.3.1+dfsg2-1 | vulnerable |
| Ubuntu | keras | 18.04 | 1.0.7-2 | vulnerable |
| Ubuntu | keras | 18.04 | 2.1.1-1 | vulnerable |
| Ubuntu | keras | 20.04 | 2.2.4-1 | vulnerable |
| Cpe | keras | Not reported | Not reported | unknown |
Fixed-version evidence
OpenFactory catalog packages
No matching packages in this catalog.
Observed:
References
- [https://huntr.com/bounties/5d3638e8-a9f6-4964-a865-ddb9fe4d4b6e]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-12482]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-12482]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-12482]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12482.json]
[FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]