CVE-2026-57516

published 1 Jul 2026 · updated 8 Nov 2026

Ray < 2.56.0 Unsafe Deserialization RCE via WebDataset Reader

8.8HighCVSS 8.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 2.56.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Anyscale<2.56.02.56.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-57516 severity on Zeptric[![CVE-2026-57516](https://zeptric.io/badge/cve/CVE-2026-57516.svg)](https://zeptric.io/cve/CVE-2026-57516)