CVE-2026-57516 json
Ray < 2.56.0 Unsafe Deserialization RCE via WebDataset Reader
published 4mo ago modified 3d ago also EUVD-2026-41089 , GHSA-hhrp-gw25-jr43 , PYSEC-2026-2273
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi ray 2.56.0
- Anyscale, Inc Ray 2.56.0
- github.com/ray-project/ray@41443a1 commit
- github.com/ray-project/ray#63469 pull request
- github.com/ray-project/ray#63470 pull request
- github.com/ray-project/ray/releases/tag/ray-2.56.0 release
- github.com/ray-project/ray/security/advisories/GHSA-hhrp-gw25-jr43 advisory
Is CVE-2026-57516 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-57516 updated cvss 8.8
ray: Ray: Remote code execution via unsafe deserialization in WebDataset reader
-
Red Hat AI Inference Server rhaii/vllm-gaudi-rhel9 Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-gaudi-rhel9affected: workaround, no fix planned “Will not fix”
-
Red Hat AI Inference Server 3.2 rhaiis/vllm-cuda-rhel9 1787860580fixed: vendor fix RHSA-2026:61627
-
Red Hat AI Inference Server 3.3 rhaiis/vllm-cuda-rhel9 1789582776fixed: vendor fix RHSA-2026:68699
-
Red Hat Enterprise Linux AI 3.3 rhelai3/bootc-cuda-rhel9 1790866732, rhelai3/bootc-aws-cuda-rhel9 1790936334, rhelai3/bootc-gcp-cuda-rhel9 1790936334, rhelai3/disk-image-cuda-rhel9 1790954179, rhelai3/bootc-azure-cuda-rhel9 1790936351fixed: vendor fix RHSA-2026:76041
-
Red Hat OpenShift AI 3.4 rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9 1792721112, rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9 1792721018, rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9 1792721192, rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9 1792722164, rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9 1792721192, rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9 1792721265, +6 morefixed: vendor fix RHSA-2026:92510
-
Red Hat Enterprise Linux AI 3.3 rhelai3/bootc-rocm-rhel9 1790791893, rhelai3/bootc-azure-rocm-rhel9 1790850900 Red Hat OpenShift AI (RHOAI) rhoai/odh-vllm-gaudi-rhel9, rhoai/odh-kserve-agent-rhel9, rhoai/odh-kserve-router-rhel9, rhoai/odh-kserve-controller-rhel9, rhoai/odh-kserve-storage-initializer-rhel9 Red Hat OpenShift AI 3.4 rhoai/odh-cli-rhel9 1792722177, rhoai/rhai-cli-rhel9 1792722177, rhoai/odh-automl-rhel9 1792697253, rhoai/odh-mlflow-rhel9 1793002327, rhoai/odh-autorag-rhel9 1793265800, rhoai/odh-trainer-rhel9 1792817113, +88 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 4mo ago
Exploit prediction
0.86% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/ray-project/ray/security/advisories/GHSA-hhrp-gw25-jr43 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 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 |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CNA | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | ray | <2.56.0 |
2.56.0 |
Affected products
- Anyscale, Inc Ray
Classification
References
-
github.com
/ray-project/ray/pull/63469
patch, issue-tracking, web
-
github.com
/ray-project/ray/pull/63470
patch, issue-tracking, web
-
github.com
/ray-project/ray/security/advisories/GHSA-hhrp-gw25-jr43
vendor-advisory, exploit, web, mitigation, patch, advisory
-
github.com
/ray-project/ray/commit/41443a18f9e6403a072de69098a279c23e2d943c
web
-
github.com
/ray-project/ray/releases/tag/ray-2.56.0
release-notes, web, product, advisory
-
vulncheck.com
/advisories/ray-unsafe-deserialization-rce-via-webdataset-reader
third-party-advisory, web, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-57516
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/ray/PYSEC-2026-2273.yaml
web
-
github.com
/ray-project/ray
package
Sources
- CVE List CVE-2026-57516
- GitHub Advisory GHSA-hhrp-gw25-jr43
- NVD CVE-2026-57516
- OSV PYSEC-2026-2273
- Maintainer advisory GHSA-hhrp-gw25-jr43
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of ray-project/ray published their own advisory on GitHub. Reviewed sources take precedence over it.