CVE-2025-11578
GitHub Enterprise Server vulnerability analysis and mitigation

Overview

A privilege escalation vulnerability was identified in GitHub Enterprise Server (CVE-2025-11578) that allowed an authenticated Enterprise admin to gain root SSH access to the appliance by exploiting a symlink escape in pre-receive hook environments. The vulnerability was discovered through the GitHub Bug Bounty program and affected all versions of GitHub Enterprise Server prior to 3.19 (NVD).

Technical details

The vulnerability involves 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. This grants the attacker root SSH access to the server. The vulnerability has been assigned CWE-59 (Improper Link Resolution Before File Access) and requires enterprise admin privileges to exploit (NVD).

Impact

If exploited, this vulnerability allows an authenticated Enterprise admin to escalate their privileges and gain root SSH access to the GitHub Enterprise Server appliance. This level of access would give the attacker complete control over the server and its data (NVD).

Mitigation and workarounds

The vulnerability has been fixed in GitHub Enterprise Server versions 3.14.19, 3.15.14, 3.16.10, 3.17.7 and 3.18.1. Administrators should upgrade their installations to one of these patched versions to mitigate the vulnerability (GitHub Release Notes, GitHub Release Notes, GitHub Release Notes, GitHub Release Notes, GitHub Release Notes).

Additional resources


SourceThis report was generated using AI

Related GitHub Enterprise Server vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14046HIGH8.6
  • GitHub Enterprise ServerGitHub Enterprise Server
  • cpe:2.3:a:github:enterprise_server
NoNoDec 11, 2025
CVE-2025-11892HIGH8.6
  • GitHub Enterprise ServerGitHub Enterprise Server
  • cpe:2.3:a:github:enterprise_server
NoYesNov 10, 2025
CVE-2025-11578HIGH7.5
  • GitHub Enterprise ServerGitHub Enterprise Server
  • cpe:2.3:a:github:enterprise_server
NoYesNov 10, 2025
CVE-2025-8447HIGH7
  • GitHub Enterprise ServerGitHub Enterprise Server
  • cpe:2.3:a:github:enterprise_server
NoYesAug 26, 2025
CVE-2025-6981MEDIUM5.3
  • GitHub Enterprise ServerGitHub Enterprise Server
  • cpe:2.3:a:github:enterprise_server
NoYesJul 15, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management