Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-gh82-f9x8-5frx

Опубликовано: 22 июн. 2026
Источник: github
Github: Прошло ревью
CVSS3: 6.1

Описание

Keras: DiskIOStore permits path traversal through crafted layer names

A path traversal vulnerability exists in keras-team/keras version 3.14.0, specifically in the DiskIOStore.make method within the Keras 3 model saving and loading library. This vulnerability arises from the improper handling of user-provided layer names, which are used to construct directory paths without sanitizing for parent directory components (..). While forward slashes (/) are restricted in layer names, directory traversal sequences are not. This allows an attacker to craft a malicious Keras model that, when saved or loaded, can escape the intended temporary working directory and perform unauthorized file system operations, such as creating directories or writing files in arbitrary locations.

Пакеты

Наименование

keras

pip
Затронутые версииВерсия исправления

< 3.12.3

3.12.3

Наименование

keras

pip
Затронутые версииВерсия исправления

>= 3.13.0, < 3.15.0

3.15.0

EPSS

Процентиль: 32%
0.00384
Низкий

6.1 Medium

CVSS3

Дефекты

CWE-22

Связанные уязвимости

CVSS3: 6.1
ubuntu
около 2 месяцев назад

A path traversal vulnerability exists in keras-team/keras version 3.14.0, specifically in the `DiskIOStore.make` method within the Keras 3 model saving and loading library. This vulnerability arises from the improper handling of user-provided layer names, which are used to construct directory paths without sanitizing for parent directory components (`..`). While forward slashes (`/`) are restricted in layer names, directory traversal sequences are not. This allows an attacker to craft a malicious Keras model that, when saved or loaded, can escape the intended temporary working directory and perform unauthorized file system operations, such as creating directories or writing files in arbitrary locations.

CVSS3: 6.1
redhat
около 2 месяцев назад

A path traversal vulnerability exists in keras-team/keras version 3.14.0, specifically in the `DiskIOStore.make` method within the Keras 3 model saving and loading library. This vulnerability arises from the improper handling of user-provided layer names, which are used to construct directory paths without sanitizing for parent directory components (`..`). While forward slashes (`/`) are restricted in layer names, directory traversal sequences are not. This allows an attacker to craft a malicious Keras model that, when saved or loaded, can escape the intended temporary working directory and perform unauthorized file system operations, such as creating directories or writing files in arbitrary locations.

CVSS3: 6.1
nvd
около 2 месяцев назад

A path traversal vulnerability exists in keras-team/keras version 3.14.0, specifically in the `DiskIOStore.make` method within the Keras 3 model saving and loading library. This vulnerability arises from the improper handling of user-provided layer names, which are used to construct directory paths without sanitizing for parent directory components (`..`). While forward slashes (`/`) are restricted in layer names, directory traversal sequences are not. This allows an attacker to craft a malicious Keras model that, when saved or loaded, can escape the intended temporary working directory and perform unauthorized file system operations, such as creating directories or writing files in arbitrary locations.

CVSS3: 6.1
debian
около 2 месяцев назад

A path traversal vulnerability exists in keras-team/keras version 3.14 ...

EPSS

Процентиль: 32%
0.00384
Низкий

6.1 Medium

CVSS3

Дефекты

CWE-22