CVE-2026-57516
Published:July 01, 2026
Updated:August 04, 2026
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 Packages
ray (CONDA):
Affected version(s) =2.3.1 <2.56.0Fix Suggestion:
Update to version 2.56.0https://github.com/ray-project/ray.git (GITHUB):
Affected version(s) >=ray-0.1.0 <2.56.0Fix Suggestion:
Update to version 2.56.0ray (PYTHON):
Affected version(s) >=0.0.1 <2.56.0Fix Suggestion:
Update to version 2.56.0ray (PYTHON):
Affected version(s) >=0.0.1 <2.56.0Fix Suggestion:
Update to version 2.56.0Related Resources (10)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
ACTIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
0.55