提交 #774681: pytorch PyTorch 2.10.0 Release deserialize信息

标题pytorch PyTorch 2.10.0 Release deserialize
描述This PR addresses a potential security vulnerability discovered during an analysis of the .pt2 loading mechanism. Currently, torch.export.load lacks a parameter to enforce secure deserialization. If a user unknowingly loads an untrusted .pt2 file that contains use_pickle: True in its weights config, or if the file triggers the exception fallback within deserialize_torch_artifact, the system implicitly falls back to using pickle (weights_only=False). This behavior introduces a significant risk of arbitrary code execution.
来源⚠️ https://github.com/pytorch/pytorch/pull/176791
用户
 ez-lbz (UID 87033)
提交2026-03-07 12時05分 (7 月前)
管理2026-03-21 09時13分 (14 days later)
状态已接受
VulDB条目352326 [PyTorch 2.10.0 pt2 Loading 权限提升]
积分20

Do you know our Splunk app?

Download it now for free!