Exploit database

Vulnerability

CVE-2025-1550

Arbitrary Code Execution via Crafted Keras Config for Model Loading

Vulnerability details

Score
7.3
Severity
high

CVSS 4.0 · Google

Vector string

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

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.

CVE Program

Exploit source choices

2 sources
chch0i/cve-2025-1550
GH-c6a5dd5dad7c117b9c4468f82f06c758GitHubUnofficial GitHub source

chch0i/cve-2025-1550 source repository

2025-10-245 files · 0 stars