CVEBrief

Home / keras-team / keras-team/keras / CVE-2025-12638

CVE-2025-12638: is it exploited, and which versions of keras-team/keras are affected and fixed?

CVE-2025-12638 is a path traversal (reading or writing files outside the intended folder) vulnerability in keras-team/keras. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: keras-team/keras through latest (CVE record by @huntr_ai). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (8.0, CVSS 3.0, from @huntr_ai).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 28, 2026, 17:54 UTC and NVD November 19, 2026, 07:15 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 17:09 UTC
Affected
keras-team/keras through latest
CVE record by @huntr_ai
Fixed in
Not listed
check the vendor advisory
Severity
High 8.0
CVSS 3.0 from @huntr_ai
Exploit odds (EPSS)
0.70% in 30 days
higher than 55% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2025-12638?

Path Traversal Vulnerability in keras-team/keras via Tar Archive Extraction in keras.utils.get_file()

Keras version 3.11.3 is affected by a path traversal vulnerability in the keras.utils.get_file() function when extracting tar archives. The vulnerability arises because the function uses Python's tarfile.extractall() method without the security-critical filter='data' parameter. Although Keras attempts to filter unsafe paths using filter_safe_paths(), this filtering occurs before extraction, and a PATH_MAX symlink resolution bug triggers during extraction. This bug causes symlink resolution to fail due to path length limits, resulting in a security bypass that allows files to be written outside the intended extraction directory. This can lead to arbitrary file writes outside the cache directory, enabling potential system compromise or malicious code execution. The vulnerability affects Keras installations that process tar archives with get_file() and does not affect versions where this extraction method is secured with the appropriate filter parameter.

From the CVE record by @huntr_ai, last updated November 28, 2025, 15:08 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
keras-teamkeras-team/kerasthrough latest

As the CVE record by @huntr_ai states it, last updated November 28, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

How severe is CVE-2025-12638?

ScoreVersionVectorSource
High 8.0CVSS 3.0CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H@huntr_ai

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2025-12638 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: poc; automatable: no; technical impact: total (CISA ADP, November 28, 2025)
EPSS
0.70% probability of exploitation activity in the next 30 days, percentile 54.7 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
November 3, 2025
Published
November 28, 2025, 14:06 UTC
CVE record updated
November 28, 2025, 15:08 UTC by @huntr_ai
NVD
Deferred, last modified October 19, 2026, 13:10 UTC
Last checked
CVE list November 28, 2026, 17:54 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect keras-team/keras?

Every CVE in keras-team/keras

Questions about CVE-2025-12638

Is CVE-2025-12638 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.70% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of keras-team/keras are affected by CVE-2025-12638?

keras-team/keras through latest, per the CVE record by @huntr_ai. The tables above give every range the sources list.

Which version fixes CVE-2025-12638?

None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.

How severe is CVE-2025-12638?

High (8.0, CVSS 3.0, from @huntr_ai). The severity table above shows each score with its source.

Where is the official record of CVE-2025-12638?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.