Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
GitHub Enterprise Server
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 GitHub Enterprise Server 中发现了一个服务端请求伪造(SSRF)漏洞,该漏洞允许在实例上实现远程代码执行。由于网络隔离不足,恶意的 pre-receive 钩子代码可以模拟内部服务,并将受信任的内部请求重定向到具有更高权限的服务,从而导致代码执行权限提升。利用该漏洞需要启用 pre-receive 钩子的网络访问,并且拥有站点管理员权限,或者对包含已配置 pre-receive 钩子的仓库具有写入权限。该漏洞影响 GitHub Enterprise Server 3.22 之前的所有版本

CVSS 7.7 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-76851

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Server-Side Request Forgery vulnerability in GitHub Enterprise Server allowed remote code execution via network access from pre-receive hooks to internal services
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
服务端请求伪造(SSRF)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
GitHub Enterprise Server 3.17.0 ~ 3.17.19 -

II. Public POCs for CVE-2026-76851

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-76851

登录查看更多情报信息。

Other References for CVE-2026-76851 (5)

Same Patch Batch · GitHub · 2026-09-01 · 3 CVEs total

CVE-2026-18730 8.2 HIGH Server-side request forgery vulnerability in GitHub Enterprise Server Manage API leaked a
CVE-2026-19118 7.7 HIGH Race condition vulnerability was identified in GitHub Enterprise Server that allowed remot

IV. Related Vulnerabilities

V. Comments for CVE-2026-76851

No comments yet


Leave a comment