CVE-2026-76851
Description
A Server-Side Request Forgery (SSRF) vulnerability was identified in GitHub Enterprise Server that allowed remote code execution on the instance. Insufficient network isolation allowed malicious pre-receive hook code to impersonate an internal service and redirect trusted internal requests to a privileged service, leading to elevated code execution. Exploitation required pre-receive hook networking to be enabled and either site administrator privileges or write access to a repository containing a configured pre-receive hook. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.22 and was fixed in versions 3.17.20, 3.18.14, 3.19.11, 3.20.7, and 3.21.5. This vulnerability was reported via the GitHub Bug Bounty program.
How to fix
- github enterprise_server3.17.20, 3.18.14, 3.19.11, 3.20.7, 3.21.5 or later
- docs.github.com/en/[email protected]/admin/release-notes#3.17.20
- docs.github.com/en/[email protected]/admin/release-notes#3.18.14
- docs.github.com/en/[email protected]/admin/release-notes#3.19.11
- docs.github.com/en/[email protected]/admin/release-notes#3.20.7
- docs.github.com/en/[email protected]/admin/release-notes#3.21.5
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| github enterprise_server | v < 3.17.20, 3.18.0 ≤ v < 3.18.14, 3.19.0 ≤ v < 3.19.11, 3.20.0 ≤ v < 3.20.7, 3.21.0 ≤ v < 3.21.5 | 3.17.20, 3.18.14, 3.19.11, 3.20.7, 3.21.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.