CVE & CISA-KEV Catalog

CVE-2026-5845

CRITICAL
9.6
CVSS v3
NVD

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.

How to fix

Remediation Available
enterprise serverNVD
Affected:>= 3.19.0, < 3.19.5Fixed in:3.19.5CVE-2026-5845derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeChanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Exploit Intelligence

0.23%probability of exploitation in 30 days
14thpercentile

Low risk: more likely to be exploited than 14% of all known CVEs.

References

Related Vulnerabilities

Other CWE-639 (Authorization Bypass Through User-Controlled Key) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-6875Critical9.890%--
CVE-2024-46982High7.561%-Fix
CVE-2021-45428Critical9.857%--
CVE-2019-17382Critical9.154%-Fix
CVE-2019-13360Critical9.824%--
CVE-2023-48783Medium5.422%-Fix
Embed a live status badge for CVE-2026-5845
CVE-2026-5845 severity badge

Markdown

[![CVE-2026-5845](https://tridentstack.com/cve/badge/CVE-2026-5845.svg)](https://tridentstack.com/cve/CVE-2026-5845)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-5845"><img src="https://tridentstack.com/cve/badge/CVE-2026-5845.svg" alt="CVE-2026-5845"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-29.