Server-Side Request Forgery (SSRF) in PyTorch - #VU163098

 

Server-Side Request Forgery (SSRF) in PyTorch - #VU163098

Published: September 29, 2025 / Updated: November 9, 2026


Vulnerability identifier: #VU163098
CSH Severity: Medium
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-918
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

PyTorch

Remediation

Install security update from vendor's website.

PyTorch - update to 2.9.0

External References

Related Security Bulletins