CVEvulnerability
CVE-2026-57516
8.6 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2026-07-01
- Last modified
- 2026-10-25
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 8.6 HIGH — 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:X/V:X/RE:X/U:X
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-502
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.
Affected configurations
• anyscale ray (< 2.56.0)
Related
Weakness · CWE (1)
- CWE-502 Deserialization of Untrusted Data weakness
References
- https://github.com/ray-project/ray/pull/63469 Issue Tracking, Patch
- https://github.com/ray-project/ray/pull/63470 Issue Tracking, Patch
- https://github.com/ray-project/ray/releases/tag/ray-2.56.0 Product, Release Notes
- https://github.com/ray-project/ray/security/advisories/GHSA-hhrp-gw25-jr43 Exploit, Mitigation, Patch, Vendor 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 Exploit, Mitigation, Patch, Vendor Advisory