Advisory record · GHSA-hhrp-gw25-jr43

Ray: Arbitrary code execution via ray.data.read_webdataset default decoder: pickle.loads(value) and torch.load(weights_only=False)

CVSS 8.6 HighEPSS 0.0086 · 58th percentile

Published by the GitHub Advisory Database at 24 Jul 2026, 15:47 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
rayPyPI<2.56.02.56.0
Identifiers
GHSA-hhrp-gw25-jr43 · CVE-2026-57516 · PYSEC-2026-2273
Weakness (CWE)
CWE-94 · CWE-502
Published
24 Jul 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Ray versions before 2.56.0 are vulnerable to arbitrary code execution through ray.data.read_webdataset when its default decoder handles .pickle/.pkl and .pt/.pth members in a TAR file. An attacker who can supply a malicious TAR file that a user reads, from a shared bucket, an HTTP URL, or another source, can run code in the calling Ray process when the default decoder runs. Upgrade to Ray 2.56.0 or later. The source gives no workaround beyond avoiding untrusted TAR input or passing an explicit decoder.

Written 4 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.6 High 4.0 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 (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0086, the 58th percentile, on 10 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 1 Jul 2026, 16:36 UTC Confirmed by the CVE List
  2. 31 Oct 2026, 14:29 UTC First seen by agentprime
  3. 31 Oct 2026, 14:29 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.