CVE-2024-55459
Keras 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.
Affected products
Keras. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Keras runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/keras-team/keras
- keras.io
- river-bicycle-f1e.notion.site/Arbitrary-File-Write-Vulnerability-in-get_file-function-1188
- nvd.nist.gov/vuln/detail/CVE-2024-55459
- github.com/keras-team/keras/blob/8f5592bcb61ff48c96560c8923e482db1076b54a/keras/src/utils/
- github.com/advisories/GHSA-cjgq-5qmw-rcj6
- github.com/pypa/advisory-database/tree/main/vulns/keras/PYSEC-2025-121.yaml
- nvd.nist.gov/vuln/detail/CVE-2024-55459
- cve.org/CVERecord?id=CVE-2024-55459
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.