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

- Severity: High 7.5 (CVSS:4.0, scored by GitHub_P) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Published: 2025-11-10T22:44:33.200Z
- Modified: 2026-10-07T21:10:00.200Z
- Weaknesses: CWE-59
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- GitHub Enterprise Server: from 3.14 up to 3.14.19; from 3.15 up to 3.15.14; from 3.16 up to 3.16.10; from 3.17 up to 3.17.7; from 3.18 up to 3.18.1
- github enterprise_server: from 3.14.0 before 3.14.20; from 3.15.0 before 3.15.15; from 3.16.0 before 3.16.11; from 3.17.0 before 3.17.8; from 3.18.0 before 3.18.2

## Every score

- GitHub_P: CVSS:4.0 7.5 High `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`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://docs.github.com/en/enterprise-server@3.14/admin/release-notes#3.14.20> (release-notes, vendor-advisory)
- <https://docs.github.com/en/enterprise-server@3.15/admin/release-notes#3.15.15> (release-notes, vendor-advisory)
- <https://docs.github.com/en/enterprise-server@3.16/admin/release-notes#3.16.11> (release-notes, vendor-advisory)
- <https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.8> (release-notes, vendor-advisory)
- <https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.2> (release-notes, vendor-advisory)

## Sources

- CVE List: [CVE-2025-11578](https://www.cve.org/CVERecord?id=CVE-2025-11578), CVE Terms of Use, modified 2025-12-02
- NVD: [CVE-2025-11578](https://nvd.nist.gov/vuln/detail/CVE-2025-11578), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2025-11578 · Whole record: https://cve.day/CVE-2025-11578.json · Rebuilt by cve.day 2026-11-25T22:59:07.424Z
