High severity · published Apr 21, 2026
CVE-2026-4296
Incorrect Regular Expression vulnerability in GitHub Enterprise Server allowed unauthorized access to user accounts via OAuth callback URL validation bypass
8.8
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 37% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
ES
Enterprise Server · GitHub
3.14.0 through 3.14.25; 3.15.0 through 3.15.20; 3.16.0 through 3.16.16; 3.17.0 through 3.17.13; 3.18.0 through 3.18.7; 3.19.0 through 3.19.4; +1 more · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-4296
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-4296
Release Notes
https://docs.github.com/en/enterprise-server@3.14/admin/release-notes#3.14.26
Release Notes
https://docs.github.com/en/enterprise-server@3.15/admin/release-notes#3.15.21
Release Notes
https://docs.github.com/en/enterprise-server@3.16/admin/release-notes#3.16.17
Release Notes
https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.14
Release Notes
https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.8
Release Notes
https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.5
More from Enterprise Server
9.8
CVE-2026-77987
GitHub Enterprise Server notebook viewer vulnerable to Server-side request forgery
9.8
CVE-2026-8034
Server-side request forgery vulnerability in GitHub Enterprise Server notebook viewer via URL parser confusion
9.8
CVE-2024-6800
An XML signature wrapping vulnerability was present in GitHub Enterprise Server (GHES) when using SAML authentication with specific identity providers utilizing publicly exposed…
9.8
CVE-2024-4985
An authentication bypass vulnerability was present in the GitHub Enterprise Server (GHES) when utilizing SAML single sign-on authentication with the optional encrypted assertions…
9.8
CVE-2024-0200
An unsafe reflection vulnerability was identified in GitHub Enterprise Server that could lead to reflection injection
