PT-2025-48332 · Keras+1 · Keras+1

Published

2025-11-28

·

Updated

2025-12-03

·

CVE-2025-12638

CVSS v2.0

9.0

High

VectorAV:N/AC:L/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Keras version 3.11.3
Description Keras version 3.11.3 has a path traversal issue in the keras.utils.get file() function when handling tar archives. The problem occurs because the function utilizes Python’s tarfile.extractall() method without the filter='data' parameter. While Keras includes a filter safe paths() function to filter unsafe paths, a PATH MAX symlink resolution bug during extraction bypasses this security measure. This allows files to be written outside the intended extraction directory, potentially leading to arbitrary file writes and system compromise. The issue impacts Keras installations processing tar archives with get file().
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Path traversal

Weakness Enumeration

Related Identifiers

AZL-71185
BDU:2026-05650
CVE-2025-12638
GHSA-9G7V-8WXV-MWXP

Affected Products

Debian
Keras