{"id":"CVE-2026-57516","aliases":["GHSA-hhrp-gw25-jr43","PYSEC-2026-2273"],"url":"https://o3.security/vulnerability/CVE-2026-57516","summary":"Ray < 2.56.0 Unsafe Deserialization RCE via WebDataset Reader","details":"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","modified":"2026-08-14T03:41:52.857525670Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"ray","fixedVersion":"2.56.0"}],"fix":{"url":"https://github.com/ray-project/ray/pull/63469","label":"ray-project/ray#63469"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57516.json"},{"type":"ADVISORY","url":"https://github.com/ray-project/ray/releases/tag/ray-2.56.0"},{"type":"ADVISORY","url":"https://github.com/ray-project/ray/security/advisories/GHSA-hhrp-gw25-jr43"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57516"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/ray-unsafe-deserialization-rce-via-webdataset-reader"},{"type":"FIX","url":"https://github.com/ray-project/ray/pull/63469"},{"type":"FIX","url":"https://github.com/ray-project/ray/pull/63470"},{"type":"PACKAGE","url":"https://github.com/ray-project/ray"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-14T03:41:52.857525670Z"}}