SCA: security update for keras (GHSA-36rr-ww3j-vrjv)

high Tenable Self-Hosted Container Security Plugin ID 442728

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- The Keras Model.load_model method can be exploited to achieve arbitrary code execution, even with
safe_mode=True. One can create a specially crafted .h5/.hdf5 model archive that, when loaded via
Model.load_model, will trigger arbitrary code to be executed. This is achieved by crafting a special .h5
archive file that uses the Lambda layer feature of keras which allows arbitrary Python code in the form of
pickled code. The vulnerability comes from the fact that the safe_mode=True option is not honored when
reading .h5 archives. Note that the .h5/.hdf5 format is a legacy format supported by Keras 3 for backwards
compatibility. (CVE-2025-9905)

Solution

Update the keras library and its related packages to version 3.11.3 or later.

See Also

https://github.com/advisories/GHSA-36rr-ww3j-vrjv

Plugin Details

Severity: High

ID: 442728

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 6/6/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 97.07

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2025-9905

CVSS v3

Risk Factor: High

Base Score: 7.3

Temporal Score: 6.6

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 7.3

Threat Score: 5.9

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/19/2025

Vulnerability Publication Date: 9/19/2025

Reference Information

CVE: CVE-2025-9905

cwe: CWE-913