PYSEC-2026-368

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/keras/PYSEC-2026-368.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-368
Aliases
Published
2026-06-29T11:50:37.095983Z
Modified
2026-07-01T20:22:55.074992Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Keras framework vulnerable to deserialization of untrusted data
Details

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.

References

Affected packages

PyPI / keras

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.11.0
Fixed
3.11.3

Affected versions

3.*
3.11.0
3.11.1
3.11.2

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/keras/PYSEC-2026-368.yaml"