nday
CVE-2025-1550

Arbitrary Code Execution via Crafted Keras Config for Model Loading

Google / Keras

A public PoC appeared 127 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: exploitdb. Not in CISA KEV.

tags weakness typecode injection accesslocal exploitationExploit-DB
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

code injection
CWE-94, stated by the CNA Google and NVD, republishing [email protected]
local
AV:L in CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H (CVSS 4.0) from the CNA Google
Exploit-DB
Exploit-DB entries 52359
stage
POC
disclosed
disclosure → PoC
T+127d POC is date-only
cvss
7.3 HIGH v4.0

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2025-03-11T08:12Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2025-07-16, date only
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:L
Local: needs a local or SSH session, or a user tricked into acting on the machine
Attack complexity AC:L
Low: no target-specific security measures to get around
Attack requirements AT:P
Present: success depends on specific deployment or execution conditions, such as a race condition, a non-default setting or a position on the network path
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:A
Active: a user must deliberately do something specific, such as install or run a file or dismiss a warning

CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

CVSS 4.0 vector from the CVE record, scored by the CNA Google.

Event log

+DISdisclosed

CVE record published by Google. CVSS 7.3, high. CISA's SSVC assessment rates exploitation as poc.

src cvelist · nday , bulk import · raw
{
  "id": 60284,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2025-1550",
  "occurred_at": "2025-03-11T08:12:34.974Z",
  "observed_at": "2026-11-12T17:00:49.411818Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H",
      "version": "4.0",
      "base_score": 7.3,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2025-07-24T15:28:37.159599Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2025-03-11T08:12:34.974Z",
    "assigner_short_name": "Google"
  }
}
2025-07-16date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Keras 2.15 - Remote Code Execution (RCE)” (EDB-52359).

src exploitdb 52359 · nday , bulk import · raw
{
  "id": 42268,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/52359",
  "occurred_at": "2025-07-16T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "52359",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/52359",
    "file": "exploits/python/remote/52359.py",
    "kind": "exploit",
    "tags": [],
    "type": "remote",
    "title": "Keras 2.15 - Remote Code Execution (RCE)",
    "author": "Mohammed Idrees Banyamer",
    "edb_id": 52359,
    "cve_ids": [
      "CVE-2025-1550"
    ],
    "platform": "python",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2025-07-16",
    "date_updated": "2025-07-16",
    "date_published": "2025-07-16"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.