Skip to content
OAuth / SSO Disclosed report Intermediate CVE-2026-4296

OAuth redirect uri validation bypass for :proxima_first_party_sync apps

An incorrect regular expression in GitHub Enterprise Server allowed bypassing OAuth redirect URI validation. An attacker who knows a first-party OAuth app's registered callback URL could craft a malicious authorization link that redirects the victim's OAuth authorization code to an attacker-controlled domain, potentially gaining unauthorized access to the victim's account with the app's scopes.

ahacker1 Follow

Originally disclosed on HackerOne

  • Triaged in 16 hours
  • Fixed in 5 months
  • Paid in 5 months
  • Disclosed after 5 months

Summary by the program

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.

CVE-2026-4296

The original report as published on HackerOne, by ahacker1. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could gain unauthorized access to the victim's account with the scopes granted to the OAuth application.

What the attacker needed

Knowledge of a first-party OAuth app's callback URL; victim clicks a crafted authorization link

The fix

The vulnerability 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.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

OAuth is a way for apps to ask for permission to access your account without sharing your password. When you click 'authorise', the app sends you back to a pre-approved web address with a secret code. Here, a mistake in checking that address let an attacker trick the system into sending the code to their own site, so they could use it to access your account.

What is OAuth / SSO?

Mistakes in OAuth, OpenID Connect, SAML or token handling that leak codes and tokens or link an attacker's identity to a victim's account.

More by ahacker1

View all

17 more disclosed reports, best first.

More from GitHub

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

OAuth and single sign-on flaws

The lesson behind this report.

Mistakes in OAuth, OpenID Connect, SAML or token handling that leak codes and tokens or link an attacker's identity to a victim's account.