{"id":"CVE-2026-57516","sourceIdentifier":"disclosure@vulncheck.com","published":"2026-07-01T17:16:37.390","lastModified":"2026-10-25T17:10:00.197","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Ray anterior a 2.56.0 contiene una vulnerabilidad de deserialización insegura en el lector de WebDataset que permite a los atacantes lograr la ejecución remota de código al proporcionar un archivo tar malicioso a la función read_webdataset(). La función _default_decoder() en webdataset_datasource.py llama incondicionalmente a pickle.loads() en entradas tar con extensiones .pkl/.pickle y a torch.load() con weights_only=False en entradas .pt/.pth, ejecutando código arbitrario dentro de los workers remotos de Ray en cada worker que procesa el archivo malicioso."}],"affected":[{"source":"disclosure@vulncheck.com","affectedData":[{"vendor":"Anyscale, Inc","product":"Ray","defaultStatus":"affected","repo":"https://github.com/ray-project/ray","packageURL":"pkg:pypi/ray","versions":[{"version":"0","lessThan":"2.56.0","versionType":"semver","status":"affected"}]}]}],"metrics":{"cvssMetricV40":[{"source":"disclosure@vulncheck.com","type":"Secondary","cvssData":{"version":"4.0","vectorString":"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","baseScore":8.6,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}],"cvssMetricV31":[{"source":"disclosure@vulncheck.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-07-01T17:53:01.380220Z","id":"CVE-2026-57516","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"disclosure@vulncheck.com","type":"Secondary","description":[{"lang":"en","value":"CWE-502"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:anyscale:ray:*:*:*:*:*:*:*:*","versionEndExcluding":"2.56.0","matchCriteriaId":"C4BB447B-4FCF-4A0F-B3BD-478B9B86E2D4"}]}]}],"references":[{"url":"https://github.com/ray-project/ray/pull/63469","source":"disclosure@vulncheck.com","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/ray-project/ray/pull/63470","source":"disclosure@vulncheck.com","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.56.0","source":"disclosure@vulncheck.com","tags":["Product","Release Notes"]},{"url":"https://github.com/ray-project/ray/security/advisories/GHSA-hhrp-gw25-jr43","source":"disclosure@vulncheck.com","tags":["Exploit","Mitigation","Patch","Vendor Advisory"]},{"url":"https://www.vulncheck.com/advisories/ray-unsafe-deserialization-rce-via-webdataset-reader","source":"disclosure@vulncheck.com","tags":["Third Party Advisory"]},{"url":"https://github.com/ray-project/ray/security/advisories/GHSA-hhrp-gw25-jr43","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":["Exploit","Mitigation","Patch","Vendor Advisory"]}]}