fix(polygraphy): use weights_only=True in torch.load to prevent RCE by tailingy · Pull Request #4728 · NVIDIA/TensorRT
…ia pickle deserialization Passing weights_only=True to torch.load() restricts deserialization to tensor data only, blocking arbitrary pickle-based code execution. Fixes NVBugs #5934574 - [PSIRT] Arbitrary Code Execution via unsafe torch.load() in Polygraphy JSON deserialization.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters