| 标题 | 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 |
|---|