CVE-2026-4296 in Github Enterprise Server
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,...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected 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
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-4296 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-271970-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2026-04-21 |
| Last modified | 2026-10-26 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-185: CWE-185
Related attack patterns (CAPEC)
CAPEC-79 Using Slashes in Alternate Encoding via CWE-185
CAPEC-6 Argument Injection via CWE-185
CAPEC-15 Command Delimiters via CWE-185
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
An incorrect regular expression vulnerability in GitHub Enterprise Server allows attackers to bypass OAuth redirect URI validation, enabling unauthorized redirection of OAuth authorization codes to attacker-controlled domains.
An attacker with knowledge of a first-party OAuth application's registered callback URL can craft a malicious authorization link. When a victim clicks this link, the OAuth authorization code is redirected to an attacker-controlled domain, potentially leading to unauthorized access.
Questions
What is CVE-2026-4296?
An incorrect regular expression vulnerability in GitHub Enterprise Server allows attackers to bypass OAuth redirect URI validation, enabling unauthorized redirection of OAuth authorization codes to attacker-controlled domains.
What is the CVSS score for CVE-2026-4296?
CVE-2026-4296 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 0.8%.
Is CVE-2026-4296 actively exploited?
No confirmed active exploitation of CVE-2026-4296 as of 2026-11-03.
How do I remediate CVE-2026-4296?
Priority: IMMEDIATE. Advisory: https://docs.github.com/en/[email protected]/admin/release-notes#3.14.26
What systems are affected by CVE-2026-4296?
CVE-2026-4296 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"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.