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.
CVE-2026-57516
This high-severity CVE scores 8.8 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.5%, top 61% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.8
- EG Score
- 8.8(medium)
- EPSS
- 39.0%
- KEV
- Not listed
Published
July 1, 2026
Last Modified
July 14, 2026
Advisory Details (5)
Auto-updated Jul 1, 2026Arbitrary code execution via ray.data.read_webdataset default decoder: pickle.loads(value) and torch.load(weights_only=False) · Advisory · ray-project/ray · GitHub
Affected: 2.55.0): standard
https://github.com/ray-project/ray/security/advisories/GHSA-hhrp-gw25-jr43Ray < 2.56.0 Unsafe Deserialization RCE via WebDataset Reader | Advisories | VulnCheck
https://www.vulncheck.com/advisories/ray-unsafe-deserialization-rce-via-webdataset-readerRay-2.56.0
Patch available: ray-project/ray ray-2.56.0
https://github.com/ray-project/ray/releases/tag/ray-2.56.0[Data] Block pickle object columns when reading untrusted Parquet files
Fix merged in ray-project/ray PR #63470 on 2026-05-19 — awaiting tagged release
https://github.com/ray-project/ray/pull/63470[Data] Gate unsafe deserialization in WebDataset default decoder
Fix merged in ray-project/ray PR #63469 on 2026-05-19 — awaiting tagged release
https://github.com/ray-project/ray/pull/63469Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| ray | 0.1.1 ... 2.9.3 (128 versions) | 2.56.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 26× in last 7d / 54× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-15 21:52 UTCEG score recompute
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 09:47 UTCEG score recompute
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-14 21:41 UTCEG score recompute
- 2026-07-14 09:35 UTCEG score recompute
- 2026-07-13 22:31 UTCEPSS rescore
- 2026-07-13 21:28 UTCEG score recompute
- 2026-07-13 09:23 UTCEG score recompute
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 21:18 UTCEG score recompute
- 2026-07-12 09:12 UTCEG score recompute
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 21:06 UTCEG score recompute
- 2026-07-11 09:00 UTCEG score recompute
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-10 20:55 UTCEG score recompute
- 2026-07-10 08:50 UTCEG score recompute
- 2026-07-09 20:42 UTCEG score recompute
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
Show 29 moreShow fewer
- 2026-07-09 08:37 UTCEG score recompute
- 2026-07-08 20:29 UTCEG score recompute
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 08:24 UTCEG score recompute
- 2026-07-07 20:20 UTCEG score recompute
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-07 08:14 UTCEG score recompute
- 2026-07-06 20:08 UTCEG score recompute
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 08:00 UTCEG score recompute
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 19:54 UTCEG score recompute
- 2026-07-05 07:47 UTCEG score recompute
- 2026-07-05 02:31 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 19:41 UTCEG score recompute
- 2026-07-04 07:36 UTCEG score recompute
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-03 19:29 UTCEG score recompute
- 2026-07-03 07:23 UTCEG score recompute
- 2026-07-02 19:18 UTCEG score recompute
- 2026-07-02 07:13 UTCEG score recompute
- 2026-07-01 19:08 UTCEG score recompute
- 2026-07-01 19:07 UTCNVD updatefirst tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-502
- CVE-2017-20208EG 9.8CRITICAL
- CVE-2017-20207EG 9.8CRITICAL
- CVE-2017-20206EG 9.8CRITICAL
- CVE-2017-20189EG 9.8CRITICAL
- CVE-2017-10992EG 9.8EPSS 95%CRITICAL
- CVE-2013-4521EG 9.8EPSS 90%CRITICAL
- CVE-2014-1860EG 9.8CRITICAL
- CVE-2016-1000027EG 9.8EPSS 98%CRITICAL
- CVE-2014-3699EG 9.8CRITICAL
- CVE-2017-18605EG 9.8CRITICAL
Frequently asked(5)
What is CVE-2026-57516?
When was CVE-2026-57516 disclosed?
Is CVE-2026-57516 actively exploited?
What is the CVSS score of CVE-2026-57516?
How do I remediate CVE-2026-57516?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-57516
Is Your Infrastructure Affected by CVE-2026-57516?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.