{"api_version":"1","generated_at":"2026-05-13T11:01:17+00:00","cve":"CVE-2026-4296","urls":{"html":"https://cve.report/CVE-2026-4296","api":"https://cve.report/api/cve/CVE-2026-4296.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-4296","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-4296"},"summary":{"title":"Incorrect Regular Expression vulnerability in GitHub Enterprise Server allowed unauthorized access to user accounts via OAuth callback URL validation bypass","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.","state":"PUBLISHED","assigner":"GitHub_P","published_at":"2026-04-21 23:16:21","updated_at":"2026-04-29 12:39:18"},"problem_types":["CWE-185","CWE-185 CWE-185 Incorrect Regular Expression"],"metrics":[{"version":"4.0","source":"product-cna@github.com","type":"Secondary","score":"7.5","severity":"HIGH","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","data":{"version":"4.0","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}},{"version":"4.0","source":"CNA","type":"CVSS","score":"7.5","severity":"HIGH","vector":"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","data":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":7.5,"baseSeverity":"HIGH","exploitMaturity":"NOT_DEFINED","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","valueDensity":"NOT_DEFINED","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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"}},{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"8.8","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}}],"references":[{"url":"https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.8","name":"https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.8","refsource":"product-cna@github.com","tags":["Release Notes","Vendor Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.14","name":"https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.14","refsource":"product-cna@github.com","tags":["Release Notes","Vendor Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://docs.github.com/en/enterprise-server@3.15/admin/release-notes#3.15.21","name":"https://docs.github.com/en/enterprise-server@3.15/admin/release-notes#3.15.21","refsource":"product-cna@github.com","tags":["Release Notes","Vendor Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://docs.github.com/en/enterprise-server@3.14/admin/release-notes#3.14.26","name":"https://docs.github.com/en/enterprise-server@3.14/admin/release-notes#3.14.26","refsource":"product-cna@github.com","tags":["Release Notes","Vendor Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.5","name":"https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.5","refsource":"product-cna@github.com","tags":["Release Notes","Vendor Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://docs.github.com/en/enterprise-server@3.16/admin/release-notes#3.16.17","name":"https://docs.github.com/en/enterprise-server@3.16/admin/release-notes#3.16.17","refsource":"product-cna@github.com","tags":["Release Notes","Vendor Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.1","name":"https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.1","refsource":"product-cna@github.com","tags":["Release Notes","Vendor Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-4296","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4296","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"GitHub","product":"Enterprise Server","version":"affected 3.14.0 3.14.25 semver","platforms":[]},{"source":"CNA","vendor":"GitHub","product":"Enterprise Server","version":"affected 3.15.0 3.15.20 semver","platforms":[]},{"source":"CNA","vendor":"GitHub","product":"Enterprise Server","version":"affected 3.16.0 3.16.16 semver","platforms":[]},{"source":"CNA","vendor":"GitHub","product":"Enterprise Server","version":"affected 3.17.0 3.17.13 semver","platforms":[]},{"source":"CNA","vendor":"GitHub","product":"Enterprise Server","version":"affected 3.18.0 3.18.7 semver","platforms":[]},{"source":"CNA","vendor":"GitHub","product":"Enterprise Server","version":"affected 3.19.0 3.19.4 semver","platforms":[]},{"source":"CNA","vendor":"GitHub","product":"Enterprise Server","version":"affected 3.20.0 3.20.1 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"ahacker1","lang":"en"},{"source":"CNA","value":"hacktron","lang":"en"}],"nvd_cpes":[{"cve_year":"2026","cve_id":"4296","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"github","cpe5":"enterprise_server","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"4296","cve":"CVE-2026-4296","epss":"0.000500000","percentile":"0.154920000","score_date":"2026-04-22","updated_at":"2026-04-23 00:03:13"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-4296","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","timestamp":"2026-04-22T13:16:42.627751Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-04-22T13:16:53.004Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"defaultStatus":"affected","product":"Enterprise Server","vendor":"GitHub","versions":[{"changes":[{"at":"3.14.26","status":"unaffected"}],"lessThanOrEqual":"3.14.25","status":"affected","version":"3.14.0","versionType":"semver"},{"changes":[{"at":"3.15.21","status":"unaffected"}],"lessThanOrEqual":"3.15.20","status":"affected","version":"3.15.0","versionType":"semver"},{"changes":[{"at":"3.16.17","status":"unaffected"}],"lessThanOrEqual":"3.16.16","status":"affected","version":"3.16.0","versionType":"semver"},{"changes":[{"at":"3.17.14","status":"unaffected"}],"lessThanOrEqual":"3.17.13","status":"affected","version":"3.17.0","versionType":"semver"},{"changes":[{"at":"3.18.8","status":"unaffected"}],"lessThanOrEqual":"3.18.7","status":"affected","version":"3.18.0","versionType":"semver"},{"changes":[{"at":"3.19.5","status":"unaffected"}],"lessThanOrEqual":"3.19.4","status":"affected","version":"3.19.0","versionType":"semver"},{"changes":[{"at":"3.20.1","status":"unaffected"}],"lessThan":"3.20.1","status":"affected","version":"3.20.0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"finder","value":"ahacker1"},{"lang":"en","type":"finder","value":"hacktron"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","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>"}],"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."}],"impacts":[{"capecId":"CAPEC-115","descriptions":[{"lang":"en","value":"CAPEC-115 Authentication Bypass"}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":7.5,"baseSeverity":"HIGH","exploitMaturity":"NOT_DEFINED","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","valueDensity":"NOT_DEFINED","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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-185","description":"CWE-185 Incorrect Regular Expression","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-04-21T22:12:45.356Z","orgId":"82327ea3-741d-41e4-88f8-2cf9e791e760","shortName":"GitHub_P"},"references":[{"tags":["release-notes"],"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"}],"source":{"discovery":"UNKNOWN"},"title":"Incorrect Regular Expression vulnerability in GitHub Enterprise Server allowed unauthorized access to user accounts via OAuth callback URL validation bypass","x_generator":{"engine":"Vulnogram 0.5.0"}}},"cveMetadata":{"assignerOrgId":"82327ea3-741d-41e4-88f8-2cf9e791e760","assignerShortName":"GitHub_P","cveId":"CVE-2026-4296","datePublished":"2026-04-21T22:12:45.356Z","dateReserved":"2026-03-16T17:48:03.040Z","dateUpdated":"2026-04-22T13:16:53.004Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-04-21 23:16:21","lastModifiedDate":"2026-04-29 12:39:18","problem_types":["CWE-185","CWE-185 CWE-185 Incorrect Regular Expression"],"metrics":{"cvssMetricV40":[{"source":"product-cna@github.com","type":"Secondary","cvssData":{"version":"4.0","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}],"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*","versionEndExcluding":"3.14.26","matchCriteriaId":"72A92258-9FCC-41E0-856B-3C2A495575A6"},{"vulnerable":true,"criteria":"cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*","versionStartIncluding":"3.15.0","versionEndExcluding":"3.15.21","matchCriteriaId":"3A14A459-881C-437A-88EC-D721E3005329"},{"vulnerable":true,"criteria":"cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16.0","versionEndExcluding":"3.16.17","matchCriteriaId":"8B7DCD9A-2CF0-4D96-AA96-ACEC662A8E1F"},{"vulnerable":true,"criteria":"cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17.0","versionEndExcluding":"3.17.14","matchCriteriaId":"CEC2ADE6-3E31-4889-9A73-B6695FE0AB52"},{"vulnerable":true,"criteria":"cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*","versionStartIncluding":"3.18.0","versionEndExcluding":"3.18.8","matchCriteriaId":"9B15B12E-00A8-48E8-81DE-54506B94A2C5"},{"vulnerable":true,"criteria":"cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19.0","versionEndExcluding":"3.19.5","matchCriteriaId":"56903EAF-4579-4263-AB0F-863323E7C81A"},{"vulnerable":true,"criteria":"cpe:2.3:a:github:enterprise_server:3.20.0:*:*:*:*:*:*:*","matchCriteriaId":"DCA4F97D-688E-45D2-90C0-8A11E9B531AA"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"4296","Ordinal":"1","Title":"Incorrect Regular Expression vulnerability in GitHub Enterprise ","CVE":"CVE-2026-4296","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"4296","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Incorrect Regular Expression vulnerability in GitHub Enterprise "}]}}}