CVE-2026-57516 — Ray prior to 2.56.0 contains an unsafe deserialization...
CVE-2026-57516 漏洞深度分析
漏洞概述
CVE 编号: CVE-2026-57516
CVSS 评分: 8.6(HIGH)
CVSS 向量: 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
CWE 分类: CWE-502
漏洞状态: Analyzed
发布时间: 2026-07-01T17:16:37.390
最后更新: 2026-07-14T22:17:23.287
漏洞描述
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.
影响分析
此漏洞的具体影响取决于实际利用场景。"
修复建议
- 及时关注厂商发布的安全更新和补丁
- 升级受影响组件到最新版本
- 如无法立即升级,参考厂商提供的临时缓解措施
- 加强网络访问控制和监控
参考链接
- https://github.com/ray-project/ray/pull/63469
- https://github.com/ray-project/ray/pull/63470
- https://github.com/ray-project/ray/releases/tag/ray-2.56.0
- https://github.com/ray-project/ray/security/advisories/GHSA-hhrp-gw25-jr43
- https://www.vulncheck.com/advisories/ray-unsafe-deserialization-rce-via-webdataset-reader