CVE-2026-57516CWE-502insecure-deserialization

CVE-2026-57516

High · published July 1, 2026

CVSS v3.1
8.8
EPSS
1%
Percentile
58.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00858 · 58.0th percentile
Weakness
CWE-502 · Deserialization of Untrusted Data
Published
2026-07-01T21:16Z
Affected products (1)
ProductVersionsFixed in
anyscale/ray< 2.56.02.56.0
References (6)
EPSS history
Timeline
  • 01 JUL 16:36Z
    Ray < 2.56.0 Unsafe Deserialization RCE via WebDataset Reader
    cvelistv5