CVE-2026-57516: Deserialization of Untrusted Data in Anyscale, Inc Ray
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.
AI Analysis
Technical Summary
CVE-2026-57516 is a high-severity vulnerability affecting Anyscale, Inc's Ray product prior to version 2.56.0. The issue is an unsafe deserialization vulnerability in the WebDataset reader component. Specifically, the _default_decoder() function in webdataset_datasource.py calls pickle.loads() on tar archive entries with .pkl or .pickle extensions and torch.load() with weights_only=False on .pt or .pth files without validation. This allows an attacker who can supply a crafted tar archive to the read_webdataset() function to execute arbitrary code on every Ray remote worker that processes the malicious archive. The vulnerability has a CVSS 4.0 score of 8.6, indicating high severity. No official patch or remediation level is currently stated in the available data.
Potential Impact
Successful exploitation results in remote code execution within Ray remote workers that process the malicious tar archive. This can lead to full compromise of the affected worker processes, potentially allowing attackers to execute arbitrary commands or code within the environment running Ray. The vulnerability affects all deployments using the vulnerable versions of Ray that utilize the WebDataset reader functionality.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, avoid processing untrusted or unauthenticated tar archives with the read_webdataset() function. Restrict access to the functionality that accepts WebDataset inputs to trusted sources only. Monitor vendor communications for updates regarding patches or official mitigations.
CVE-2026-57516: Deserialization of Untrusted Data in Anyscale, Inc Ray
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.
CVSS v4.0
Score 8.6high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-57516 is a high-severity vulnerability affecting Anyscale, Inc's Ray product prior to version 2.56.0. The issue is an unsafe deserialization vulnerability in the WebDataset reader component. Specifically, the _default_decoder() function in webdataset_datasource.py calls pickle.loads() on tar archive entries with .pkl or .pickle extensions and torch.load() with weights_only=False on .pt or .pth files without validation. This allows an attacker who can supply a crafted tar archive to the read_webdataset() function to execute arbitrary code on every Ray remote worker that processes the malicious archive. The vulnerability has a CVSS 4.0 score of 8.6, indicating high severity. No official patch or remediation level is currently stated in the available data.
Potential Impact
Successful exploitation results in remote code execution within Ray remote workers that process the malicious tar archive. This can lead to full compromise of the affected worker processes, potentially allowing attackers to execute arbitrary commands or code within the environment running Ray. The vulnerability affects all deployments using the vulnerable versions of Ray that utilize the WebDataset reader functionality.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, avoid processing untrusted or unauthenticated tar archives with the read_webdataset() function. Restrict access to the functionality that accepts WebDataset inputs to trusted sources only. Monitor vendor communications for updates regarding patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-24T15:58:58.537Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a45492b27e9c79719d6212a
Added to database: 07/01/2026, 17:06:51 UTC
Last enriched: 07/15/2026, 10:18:31 UTC
Last updated: 08/14/2026, 12:41:11 UTC
Views: 215
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.