CVE-2026-57516

HIGH

Ray < 2.56.0 WebDataset Reader - Remote Code Execution

Title source: manual
STIX 2.1

Description

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.

References (5)

Core 5
Core References
Release Notes release-notes
Release Notes
https://github.com/ray-project/ray/releases/tag/ray-2.56.0
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-hhrp-gw25-jr43)
https://github.com/ray-project/ray/security/advisories/GHSA-hhrp-gw25-jr43
Patch patch issue-tracking
Fix PR (1)
https://github.com/ray-project/ray/pull/63469
Patch patch issue-tracking
Fix PR (2)
https://github.com/ray-project/ray/pull/63470

Scores

CVSS v3 8.8
EPSS 0.0048
EPSS Percentile 38.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-502
Status published
Products (1)
Anyscale, Inc/Ray < 2.56.0
Published Jul 01, 2026
Tracked Since Jul 01, 2026