CVE-2024-55459
MEDIUM 6.5CVSS 3.1keras Path Traversal vulnerability
An issue in keras 3.7.0 allows attackers to write arbitrary files to the user's machine via downloading a crafted tar file through the get_file function.
- Published
- 8 Jan 2025
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-22CWE-494
- Also known as
- GHSA-cjgq-5qmw-rcj6PYSEC-2025-121
- Sources
- NVDJSONOSV GHSA-cjgq-5qmw-rcj6JSONOSV PYSEC-2025-121JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | keras | kerascpe:2.3:a:keras:keras:3.7.0:*:*:*:*:*:*:* |
= 3.7.0 | |
| OSV | PyPI | keras | <= 3.7.0 |
References
- https://github.com/keras-team/keras · Product, PACKAGE
- https://keras.io · Product, WEB
- https://river-bicycle-f1e.notion.site/Arbitrary-File-Write-Vulnerability-in-get_file-function-11888e31952580179224e50892976d32 · Broken Link, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-55459 · ADVISORY
- https://github.com/keras-team/keras/blob/8f5592bcb61ff48c96560c8923e482db1076b54a/keras/src/utils/file_utils.py#L115 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/keras/PYSEC-2025-121.yaml · WEB
- https://github.com/advisories/GHSA-cjgq-5qmw-rcj6 · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 8 Jan 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 Jan 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Jan 2025)