# CVE-2026-76851: Server-Side Request Forgery vulnerability in GitHub Enterprise Server allowed remote code execution via network access from pre-receive hooks to internal services

- Severity: High 7.7 (CVSS:4.0, scored by GitHub_P) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 44% of CVEs (2026-12-01)
- Published: 2026-09-01T21:55:10.149Z
- Modified: 2026-09-08T13:05:37.213Z
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_P

## 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.

(As written by CVE List.)

## Affected

- GitHub Enterprise Server: from 3.17.0 up to 3.17.19; from 3.18.0 up to 3.18.13; from 3.19.0 up to 3.19.10; from 3.20.0 up to 3.20.6; from 3.21.0 up to 3.21.4 (not affected: 3.22.0)
- github enterprise_server: before 3.17.20; from 3.18.0 before 3.18.14; from 3.19.0 before 3.19.11; from 3.20.0 before 3.20.7; from 3.21.0 before 3.21.5

## Every score

- GitHub_P: CVSS:4.0 7.7 High `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`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.20> (release-notes, vendor-advisory)
- <https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.14> (release-notes, vendor-advisory)
- <https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.11> (release-notes, vendor-advisory)
- <https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.7> (release-notes, vendor-advisory)
- <https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.5> (release-notes, vendor-advisory)

## Sources

- CVE List: [CVE-2026-76851](https://www.cve.org/CVERecord?id=CVE-2026-76851), CVE Terms of Use, modified 2026-09-02
- NVD: [CVE-2026-76851](https://nvd.nist.gov/vuln/detail/CVE-2026-76851), Public domain, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-76851 · Whole record: https://cve.day/CVE-2026-76851.json · Rebuilt by cve.day 2026-11-25T22:59:36.038Z
