{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-57516","id":"CVE-2026-57516","title":"Ray < 2.56.0 Unsafe Deserialization RCE via WebDataset Reader","description":"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=Fal","descriptionLong":"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.","published":"2026-07-01T16:36:55.765Z","updated":"2026-11-09T02:30:30.654154995Z","reserved":"2026-06-24T15:58:58.537Z","status":"Analyzed","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":8.6,"vector":"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","rating":"high","source":"VulnCheck"},"metrics":[{"version":"4.0","score":8.6,"vector":"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","rating":"high","source":"VulnCheck"},{"version":"4.0","score":8.6,"vector":"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","rating":"high","source":"vulncheck.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"VulnCheck"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"vulncheck.com"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["Anyscale, Inc Ray"],"affectedProducts":[{"vendor":"Anyscale, Inc","product":"Ray","defaultStatus":"affected","versions":[{"status":"affected","version":"0","versionType":"semver","lessThan":"2.56.0"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"ray","purl":"pkg:pypi/ray","ranges":["<2.56.0"],"fixed":["2.56.0"],"advisory":"GHSA-hhrp-gw25-jr43"}],"cwes":["CWE-502","CWE-94"],"aliases":["GHSA-hhrp-gw25-jr43","PYSEC-2026-2273"],"references":[{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.56.0","tags":["release-notes","Product","Release Notes","advisory","web"]},{"url":"https://github.com/ray-project/ray/security/advisories/GHSA-hhrp-gw25-jr43","tags":["vendor-advisory","exploit","Exploit","Mitigation","Patch","Vendor Advisory","advisory","web","fix"]},{"url":"https://github.com/ray-project/ray/pull/63469","tags":["patch","issue-tracking","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/ray-project/ray/pull/63470","tags":["patch","issue-tracking","Issue Tracking","Patch","fix","web"]},{"url":"https://www.vulncheck.com/advisories/ray-unsafe-deserialization-rce-via-webdataset-reader","tags":["third-party-advisory","Third Party Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57516.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57516","tags":["advisory"]},{"url":"https://github.com/ray-project/ray","tags":["package"]},{"url":"https://github.com/ray-project/ray/commit/41443a18f9e6403a072de69098a279c23e2d943c","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ray/PYSEC-2026-2273.yaml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.01089,"epssPercentile":0.66078,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-57516","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57516","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-57516","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hhrp-gw25-jr43","ok":true,"note":"GHSA-hhrp-gw25-jr43"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-57516","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}