A Server-Side Request Forgery (SSRF) vulnerability in GitHub Enterprise Server allowed remote code execution on affected instances. The flaw was due to insufficient network isolation, enabling malicious pre-receive hook code to impersonate internal services and redirect trusted requests to privileged services, resulting in elevated code execution. Exploitation required pre-receive hook networking to be enabled and either site administrator privileges or write access to a repository with a configured pre-receive hook. The vulnerability affected all versions prior to 3.22 and was fixed in several 3.17 to 3.21 patch releases.