CVE-2025-11578
Pre-Receive Hook Path Collision Vulnerability in GitHub Enterprise Server Allowing Privilege Escalation
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running GitHub Enterprise Server >= 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
Vulnerability facts
- Affected
- GitHub Enterprise Server >= 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
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.5 (v4.0, CNA)CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Attack requirements: Present
- Privileges required: High
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 1.15% chance of exploitation in 30 days (percentile 67, 2026-11-26)
- CWE
- CWE-59
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| GitHub Enterprise Server | >= 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 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-11578. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-11578.md Affected: GitHub Enterprise Server >= 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 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for GitHub Enterprise Server: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://docs.github.com/en/enterprise-server@3.14/admin/release-notes#3.14.20
- https://docs.github.com/en/enterprise-server@3.15/admin/release-notes#3.15.15
- https://docs.github.com/en/enterprise-server@3.16/admin/release-notes#3.16.11
- https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.8
- https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.2
FAQ
Is CVE-2025-11578 being exploited?
There is no confirmed exploitation: CVE-2025-11578 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.15% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-11578?
High: CVSS 7.5 (v4.0, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2025-11578?
GitHub Enterprise Server >= 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.
Is there a fix for CVE-2025-11578?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-11578?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.