Skip to main content

GitHub Enterprise Server CVE-2026-4296

| EUVDEUVD-2026-24545 HIGH
Incorrect Regular Expression (CWE-185)
2026-04-21 product-cna@github.com GHSA-mcp7-23p7-2v34
7.5
CVSS 4.0 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify first-party OAuth app callback URL
  2. Delivery
    Craft authorization link bypassing redirect regex
  3. Exploit
    Phish victim to click link
  4. Execution
    Victim's browser completes OAuth flow
  5. Persist
    Authorization code redirected to attacker domain
  6. Impact
    Exchange code for account access within app scopes

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Incorrect input validation
Exploitation Conditions

Exploitation requires all of the following concrete prerequisites: (1) the attacker must know a first-party OAuth application's registered callback URL on the target GitHub Enterprise Server instance (the AT:P attack requirement); (2) the attacker must craft a malicious authorization link whose redirect_uri abuses the incorrect redirect-URI validation regex; and (3) a victim must actively click that link while authenticated, so the authorization flow completes (UI:P / passive user interaction). Limiting factors that reduce realistic risk: the CVSS vector indicates low-privilege access is needed (PR:L), the attack is not automatable per CISA SSVC, and the resulting access is bounded by the scopes granted to the abused OAuth application. Instances on 3.21+ or any of the fixed point releases are not affected.

Impact

Signals point to a genuine but not urgent, mass-scannable threat. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:P) shows the attack is network-borne but gated by three real hurdles: a present attack requirement (AT:P - knowing the registered callback URL), low-privilege access (PR:L), and passive victim interaction (UI:P - the victim must click the malicious link). Technical impact is rated 'total' (VC:H/VI:H/VA:H) reflecting full account compromise, but SSVC marks Exploitation: none and Automatable: no, and EPSS is 0.05% (15th percentile) - consistent with a targeted, social-engineering-dependent attack rather than worm-like exploitation. There is no KEV listing and no known POC. Note a tension worth flagging: the VA:H (availability) rating is generous for what is fundamentally a token-theft/account-access issue whose real impact is bounded by the compromised OAuth app's scopes; confidentiality and integrity impact are the substantive risks. Overall: a legitimate account-takeover vector that merits prompt patching but is not a drop-everything, internet-wide emergency.

Exploit ScenarioDerived

An attacker who knows the registered callback URL of a first-party OAuth app on a target GHES instance crafts an authorization link whose redirect_uri passes the flawed regex but resolves to a domain they control. They send the link to a logged-in victim (e.g., via a phishing message); when the victim clicks and their browser completes the authorization flow, the OAuth authorization code is redirected to the attacker's domain, which the attacker exchanges for access to the victim's account within the app's granted scopes. No public exploit code is identified at time of analysis, and success depends on the victim clicking the crafted link.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

Account takeover in GitHub Enterprise Server (all versions prior to 3.21) is possible through an OAuth redirect URI validation bypass caused by a flawed regular expression (CWE-185). An attacker who knows a first-party OAuth application's registered callback URL can craft a malicious authorization link that leaks the victim's OAuth authorization code to an attacker-controlled domain, granting access to the victim's account with the scopes of that application. Reported via the GitHub Bug Bounty program; there is no public exploit identified at time of analysis, EPSS is very low (0.05%), and CISA SSVC records exploitation status as none.

RemediationAI

Vendor-released patch: upgrade to GitHub Enterprise Server 3.20.1, 3.19.5, 3.18.8, 3.17.14, 3.16.17, 3.15.21, or 3.14.26 depending on your branch - each is documented in the corresponding admin release notes (e.g., https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.5 and the equivalent @3.14 through @3.20 pages). Upgrading the appliance is the definitive fix and should be prioritized because no in-product configuration toggle disables the vulnerable redirect-validation path. Until you can patch, compensating controls are limited but useful: audit and minimize the scopes granted to first-party OAuth applications so a leaked code yields the least access; review OAuth app registrations and, where feasible, tighten or rotate registered callback URLs to reduce the pool of abusable first-party apps; and educate/administratively warn users against clicking unexpected 'authorize' links, since exploitation requires victim interaction. These controls reduce blast radius and likelihood but do not close the underlying regex bypass, so they are stopgaps rather than a substitute for the upgrade.

Affected VersionsENISA

Enterprise Server 3.20.0 <3.20.1
Enterprise Server 3.19.0 ≤3.19.4
Enterprise Server 3.17.0 ≤3.17.13
Enterprise Server 3.15.0 ≤3.15.20
Enterprise Server 3.14.0 ≤3.14.25
Enterprise Server 3.18.0 ≤3.18.7
Enterprise Server 3.16.0 ≤3.16.16

Affected Packages

euvd enterprise_server fix: 3.20.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw sits in the OAuth 2.0 authorization-code flow of GitHub Enterprise Server, the self-hosted appliance version of GitHub. During authorization, the server must validate that the redirect_uri in an authorization request exactly matches the callback URL registered for the OAuth application. CWE-185 (Incorrect Regular Expression) means the validation regex was too permissive - likely unanchored or improperly escaping the URL structure - so a crafted redirect_uri that superficially matches the registered callback but points to an attacker domain passes validation. Because the authorization code is delivered to whatever redirect target survives validation, a regex weakness here directly translates into credential/token leakage. CPE data confirms the affected component is cpe:2.3:a:github:enterprise_server across the 3.14-3.20 branches, including the explicitly listed 3.20.0 build.

Know when Github gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 7.5 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.3 HIGH

Victim must click a crafted authorization link (UI:R) and attacker needs low-priv access plus the app's callback URL; stolen OAuth code grants account access (C:H/I:H) with no direct availability loss (A:N).

3.1 AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Patch released
Apr 29, 2026 - 12:39 nvd
Patch available
Patch available
Apr 22, 2026 - 02:01 EUVD
CVE Published
Apr 21, 2026 - 23:16 nvd
HIGH 7.5

DescriptionGitHub Advisory

An incorrect regular expression vulnerability was identified in GitHub Enterprise Server that allowed an attacker to bypass OAuth redirect URI validation. An attacker with knowledge of a first-party OAuth application's registered callback URL could craft a malicious authorization link that, when clicked by a victim, would redirect the OAuth authorization code to an attacker-controlled domain. This could allow the attacker to gain unauthorized access to the victim's account with the scopes granted to the OAuth application. 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, 3.14.26. This vulnerability was reported via the GitHub Bug Bounty program.

Executive ViewAI

Why It Matters

GitHub Enterprise Server versions prior to 3.21 are vulnerable to account takeover through malicious OAuth redirect manipulation, threatening all users of GitHub-integrated applications. Successful exploitation could grant attackers access to source code repositories, development infrastructure, and stored organizational credentials.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 85% exploitable
Prevalence
Medium
self-hosted enterprise Git appliance, common in large orgs but not ubiquitous
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Github

View all
CVE-2026-1699 CRITICAL POC
10.0 Jan 30

Supply chain vulnerability in Eclipse Theia GitHub Actions workflow. The preview.yml workflow uses pull_request_target w

CVE-2026-27941 CRITICAL POC
9.9 Feb 26

Supply chain attack vector in OpenLIT GitHub Actions workflows. The pull_request_target trigger with checkout enables ma

CVE-2026-22869 CRITICAL POC
9.8 Jan 13

Eigent multi-agent workflow CI pipeline (ci.yml) uses pull_request_target with checkout of untrusted PR code, enabling a

CVE-2024-0200 CRITICAL POC
9.8 Jan 16

An unsafe reflection vulnerability was identified in GitHub Enterprise Server that could lead to reflection injection. R

CVE-2022-24724 CRITICAL POC
9.8 Mar 03

cmark-gfm is GitHub's extended version of the C reference implementation of CommonMark. Rated critical severity (CVSS 9.

CVE-2024-9487 CRITICAL POC
9.5 Oct 10

An improper verification of cryptographic signature vulnerability was identified in GitHub Enterprise Server that allowe

CVE-2026-28215 CRITICAL POC
9.1 Feb 26

Unauthenticated infrastructure overwrite in Hoppscotch API development ecosystem before 2026.2.0. Attackers can overwrit

CVE-2018-1000600 HIGH POC
8.8 Jun 26

A exposure of sensitive information vulnerability exists in Jenkins GitHub Plugin 1.29.1 and earlier in GitHubTokenCrede

CVE-2026-30920 HIGH POC
8.6 Mar 10

OneUptime versions prior to 10.0.19 allow unauthenticated attackers to hijack GitHub App integrations across projects by

CVE-2026-25221 HIGH POC
8.1 Feb 02

PolarLearn versions 0-PRERELEASE-15 and earlier lack proper state parameter validation in OAuth 2.0 authentication, enab

CVE-2026-23644 HIGH POC
7.5 Jan 18

Path traversal in esm.sh CDN prior to version 0.0.0-20260116051925-c62ab83c589e allows unauthenticated remote attackers

CVE-2024-42471 HIGH POC
7.5 Sep 02

actions/artifact is the GitHub ToolKit for developing GitHub Actions. Rated high severity (CVSS 7.5), this vulnerability

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy