Ray < 2.56.0 Unsafe Deserialization RCE via WebDataset Reader
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 4 fixed, 2 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-502.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Anyscale, Inc | Ray | before 2.56.0 | 2.56.0 | Patch available | CNA |
| — | ray (PyPI) | before 2.56.0 | 2.56.0 | Patch available | GHSA-hhrp-gw25-jr43 |
- Ray VendorAnyscale, Inc Affected before 2.56.0 Fixed in 2.56.0 Patch available CNA
- ray (PyPI) Vendor— Affected before 2.56.0 Fixed in 2.56.0 Patch available GHSA-hhrp-gw25-jr43
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:anyscale:ray:*:*:*:*:*:*:*:* | before 2.56.0 | Vulnerable | Anyscale, Inc |
- cpe:2.3:a:anyscale:ray:*:*:*:*:*:*:*:* Versions before 2.56.0 Vulnerable ·Anyscale, Inc
Remediation
- Fix · CNA Ray (Anyscale, Inc) Fixed in 2.56.0
- Fix · GHSA-hhrp-gw25-jr43 ray (PyPI) Fixed in 2.56.0 Advisory →
Red Hat 5 advisories
- RHSA-2026:92510 Released 2026-10-29 · Red Hat rating CriticalRHOAI 3.4.6 - Red Hat OpenShift AI
- Red Hat OpenShift AI 3.4 registry.redhat.io/rhoai/odh-built-in-detector-rhel9, registry.redhat.io/rhoai/odh-cli-rhel9, registry.redhat.io/rhoai/odh-dashboard-rhel9 +47
- RHSA-2026:76043 Released 2026-10-05 · Red Hat rating ImportantRed Hat Enterprise Linux AI 3.3.7 security update
- Red Hat Enterprise Linux AI 3.3 registry.redhat.io/rhelai3/disk-image-cuda-rhel9
- RHSA-2026:76041 Released 2026-10-05 · Red Hat rating ImportantRed Hat Enterprise Linux AI 3.3.7 security update
- Red Hat Enterprise Linux AI 3.3 registry.redhat.io/rhelai3/bootc-aws-cuda-rhel9, registry.redhat.io/rhelai3/bootc-azure-cuda-rhel9, registry.redhat.io/rhelai3/bootc-azure-rocm-rhel9 +3
Show 2 more Red Hat advisories
- RHSA-2026:68699 Released 2026-09-17 · Red Hat rating ImportantRed Hat AI Inference Server 3.3.7 (CUDA)
- Red Hat AI Inference Server 3.3 registry.redhat.io/rhaiis/vllm-cuda-rhel9
- RHSA-2026:61627 Released 2026-08-31 · Red Hat rating ImportantRed Hat AI Inference Server 3.2.2 (CUDA)
- Red Hat AI Inference Server 3.2 registry.redhat.io/rhaiis/vllm-cuda-rhel9
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat AI Inference Server | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | No fix planned: Will not fix |
| Red Hat AI Inference Server 3.2 | Fixed | RHSA-2026:61627 |
| Red Hat AI Inference Server 3.3 | Fixed | RHSA-2026:68699 |
| Red Hat Enterprise Linux AI 3.3 | Fixed | RHSA-2026:76041, RHSA-2026:76043 |
| Red Hat OpenShift AI 3.4 | Fixed | RHSA-2026:92510 |
Not affected: 3 products
- Red Hat Enterprise Linux AI 3.3
- Red Hat OpenShift AI (RHOAI)
- Red Hat OpenShift AI 3.4
Timeline
- 2026-10-02 Threatist record created from CVE-2026-57516
- 2026-10-03 Alias added: GHSA-hhrp-gw25-jr43
- 2026-10-06 Fix available: RHSA-2026:76043 · Red Hat
- 2026-10-06 Fix available: RHSA-2026:76041 · Red Hat
- 2026-10-06 Fix available: Red Hat Enterprise Linux AI 3.3 · Red Hat
- 2026-10-07 Affected versions changed · Red Hat
- 2026-10-30 Fix available: RHSA-2026:92510 · Red Hat
- 2026-10-30 Fix available: Red Hat OpenShift AI 3.4 · Red Hat
References
Patch 2
More Anyscale, Inc Ray vulnerabilities
- TI-2025-38808 Ray is vulnerable to RCE via Safari & Firefox Browsers through DNS Rebinding Attack KEVCVSS 4.0CRITICAL 9.4
- TI-2023-26002 Anyscale Ray 2.6.3 and 2.8.0 allows a remote attacker to execute arbitrary code via the… CVSS 3.1CRITICAL 9.8
- TI-2023-26003 Anyscale Ray 2.6.3 and 2.8.0 allows /log_proxy SSRF. CVSS 3.1CRITICAL 9.1
- TI-2026-25429 Ray Dashboard <= 2.8.0 Path Traversal Leading to Local File Disclosure CVSS 4.0HIGH 8.7
- TI-2026-21889 Ray: Dashboard DELETE endpoints allow unauthenticated browser-triggered DoS (Serve shutdown / job deletion) CVSS 3.1MEDIUM 6.5
- TI-2026-30073 Ray: Remote Code Execution via Parquet Arrow Extension Type Deserialization CVSS 4.0HIGH 8.9
Sources
- CVE-2026-57516 · CVE Program
- CVE-2026-57516 · NVD
- FIRST EPSS
- GHSA-hhrp-gw25-jr43 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-57516 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences