CVE-2026-57516: Ray - Insecure Deserialization
- Cve: CVE-2026-57516
- Name: Ray - Insecure Deserialization
- 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.
- Impact: Remote attackers can execute arbitrary code on Ray remote workers, potentially leading to full system compromise.
- Remediation: Upgrade to version 2.56.0 or later.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.01089
- Epss percentile: 0.66055
- Assignee: [email protected]
- Published at: 2026-07-01T17:16:37Z
- Age in days: 146
- Modified at: 2026-10-25T17:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-57516
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-502 | Deserialization of Untrusted Data |
Hackerone
- Reports: 1
- Rank: 516
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/ray-project/ray/security/advisories/GHSA-hhrp-gw25-jr43 | nvd | 2026-07-01 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/ray-project/ray/pull/63469 | Issue Tracking, Patch |
| https://github.com/ray-project/ray/pull/63470 | Issue Tracking, Patch |
| https://github.com/ray-project/ray/security/advisories/GHSA-hhrp-gw25-jr43 | Exploit, Mitigation, Patch, Vendor Advisory |
| https://www.vulncheck.com/advisories/ray-unsafe-deserialization-rce-via-webdataset-reader | Third Party Advisory |
| https://github.com/ray-project/ray/releases/tag/ray-2.56.0 | Product, Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| anyscale:ray | < 2.56.0 | no | nvd | /v1/products/anyscale/ray |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| ray-project/ray | commit, fix, package, pull, releases, security_advisory | yes | /v1/repositories/ray-project/ray |
Index
- Repositories: 315
- Repositories high signal: 206
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-07-01
- Remote: yes
- Hackerone reports: 1
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, exposed hosts