Skip to content

GitHub Enterprise Server

Pre-Receive Hook Path Collision Vulnerability in GitHub Enterprise Server Allowing Privilege Escalation

CVE-2025-11578Published 10 Nov 2025, 22:44 UTC

Real-world risk

0.3/ 10Low

Routine

If the vulnerable configuration applies to you: 0.8

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.5

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_P)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
GitHub Enterprise ServerWidespread>= 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—

What to do

Check the vendor advisory in the references below for fixed versions and workarounds.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededHighAdmin or equivalentFrom the CVSS vector0.20
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.7% chance of exploitation in 30 days (percentile 55), as of 2026-12-04.

The arithmetic
  1. Prerequisites multiplied together0.041
  2. Threat T1: Nothing known0.850
  3. 10 × impact 1 × prerequisites 0.0405 × threat 0.850.344
  4. Rounded to one decimal between 0.1 and 100.3

How the score works

Exploitation and evidence timeline

  1. 10 Nov 2025 Published
  2. 3 Dec 2026 Risk 0.3 (cvss fallback)

Weakness

CWE-59

References

Get alerts for GitHub Enterprise Server

Free email or text alerts when a vulnerability in GitHub Enterprise Server reaches risk 8 or higher. Nothing else.