AI and data stack advisories

Severe, 6 weeks1498Projects326

1498 severe, 6 weeks · 326 projects

KerasGHSA-cvhh-q5g5-qprp

Keras framework vulnerable to deserialization of untrusted data

Keras

CVE-2025-49655 · Published Oct 17, 2025 · updated Oct 27, 2026

Critical9.8
Fix: upgrade to 3.11.3 or later
GitHub advisory

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.

Affected versions

PackageAffectedFixed in
keras
PyPI
>= 3.11.0, < 3.11.33.11.3
Details and references

More Keras advisories

All Keras