# CVE-2025-11578: Pre-Receive Hook Path Collision Vulnerability in GitHub Enterprise Server Allowing Privilege Escalation

- Priority: **Routine**
- Reason: Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-11-10 · Modified: 2025-12-02
- Record: https://cvemate.com/vulnerability/CVE-2025-11578 · JSON: https://cvemate.com/vulnerability/CVE-2025-11578/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v4.0, CVE.org) 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
- EPSS: 0.707%, percentile 54.791%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## 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 \| ≥ 3.14.0, \< 3.14.20 \| ≥ 3.15.0, \< 3.15.15 \| ≥ 3.16.0, \< 3.16.11 \| ≥ 3.17.0, \< 3.17.8 \| ≥ 3.18.0, \< 3.18.2

## References

- <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>

---

Data as of 2026-12-05T08:13:28.616Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
