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

State
Published
Severity
7.7 High
Published
Sep 1, 2026
Updated
Sep 2, 2026
Reserved
Aug 19, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.7 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NGitHub_P

Weaknesses

  • CWE-918 Server-Side Request Forgery (SSRF)

Affected Products

ProductVersions
Enterprise ServerGitHub
  • 3.17.0 through 3.17.19Affectedfrom 3.17.20Not affected
  • 3.18.0 through 3.18.13Affectedfrom 3.18.14Not affected
  • 3.19.0 through 3.19.10Affectedfrom 3.19.11Not affected
  • 3.20.0 through 3.20.6Affectedfrom 3.20.7Not affected
  • 3.21.0 through 3.21.4Affectedfrom 3.21.5Not affected
  • 3.22.0Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.