Path traversal in Keras - CVE-2025-12060
Published: November 17, 2025 / Updated: December 3, 2025
Vulnerability details
The vulnerability allows a remote user to perform directory traversal attacks.
The vulnerability exists due to input validation error in keras.utils.get_file API when used with the extract=True option for tar archives. A remote user can supply a malicious .tar archive containing special symlinks, which, when extracted, allows them to write arbitrary files to any location on the filesystem outside of the intended destination folder.
Affected software
IBM Watson Discovery for IBM Cloud Pak for Data
Red Hat OpenShift AI (RHOAI)
Maximo Application Suite Ai Service
How to mitigate CVE-2025-12060
IBM Watson Discovery for IBM Cloud Pak for Data - update to 5.3.0
Maximo Application Suite Ai Service - update to 9.1.10
Red Hat OpenShift AI (RHOAI) - addressed in versions 2.22.3, 2.25.1