Server-Side Request Forgery vulnerability in GitHub Enterprise Server allowed remote code execution via network access from pre-receive hooks to internal services
CVE-2026-76851Published 1 Sep 2026, 21:55 UTC
Real-world risk
2.3/ 10Low
Routine
If the vulnerable configuration applies to you: 5.1
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.7
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_P)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| GitHub Enterprise ServerWidespread | >= 3.17.0, <= 3.17.19; >= 3.18.0, <= 3.18.13; >= 3.19.0, <= 3.19.10; >= 3.20.0, <= 3.20.6; >= 3.21.0, <= 3.21.4 | 3.22.0 |
What to do
Update to a fixed version: 3.22.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.5% chance of exploitation in 30 days (percentile 45), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.270
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.27 × threat 0.852.295
- Rounded to one decimal between 0.1 and 102.3
Exploitation and evidence timeline
- 1 Sep 2026 Published
- 3 Dec 2026 Risk 2.3 (cvss fallback)
Weakness
CWE-918
References
- https://docs.github.com/en/[email protected]/admin/release-notes#3.17.20release-notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.18.14release-notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.19.11release-notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.20.7release-notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.21.5release-notes
- CVE-2026-76851 on CVE.org