9.8

CVE-2025-1550: google keras Code Injection

CVSS: 9.8v3.1CriticalAnalyzed
AliasesGHSA-48g7-3x6r-xfhpPYSEC-2025-122UBUNTU-CVE-2025-1550
Published 11-03-2025Last modified 24-07-2025

Vulnerability summary

CVE-2025-1550 is a critical (CVSS 9.8) Code Injection vulnerability in google keras. EPSS estimates a 2.63% chance of exploitation in the next 30 days, higher than 85.2% of scored vulnerabilities. 2 public exploits are recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
2.63%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2reference, exploit-database

Advisory lineage

Upstream 0 · Downstream 0 · Related 2

Timeline

  1. 11-03-2025
    PublishedVulnerability first disclosed.
  2. 24-07-2025
    Last modifiedVulnerability information updated.

Description

The Keras Model.load_model function permits arbitrary code execution, even with safe_mode=True, through a manually constructed, malicious .keras archive. By altering the config.json file within the archive, an attacker can specify arbitrary Python modules and functions, along with their arguments, to be loaded and executed during model loading.

CVSS metrics

8 scores · 6 sources · 2 versions

EPSS trend

Probability

2.63%

Chance of exploitation in the next 30 days

Percentile

85%

Versus all other CVEs

30-day change

0.00 pp

From 2.63% on 18-09-2026

18-09-202618-10-2026
EPSS score
2.63%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

2 found
  • referenceUnverified

    Exploit Reference (towerofhanoi.it)

    Maturity: unknown

  • exploit-databaseremotepythonUnverified

    Keras 2.15 - Remote Code Execution (RCE)

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Chainguard1 product
  • kubeflow-pipelines-visualization-server< 2.4.1-r2
Google1 product
Keras1 product
PyPI1 product
  • keras≥ 3.0.0, < 3.9.0 | ≥ 3.0.0, < 3.8.0
Ubuntu1 product
  • kerasAll versions (No fix recorded)
Wolfi1 product
  • kubeflow-pipelines-visualization-server< 2.4.1-r2

6 vendors · 6 products

References

14 links
Show all 14 references