CVE-2025-11578
published high CVSS 4.0 · 7.5Pre-Receive Hook Path Collision Vulnerability in GitHub Enterprise Server Allowing Privilege Escalation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GitHub | — | Enterprise Server3.14 through 3.14.19 (affected · semver); changes: unaffected at 3.14.20 · 3.15 through 3.15.14 (affected · semver); changes: unaffected at 3.15.15 · 3.16 through 3.16.10 (affected · semver); changes: unaffected at 3.16.11 · 3.17 through 3.17.7 (affected · semver); changes: unaffected at 3.17.8 · 3.18 through 3.18.1 (affected · semver); changes: unaffected at 3.18.2 · Other versions: affected | Version-specific | Not stated | GitHub_P |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_P · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GitHub | Enterprise Server | 3.14 through 3.14.19 (affected · semver); changes: unaffected at 3.14.203.15 through 3.15.14 (affected · semver); changes: unaffected at 3.15.153.16 through 3.16.10 (affected · semver); changes: unaffected at 3.16.113.17 through 3.17.7 (affected · semver); changes: unaffected at 3.17.83.18 through 3.18.1 (affected · semver); changes: unaffected at 3.18.2Default: affected | GitHub_P · cna |
Weaknesses
1- CWE-59 CWE-59 Improper Link Resolution Before File Access ('Link Following')
References
5- 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
Provider assertions
2GitHub_P · cna
Pre-Receive Hook Path Collision Vulnerability in GitHub Enterprise Server Allowing Privilege Escalation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1fc654d64dce740fdc7f78f79cc86510cdb4afaf832987e096a479ae79130c9c
- Ingested
- 23 Sep 2026, 08:36:20 UTC
- Source record
- Official CVE record