Skip to content

GitHub Enterprise Server

Improper authorization fallback allows scoped user-to-server token installation escape in GitHub Enterprise Server

CVE-2026-5845Published 21 Apr 2026, 22:42 UTC

Real-world risk

1.5/ 10Low

Routine

If the vulnerable configuration applies to you: 3.4

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.2

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)

An improper authorization vulnerability in scoped user-to-server (ghu_) token authorization in GitHub Enterprise Server allows an authenticated attacker to access private repositories outside the intended installation scope, which can include write operations, via an authorization fallback that treated a revoked/deleted installation as a global installation context, which could be chained with token revocation timing and SSH push attribution to obtain and reuse a victim-scoped token. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.21 and was fixed in versions 3.20.1, 3.19.5, 3.18.8, 3.17.14, 3.16.17, 3.15.21, and 3.14.26. This vulnerability was reported via the GitHub Bug Bounty program.

Am I affected?

ProductAffected versions (from the sources)Fixed in
GitHub Enterprise ServerWidespread>= 3.20.0, < 3.20.1; >= 3.19.0, <= 3.19.4; >= 3.18.0, <= 3.18.7; >= 3.17.0, <= 3.17.13; >= 3.16.0, <= 3.16.16; >= 3.15.0, <= 3.15.20; >= 3.14.0, <= 3.14.253.20.1

What to do

Update to a fixed version: 3.20.1.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededLowA real low-privileged accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

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

The arithmetic
  1. Prerequisites multiplied together0.225
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.8 × prerequisites 0.225 × threat 0.851.530
  4. Rounded to one decimal between 0.1 and 101.5

How the score works

Exploitation and evidence timeline

  1. 21 Apr 2026 Published
  2. 3 Dec 2026 Risk 1.5 (cvss fallback)

Weakness

CWE-639

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.