{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-4296","assignerOrgId":"82327ea3-741d-41e4-88f8-2cf9e791e760","state":"PUBLISHED","assignerShortName":"GitHub_P","dateReserved":"2026-03-16T17:48:03.040Z","datePublished":"2026-04-21T22:12:45.356Z","dateUpdated":"2026-04-22T13:16:53.004Z"},"containers":{"cna":{"providerMetadata":{"orgId":"82327ea3-741d-41e4-88f8-2cf9e791e760","shortName":"GitHub_P","dateUpdated":"2026-04-21T22:12:45.356Z"},"title":"Incorrect Regular Expression vulnerability in GitHub Enterprise Server allowed unauthorized access to user accounts via OAuth callback URL validation bypass","problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-185","description":"CWE-185 Incorrect Regular Expression","type":"CWE"}]}],"impacts":[{"capecId":"CAPEC-115","descriptions":[{"lang":"en","value":"CAPEC-115 Authentication Bypass"}]}],"affected":[{"vendor":"GitHub","product":"Enterprise Server","versions":[{"status":"affected","version":"3.14.0","lessThanOrEqual":"3.14.25","changes":[{"at":"3.14.26","status":"unaffected"}],"versionType":"semver"},{"status":"affected","version":"3.15.0","lessThanOrEqual":"3.15.20","changes":[{"at":"3.15.21","status":"unaffected"}],"versionType":"semver"},{"status":"affected","version":"3.16.0","lessThanOrEqual":"3.16.16","changes":[{"at":"3.16.17","status":"unaffected"}],"versionType":"semver"},{"status":"affected","version":"3.17.0","lessThanOrEqual":"3.17.13","changes":[{"at":"3.17.14","status":"unaffected"}],"versionType":"semver"},{"status":"affected","version":"3.18.0","lessThanOrEqual":"3.18.7","changes":[{"at":"3.18.8","status":"unaffected"}],"versionType":"semver"},{"status":"affected","version":"3.19.0","lessThanOrEqual":"3.19.4","changes":[{"at":"3.19.5","status":"unaffected"}],"versionType":"semver"},{"status":"affected","version":"3.20.0","lessThan":"3.20.1","changes":[{"at":"3.20.1","status":"unaffected"}],"versionType":"semver"}],"defaultStatus":"affected"}],"descriptions":[{"lang":"en","value":"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.","supportingMedia":[{"type":"text/html","base64":false,"value":"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.<br>"}]}],"references":[{"url":"https://docs.github.com/en/enterprise-server@3.14/admin/release-notes#3.14.26","tags":["release-notes"]},{"url":"https://docs.github.com/en/enterprise-server@3.15/admin/release-notes#3.15.21","tags":["release-notes"]},{"url":"https://docs.github.com/en/enterprise-server@3.16/admin/release-notes#3.16.17","tags":["release-notes"]},{"url":"https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.14","tags":["release-notes"]},{"url":"https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.8","tags":["release-notes"]},{"url":"https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.5","tags":["release-notes"]},{"url":"https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.1","tags":["release-notes"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":7.5,"vectorString":"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"}}],"credits":[{"lang":"en","value":"ahacker1","type":"finder"},{"lang":"en","value":"hacktron","type":"finder"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.5.0"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-22T13:16:42.627751Z","id":"CVE-2026-4296","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-04-22T13:16:53.004Z"}}]}}