Skip to content
HighVulnerability

CVE-2026-57516: Ray unsafe deserialization in WebDataset reader via read_webdataset()

Identifier
CVE-2026-57516
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.7%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Ray versions prior to 2.56.0 contain an unsafe deserialization flaw in the WebDataset reader. The _default_decoder() function in webdataset_datasource.py calls pickle.loads() on .pkl/.pickle tar entries and torch.load() with weights_only=False on .pt/.pth entries, so a malicious tar archive passed to read_webdataset() can execute arbitrary code on every Ray remote worker that processes it.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.