Server-Side Request Forgery (SSRF) in PyTorch - #VU163098
Published: September 29, 2025 / Updated: November 9, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to bypass hostname checks and redirect requests to unintended IP addresses when a victim interacts with an application processing attacker-controlled hostnames.
The vulnerability exists due to hostname truncation without null termination in libuv used by PyTorch's TensorPipe when hostnames exceed 256 characters. An unauthenticated remote attacker can supply a crafted hostname that resolves to an unintended address, enabling server-side request forgery.