Vulnerability record · CVE-2026-57516 · published 1 July 2026
CVE-2026-57516: Anyscale ray deserialization of untrusted data vulnerability
Anyscale · Ray
Ray prior to 2.56.0 contains an unsafe deserialization vulnerability in the WebDataset reader that allows attackers to achieve remote code execution by supplying 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/.pickle extensions and torch.load() with weights_only=False on .pt/.pth entries, executing arbitrary code inside Ray remote workers on every worker that processes the malicious archive.
Description
Ray prior to 2.56.0 contains an unsafe deserialization vulnerability in the WebDataset reader that allows attackers to achieve remote code execution by supplying 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/.pickle extensions and torch.load() with weights_only=False on .pt/.pth entries, executing arbitrary code inside Ray remote workers on every worker that processes the malicious archive.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/ray-project/ray/pull/63469 | Issue TrackingPatch |
| https://github.com/ray-project/ray/pull/63470 | Issue TrackingPatch |
| https://github.com/ray-project/ray/releases/tag/ray-2.56.0 | ProductRelease Notes |
| https://github.com/ray-project/ray/security/advisories/GHSA-hhrp-gw25-jr43 | ExploitMitigationPatchVendor Advisory |
| https://www.vulncheck.com/advisories/ray-unsafe-deserialization-rce-via-webdataset-reader | Third Party Advisory |
| https://github.com/ray-project/ray/security/advisories/GHSA-hhrp-gw25-jr43 | ExploitMitigationPatchVendor Advisory |
Track CVE-2026-57516 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2026-57516), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.