Executive brief
A vulnerability in the TensorFlow machine learning library could allow a user with limited access to a system to gain higher-level permissions. This occurs because the software attempts to load plugin components from an insecure folder location that a malicious user can control. If exploited, an attacker could execute their own code with the privileges of another user, potentially compromising sensitive data or system integrity.
Technical details
A flaw exists in TensorFlow's handling of HDF5 library plugins (CWE-427). The application attempts to load plugins from an unsecured or uncontrolled search path, allowing a local attacker to place a malicious library in the path. To exploit this, an attacker must already have the ability to execute low-privileged code on the target system. Successful exploitation leads to arbitrary code execution and privilege escalation to the level of the user running the TensorFlow application. The fix involves disabling external HDF5 plugin loading by setting the HDF5_PLUGIN_PATH environment variable to 'disable' during the h5py import process.
Affected products
- TensorFlow TensorFlow 2.17.0
- Red Hat Red Hat OpenShift AI 2.25
Timeline
- 2025-03-11: disclosed: Vulnerability reported to vendor
- 2026-02-19: advisory: ZDI advisory published
- 2026-02-20: disclosed: CVE published to NVD
- 2026-04-23: patched: Red Hat released updates for OpenShift AI 2.25.5
References
- https://github.com/tensorflow/tensorflow/commit/46e7f7fb144fd11cf6d17c23dd47620328d77082
- https://www.zerodayinitiative.com/advisories/ZDI-26-116/
- https://access.redhat.com/errata/RHSA-2026:10184
- https://access.redhat.com/security/cve/CVE-2026-2492
- https://bugzilla.redhat.com/show_bug.cgi?id=2441510
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2492.json