VDB
CVE-2026-57516
CVE-2026-57516
PUBLISHED
CVSS 8.6 HIGH
Reported by VulnCheck · Published July 1, 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.
Risk Scores
CVSS 4.0
8.6
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Anyscale, Inc | Ray | 0 |
| PyPI | ray | 0 |
| Anyscale, Inc | Ray | 0 |
| chainguard | lmcache-cuda-12.8 | 0 |
| anyscale | ray | 0 |
Timeline
- Jul 1, 2026 CVE Published
- Jul 2, 2026 EPSS Score
- Jul 2, 2026 Coalition ESS Score
- Jul 14, 2026 CVE Updated
- Aug 7, 2026 EPSS Score
- Aug 24, 2026 EPSS Score
- Aug 27, 2026 EPSS Score
- Aug 28, 2026 EPSS Score
- Aug 29, 2026 Security Advisory
- Aug 30, 2026 EPSS Score
- Sep 3, 2026 EPSS Score
- Sep 5, 2026 EPSS Score
References
- Release Notes release-notes
- GitHub Security Advisory (GHSA-hhrp-gw25-jr43) vendor-advisory
- Fix PR (1) patchissue-tracking
- Fix PR (2) patchissue-tracking
- third-party-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-57516 advisory
- https://github.com/advisories/GHSA-hhrp-gw25-jr43 advisory
- https://github.com/ray-project/ray/commit/41443a18f9e6403a072de69098a279c23e2d943c patch
- https://github.com/pypa/advisory-database/tree/main/vulns/ray/PYSEC-2026-2273.yaml advisory