PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-57516 Anyscale, Inc CVE debrief

CVE-2026-57516 debrief: Ray < 2.56.0 Unsafe Deserialization RCE via WebDataset Reader. The CVE record was published on 2026-07-01T16:36:55.765Z and has not been modified since then. This vulnerability 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.

Vendor
Anyscale, Inc
Product
Ray
CVSS
HIGH 8.6
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-01
Original CVE updated
2026-10-08
Advisory published
2026-07-01
Advisory updated
2026-10-08

Who should care

Defenders responsible for Ray deployments should assess exposure and prioritize upgrading to 2.56.0 or later. They should also review and restrict usage of the WebDataset reader, implement additional security measures to prevent deserialization attacks, and verify Ray versions.

Why it matters

Defenders should prioritize verifying Ray versions and upgrading to 2.56.0 or later to prevent remote code execution via deserialization attacks.

  • Remote code execution is possible via malicious tar archives
  • Deserialization attacks can be prevented with proper security measures
  • Verification of Ray versions and upgrades is necessary

Technical summary

The CVE record describes an unsafe deserialization vulnerability in Ray's WebDataset reader, which 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. This vulnerability can be prevented with proper security measures

Defensive priority

Defenders should prioritize verifying Ray versions and upgrading to 2.56.0 or later.

Recommended defensive actions

  • Verify Ray versions and upgrade to 2.56.0 or later
  • Review and restrict usage of the WebDataset reader
  • Implement additional security measures to prevent deserialization attacks
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance

Evidence notes

The CVE record and source item provide details on the unsafe deserialization vulnerability in Ray's WebDataset reader. The vulnerability is caused by the _default_decoder() function in webdataset_datasource.py, which unconditionally calls pickle.loads() on tar entries with .pkl/.pickle extensions and torch.load() with weights_only=False on .pt/.pth entries. This allows attackers to achieve remote code execution by supplying a malicious tar archive to the read_webdataset() function. Defenders should verify Ray versions and upgrade to 2

Sources and references

Verified primary and authoritative sources

  • CVE-2026-57516 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-57516

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-57516 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-57516

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Ray < 2.56.0 Unsafe Deserialization RCE via WebDataset Reader

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/57xxx/CVE-2026-57516.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/ray-project/ray/releases/tag/ray-2.56.0

    Supplemental source - release-notes

  • Source reference

    Unverified legacy reference

    URL: https://github.com/ray-project/ray/security/advisories/GHSA-hhrp-gw25-jr43

    Supplemental source - vendor-advisory

  • Source reference

    Unverified legacy reference

    URL: https://github.com/ray-project/ray/pull/63469

    Supplemental source - patch, issue-tracking

  • Source reference

    Unverified legacy reference

    URL: https://github.com/ray-project/ray/pull/63470

    Supplemental source - patch, issue-tracking

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/ray-unsafe-deserialization-rce-via-webdataset-reader

    Supplemental source - third-party-advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.