PT-2026-54884 · Anyscale · Ray

·

CVE-2026-57516

·

Published

2026-07-01

·

Updated

2026-07-24

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Ray versions prior to 2.56.0
Description An unsafe deserialization issue exists in the WebDataset reader. An attacker can achieve remote code execution by providing a malicious tar archive to the read webdataset() function. The default decoder() function in webdataset datasource.py unconditionally calls pickle.loads() on tar entries with .pkl or .pickle extensions and torch.load() with weights only=False on .pt or .pth entries. This results in the execution of arbitrary code within Ray remote workers on every worker that processes the malicious archive. Deserialization is the process of converting a data format back into an object, which becomes unsafe when untrusted data is processed without validation.
Recommendations Update to version 2.56.0 or later. As a temporary mitigation, avoid using the read webdataset() function with untrusted tar archives.

Exploit

Fix

RCE

Deserialization of Untrusted Data

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-57516
ECHO-D8C2-64E4-5430
GHSA-HHRP-GW25-JR43
PYSEC-2026-2273

Affected Products

Ray