BreachSpiderVerified, not vibes

CVE-2026-5845 in Github Enterprise Server

Critical 9.6

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/del...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.6
CVSS v47.2
EPSS0.5%
EPSS percentile36th
FixSee advisory

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Github Enterprise Server < 3.14.26 ≥ 3.15.0, < 3.15.21 ≥ 3.16.0, < 3.16.17 ≥ 3.17.0, < 3.17.14 ≥ 3.18.0, < 3.18.8 ≥ 3.19.0, < 3.19.5
+1 more≥ 3.20.0, < 3.20.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-5845
BreachSpider IDBS-2026-GLOBAL-222019-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Published2026-04-21
Last modified2026-10-26
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-639: Authorization Bypass Through User-Controlled Key (IDOR)

Software uses a user-supplied key to access resources without verifying authorization for that specific resource.

Analysis AI-written, not human-reviewed

An improper authorization vulnerability in scoped user-to-server (ghu_) token authorization in GitHub Enterprise Server allows authenticated attackers to access and potentially modify private repositories outside their intended scope.

The vulnerability arises from an authorization fallback mechanism that incorrectly treats a revoked or deleted installation as a global installation context, enabling unauthorized access to private repositories.

Questions

What is CVE-2026-5845?

An improper authorization vulnerability in scoped user-to-server (ghu_) token authorization in GitHub Enterprise Server allows authenticated attackers to access and potentially modify private repositories outside their intended scope.

What is the CVSS score for CVE-2026-5845?

CVE-2026-5845 has CVSS 9.6 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N. EPSS: 0.5%.

Is CVE-2026-5845 actively exploited?

No confirmed active exploitation of CVE-2026-5845 as of 2026-11-03.

How do I remediate CVE-2026-5845?

Priority: IMMEDIATE. Advisory: https://docs.github.com/en/[email protected]/admin/release-notes#3.14.26

What systems are affected by CVE-2026-5845?

CVE-2026-5845 affects Github Enterprise Server.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Github","product":"Enterprise Server","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.