Disclosure summary
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.
Source-reported weakness categories
CWE-502
Source-specific records & product guidance
Sources retain their own attribution and scoring. Follow the original record to confirm affected versions, fixed releases, and configuration conditions.
NIST National Vulnerability Database · NVD-CVE-2026-57516
Open original source · Updated Oct 08, 2026
Only CPE matches marked vulnerable=true are indexed. AND/OR platform conditions must be checked in the original NVD record.
| Vendor | Product / association | Version / bounds |
|---|---|---|
| anyscale | ray | * {"versionEndExcluding":"2.56.0"} |
Original records & references
- NIST NVD record
- CVE Program record
- github.com — Issue Tracking, Patch
- github.com — Issue Tracking, Patch
- github.com — Product, Release Notes
- github.com — Exploit, Mitigation, Patch, Vendor Advisory
- www.vulncheck.com — Third Party Advisory
- github.com — Exploit, Mitigation, Patch, Vendor Advisory
PUBLISHED 2026-07-01T13:16:37-04:00
MODIFIED 2026-10-08T12:17:22-04:00
INGESTED 2026-10-10T20:50:35-04:00