Submit #774681: pytorch PyTorch 2.10.0 Release deserializeinfo

Titlepytorch PyTorch 2.10.0 Release deserialize
DescriptionThis 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.
Source⚠️ https://github.com/pytorch/pytorch/pull/176791
User
 ez-lbz (UID 87033)
Submission03/07/2026 12:05 (2 months ago)
Moderation03/21/2026 09:13 (14 days later)
StatusAccepted
VulDB entry352326 [PyTorch 2.10.0 pt2 Loading deserialization]
Points20

Do you want to use VulDB in your project?

Use the official API to access entries easily!