SCA: security update for keras (GHSA-36fq-jgmw-4r9c)

high Tenable Self-Hosted Container Security Plugin ID 435376

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 .keras model archive that, when loaded via
Model.load_model, will trigger arbitrary code to be executed. This is achieved by crafting a special
config.json (a file within the .keras archive) that will invoke
keras.config.enable_unsafe_deserialization() to disable safe mode. Once safe mode is disable, one can use
the Lambda layer feature of keras, which allows arbitrary Python code in the form of pickled code. Both
can appear in the same archive. Simply the keras.config.enable_unsafe_deserialization() needs to appear
first in the archive and the Lambda with arbitrary code needs to be second. (CVE-2025-9906)

Solution

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

See Also

https://github.com/advisories/GHSA-36fq-jgmw-4r9c

Plugin Details

Severity: High

ID: 435376

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 9/19/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.58

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2025-9906

CVSS v3

Risk Factor: High

Base Score: 7.3

Temporal Score: 6.4

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:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.6

Threat Score: 5.6

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/19/2025

Vulnerability Publication Date: 9/19/2025

Reference Information

CVE: CVE-2025-9906

cwe: CWE-502