Pre-Receive Hook Path Collision Vulnerability in GitHub Enterprise Server Allowing Privilege Escalation
CVE-2025-11578Published 10 Nov 2025, 22:44 UTC
Real-world risk
0.3/ 10Low
Routine
If the vulnerable configuration applies to you: 0.8
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.5
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 privilege escalation vulnerability was identified in GitHub Enterprise Server that allowed an authenticated Enterprise admin to gain root SSH access to the appliance by exploiting a symlink escape in pre-receive hook environments. By crafting a malicious repository and environment, an attacker could replace system binaries during hook cleanup and execute a payload that adds their own SSH key to the root user’s authorized keys—thereby granting themselves root SSH access to the server. To exploit this vulnerability, the attacker needed to have enterprise admin privileges. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.19, and was fixed in versions 3.14.20, 3.15.15, 3.16.11, 3.17.8, 3.18.2. 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.14, <= 3.14.19; >= 3.15, <= 3.15.14; >= 3.16, <= 3.16.10; >= 3.17, <= 3.17.7; >= 3.18, <= 3.18.1 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
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 | HighAdmin or equivalent | From the CVSS vector | 0.20 |
| 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 | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.7% chance of exploitation in 30 days (percentile 55), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.041
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.0405 × threat 0.850.344
- Rounded to one decimal between 0.1 and 100.3
Exploitation and evidence timeline
- 10 Nov 2025 Published
- 3 Dec 2026 Risk 0.3 (cvss fallback)
Weakness
CWE-59
References
- https://docs.github.com/en/[email protected]/admin/release-notes#3.14.20
- https://docs.github.com/en/[email protected]/admin/release-notes#3.15.15
- https://docs.github.com/en/[email protected]/admin/release-notes#3.16.11
- https://docs.github.com/en/[email protected]/admin/release-notes#3.17.8
- https://docs.github.com/en/[email protected]/admin/release-notes#3.18.2
- CVE-2025-11578 on CVE.org