cve.bz

CVE-2026-57516 anyscale ray: Deserialization of Untrusted Data

8.6 highExploit referenceEPSS 1.1%Fix available

High (8.6) in anyscale ray. EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in ray 2.56.0.

On this page
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.

Severity

CVSS 4.0

8.6 high
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

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
1.1% (up from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 66th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-07-01. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-502 Deserialization of Untrusted Data
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-57516 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-57516?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-57516?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-57516 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Anyscale, Inc Raybefore 2.56.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hhrp-gw25-jr43PyPIray<2.56.02.56.0
PYSEC-2026-2273PyPIray<2.56.02.56.0

Red Hat

Red Hat rates this Important.

Red Hat's statement

This Important vulnerability in Ray's WebDataset reader allows for remote code execution. An attacker could exploit this by providing a specially crafted tar archive to the `read_webdataset()` function, leading to arbitrary code execution within Ray remote workers. This risk is present in Red Hat environments where Ray is deployed to process untrusted data archives, as the deserialization of malicious content occurs unconditionally.

Red Hat's mitigation

To mitigate this issue, restrict the processing of untrusted tar archives by the Ray WebDataset reader. Ensure that only verified and trusted data sources are supplied to the `read_webdataset()` function. Implement strict access controls and input validation for data ingestion pipelines that interact with Ray's WebDataset reader to prevent the introduction of malicious archives.

ProductPackageStateAdvisory
Red Hat AI Inference Server 3.2rhaiis/vllm-cuda-rhel9:1787860580Fixed 2026-08-31RHSA-2026:61627
Red Hat AI Inference Server 3.3rhaiis/vllm-cuda-rhel9:1789582776Fixed 2026-09-17RHSA-2026:68699
Red Hat Enterprise Linux AI 3.3rhelai3/bootc-aws-cuda-rhel9:1790936334Fixed 2026-10-05RHSA-2026:76041
Red Hat Enterprise Linux AI 3.3rhelai3/bootc-azure-cuda-rhel9:1790936351Fixed 2026-10-05RHSA-2026:76041
Red Hat Enterprise Linux AI 3.3rhelai3/bootc-cuda-rhel9:1790866732Fixed 2026-10-05RHSA-2026:76041
Red Hat Enterprise Linux AI 3.3rhelai3/bootc-gcp-cuda-rhel9:1790936334Fixed 2026-10-05RHSA-2026:76041
Red Hat Enterprise Linux AI 3.3rhelai3/disk-image-cuda-rhel9:1790954179Fixed 2026-10-05RHSA-2026:76043
Red Hat OpenShift AI 3.4rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9:1792721265Fixed 2026-10-29RHSA-2026:92510
Red Hat OpenShift AI 3.4rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9:1792721112Fixed 2026-10-29RHSA-2026:92510
Red Hat OpenShift AI 3.4rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9:1792721018Fixed 2026-10-29RHSA-2026:92510
Red Hat OpenShift AI 3.4rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9:1792721165Fixed 2026-10-29RHSA-2026:92510
Red Hat OpenShift AI 3.4rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9:1792721589Fixed 2026-10-29RHSA-2026:92510
Red Hat OpenShift AI 3.4rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9:1793013985Fixed 2026-10-29RHSA-2026:92510
Red Hat AI Inference Serverrhaii/vllm-gaudi-rhel9Will not fix
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-gaudi-rhel9Will not fix
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-agent-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-router-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-storage-initializer-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-vllm-gaudi-rhel9Not affected
6 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-57516.

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON