UTC
High

Keras vulnerable to CVE-2025-1550 bypass via reuse of internal functionality

CVE-2025-8747 · GHSA-c9rc-mg46-23w3 · published 2025-08-12 · updated 2026-05-29

Severity
High
CVSS score
8.8
Chance of exploitation (EPSS)
0.12%
Fixed in
3.11.0
  • Exploitation Public proof of concept
  • Automatable No
  • Technical impact Total
  • CISA SSVC
What it is

| Type | Vector |Impact| | -------- | ------- | ------- | |Unsafe deserialization |Client-Side (when loading untrusted model)|Arbitrary file overwrite. Can lead to Arbitrary code execution in many cases.|

What to do

Upgrade keras to 3.11.0 or later.

1. Add an additional flag blockalllambda that allows users to completely disallow loading models with a Lambda layer. 1. Audit the keras, kerashub, kerascv, kerasnlp modules and remove/block all “gadget functions” which could be used by malicious ML models. 1. Add an additional flag lambdawhitelist_functions that allows users to specify a list of functions that are allowed to be invoked by a Lambda layer

Affected
PackageRegistryAffectedFixed in
kerasPyPI>= 3.0.0, < 3.11.03.11.0

The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.

Sources: GitHub Advisory Database, reviewed and malware advisories (CC BY 4.0, https://github.com/advisories); advisories published by Cursor (https://github.com/cursor/cursor/security/advisories); advisories published by OpenClaw (https://github.com/openclaw/openclaw/security/advisories); advisories published by vLLM (https://github.com/vllm-project/vllm/security/advisories); advisories published by Open WebUI (https://github.com/open-webui/open-webui/security/advisories); advisories published by n8n (https://github.com/n8n-io/n8n/security/advisories); advisories published by Flowise (https://github.com/FlowiseAI/Flowise/security/advisories); advisories published by Langflow (https://github.com/langflow-ai/langflow/security/advisories); advisories published by the MCP Python SDK project (https://github.com/modelcontextprotocol/python-sdk/security/advisories); advisories published by MLflow (https://github.com/mlflow/mlflow/security/advisories); CISA Known Exploited Vulnerabilities catalog (CC0). Data as of 2026-11-22. ShieldMap describes how each problem works and how to fix it; it does not publish exploit code. Report a correction to [email protected].