Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-57516
VULNERABILITY

CVE-2026-57516

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

CVSS
8.6
Severity
HIGH
Vector
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

Timeline

Published
Jul 1, 2026 17:16
Modified
Oct 25, 2026 17:10
Last observed
Oct 25, 2026 14:03

CWE

CWE-502

Affected product identifiers

cpe:2.3:a:anyscale:ray:*:*:*:*:*:*:*:*

References