Deserialization in Anyscale Ray
CVE-2026-57516
- CVSS v3
- 8.8 High
- Public exploits
- None known
- EPSS
- 0.011 · 66.2th percentile
- Published
- 2026-07-01
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.
Vulnerability class: Insecure Deserialization
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.011, 66.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Anyscale Ray
- Anyscale, Inc Ray — versions 0
Weakness classification (CWE)
References
- Fix PR (1) (issue-tracking, Patch, patch, Issue Tracking)
- Fix PR (2) (issue-tracking, Patch, patch, Issue Tracking)
- Ray ray-2.56.0 Release Notes (release-notes, Product, Release Notes)
- GitHub Security Advisory (GHSA-hhrp-gw25-jr43) (vendor-advisory, Exploit, Patch, Mitigation, Vendor Advisory)
- www.vulncheck.com/advisories/ray-unsafe-deserialization-rce-via-webdataset-read… (Third Party Advisory, third-party-advisory)