External Control of File Name or Path Affecting keras package, versions [,3.12.1)[3.13.0,3.13.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-KERAS-15268069
  • published12 Feb 2026
  • disclosed11 Feb 2026
  • creditUnknown

Introduced: 11 Feb 2026

CVE-2026-1669  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade keras to version 3.12.1, 3.13.2 or higher.

Overview

keras is a Keras is a high-level neural networks API for Python..

Affected versions of this package are vulnerable to External Control of File Name or Path via the model loading process when handling HDF5 files with external dataset references. An attacker can access arbitrary files and disclose sensitive information by supplying a specially crafted .keras model file.

CVSS Base Scores

version 4.0
version 3.1