Vulnerability · Published Sep 1, 2026 · Assigned by GitHub_P
CVE-2026-76851Server-Side Request Forgery vulnerability in GitHub Enterprise Server allowed remote code execution via network access from pre-receive hooks to internal services
High 7.7
In plain English
A high-severity server-side request forgery in Enterprise Server from GitHub. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 58% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| GitHub | Enterprise Server | 3.17.0 – through 3.17.193.18.0 – through 3.18.133.19.0 – through 3.19.103.20.0 – through 3.20.63.21.0 – through 3.21.4 |
Weakness: CWE-918 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
References
- https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.20 release-notes
- https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.14 release-notes
- https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.11 release-notes
- https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.7 release-notes
- https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.5 release-notes