Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-12482: A vulnerability in keras-team/keras version 3.12.0 allows an attacker to craft a malicious tar archive that by

39
This week
MEDIUM 6.5REMOTEDOWNGRADE

CVE-2026-12482 is a medium-severity flaw (CVSS 6.5) affecting keras. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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

Why this priority

  • Public exploit reference
  • Remotely exploitable, no login, no user action

No fix is published yet: follow the downgrade or mitigation steps.

Risk facts

CVSS score6.5 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.3% (top 75%)
CISA exploited listNo
WeaknessCWE-22
Published2026-07-14
Last modified2026-10-24
Publisher (CNA): huntr.dev · Vendor: keras

Share: LinkedIn · X · Reddit

Last updated 2026-10-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

keras keras DOWNGRADE
Affected: 3.12.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 3.12.0
1. Check installed version
apt-cache policy keras || rpm -q keras || keras --version
2. No fixed release: DOWNGRADE to a release before 3.12.0 (Debian / Ubuntu)
apt-cache madison keras sudo apt install keras=<VERSION_BEFORE_3.12.0> sudo apt-mark hold keras
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list keras sudo dnf downgrade keras-<VERSION_BEFORE_3.12.0> sudo dnf versionlock add keras
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-12482?

keras: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2026-12482 being exploited?

CVE-2026-12482 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-12482 affect?

CVE-2026-12482 affects keras. Severity is medium (CVSS 6.5). 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 t

How urgent is CVE-2026-12482?

Priority 39/100. Public exploit reference; Remotely exploitable, no login, no user action

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.