Deserialization of Untrusted Data in Ray - CVE-2026-126195

 

Deserialization of Untrusted Data in Ray - CVE-2026-126195

Published: December 3, 2026


Vulnerability identifier: #VU173139
CSH Severity: Medium
CVSS v4: 8.5 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-126195
CWE-ID: CWE-502
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary Python code in the Ray process that reads the dataset.

The vulnerability exists due to deserialization of untrusted data in Ray Data's NumpyDatasource when loading NumPy files with pickle support unconditionally enabled. A remote user can supply a crafted NumPy file that a Ray Data operator loads through ray.data.read_numpy() to execute code with the privileges of the reading process.


Affected software

Ray

How to mitigate CVE-2026-126195

Install security update from vendor's website.

Ray - update to 2.57.0

External References

Related Security Bulletins