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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| GitHub | Enterprise Server | >= 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 |
References
- https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.20Release Notes, Vendor Advisory
- https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.14Release Notes, Vendor Advisory
- https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.11Release Notes, Vendor Advisory
- https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.7Release Notes, Vendor Advisory
- https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.5Release Notes, Vendor Advisory
Timeline
- Published
- Sep 1, 2026
- Last modified
- Sep 8, 2026
- NVD status
- Analyzed