# CVE-2026-4296: Incorrect Regular Expression vulnerability in GitHub Enterprise Server allowed unauthorized access to user accounts via OAuth callback URL validation bypass

- Severity: High 7.5 (CVSS:4.0, scored by GitHub_P) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-04-21T22:12:45.356Z
- Modified: 2026-10-26T22:10:00.163Z
- Weaknesses: CWE-185
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_P

## 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.

(As written by CVE List.)

## Affected

- GitHub Enterprise Server: from 3.14.0 up to 3.14.25; from 3.15.0 up to 3.15.20; from 3.16.0 up to 3.16.16; from 3.17.0 up to 3.17.13; from 3.18.0 up to 3.18.7; from 3.19.0 up to 3.19.4; from 3.20.0 before 3.20.1
- github enterprise_server: before 3.14.26; from 3.15.0 before 3.15.21; from 3.16.0 before 3.16.17; from 3.17.0 before 3.17.14; from 3.18.0 before 3.18.8; from 3.19.0 before 3.19.5; 3.20.0

## Every score

- GitHub_P: CVSS:4.0 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`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://docs.github.com/en/enterprise-server@3.14/admin/release-notes#3.14.26> (release-notes, vendor-advisory)
- <https://docs.github.com/en/enterprise-server@3.15/admin/release-notes#3.15.21> (release-notes, vendor-advisory)
- <https://docs.github.com/en/enterprise-server@3.16/admin/release-notes#3.16.17> (release-notes, vendor-advisory)
- <https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.14> (release-notes, vendor-advisory)
- <https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.8> (release-notes, vendor-advisory)
- <https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.5> (release-notes, vendor-advisory)
- <https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.1> (release-notes, vendor-advisory)

## Sources

- CVE List: [CVE-2026-4296](https://www.cve.org/CVERecord?id=CVE-2026-4296), CVE Terms of Use, modified 2026-04-22
- NVD: [CVE-2026-4296](https://nvd.nist.gov/vuln/detail/CVE-2026-4296), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-4296 · Whole record: https://cve.day/CVE-2026-4296.json · Rebuilt by cve.day 2026-11-25T22:59:19.211Z
