CVE-2025-49655

keras: Keras deserialization of untrusted data

Published Oct 17, 2025 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
Deserialization of untrusted data can occur in versions of the Keras framework running versions 3.11.0 up to but not including 3.11.3, enabling a maliciously uploaded Keras file containing a TorchModuleWrapper class to run arbitrary code on an end user’s system when loaded despite safe mode being enabled. The vulnerability can be triggered through both local and remote files.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-cvhh-q5g5-qprp Keras framework vulnerable to deserialization of untrusted data
History
Type Values Removed Values Added
Title keras: Keras deserialization of untrusted data
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
First Time appeared Keras
Keras keras
Vendors & Products Keras
Keras keras
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Deserialization of untrusted data can occur in versions of the Keras framework running versions 3.11.0 up to but not including 3.11.3, enabling a maliciously uploaded Keras file containing a TorchModuleWrapper class to run arbitrary code on an end user’s system when loaded despite safe mode being enabled. The vulnerability can be triggered through both local and remote files.
Weaknesses CWE-502
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
HiddenLayer
Published
Updated
Oct 17, 2025, 3:58 PM
Reserved
Jun 9, 2025, 1:58 PM
Status
Deferred
Published
Oct 17, 2025, 4:15 PM
Modified
Oct 19, 2026, 4:10 PM
Severity
Important
Public date
Oct 17, 2025, 3:20 PM