{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-103620","assignerOrgId":"82327ea3-741d-41e4-88f8-2cf9e791e760","state":"PUBLISHED","assignerShortName":"GitHub_P","dateReserved":"2026-09-30T23:02:34.862Z","datePublished":"2026-10-06T18:56:41.101Z","dateUpdated":"2026-10-07T16:32:08.448Z"},"containers":{"cna":{"providerMetadata":{"orgId":"82327ea3-741d-41e4-88f8-2cf9e791e760","shortName":"GitHub_P","dateUpdated":"2026-10-06T18:56:41.101Z"},"title":"Missing authorization in GitHub Enterprise Server allowed repository writers to replace default branches via GraphQL","problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-862","description":"CWE-862 Missing Authorization","type":"CWE"}]}],"impacts":[{"capecId":"CAPEC-1","descriptions":[{"lang":"en","value":"CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs"}]}],"affected":[{"vendor":"GitHub","product":"Enterprise Server","versions":[{"status":"affected","version":"3.18.0","lessThan":"3.18.*","changes":[{"at":"3.18.16","status":"unaffected"}],"versionType":"semver"},{"status":"affected","version":"3.19.0","lessThan":"3.19.*","changes":[{"at":"3.19.13","status":"unaffected"}],"versionType":"semver"},{"status":"affected","version":"3.20.0","lessThan":"3.20.*","changes":[{"at":"3.20.9","status":"unaffected"}],"versionType":"semver"},{"status":"affected","version":"3.21.0","lessThan":"3.21.*","changes":[{"at":"3.21.7","status":"unaffected"}],"versionType":"semver"},{"status":"affected","version":"3.22.0","lessThan":"3.22.*","changes":[{"at":"3.22.2","status":"unaffected"}],"versionType":"semver"}],"defaultStatus":"unknown"}],"descriptions":[{"lang":"en","value":"A missing authorization vulnerability was identified in GitHub Enterprise Server that allowed a repository collaborator with write access to delete the current default branch through the GraphQL API and cause an attacker-controlled branch to become the new default. In repositories that required pull-request review but did not restrict branch deletion, this bypassed the review requirement and caused fresh clones and default-branch API requests to use attacker-controlled content. This vulnerability affected supported GitHub Enterprise Server releases in the 3.18, 3.19, 3.20, 3.21, and 3.22 series and was fixed in versions 3.18.16, 3.19.13, 3.20.9, 3.21.7, and 3.22.2. This vulnerability was reported via the GitHub Bug Bounty program.","supportingMedia":[{"type":"text/html","base64":false,"value":"A missing authorization vulnerability was identified in GitHub Enterprise Server that allowed a repository collaborator with write access to delete the current default branch through the GraphQL API and cause an attacker-controlled branch to become the new default. In repositories that required pull-request review but did not restrict branch deletion, this bypassed the review requirement and caused fresh clones and default-branch API requests to use attacker-controlled content. This vulnerability affected supported GitHub Enterprise Server releases in the 3.18, 3.19, 3.20, 3.21, and 3.22 series and was fixed in versions 3.18.16, 3.19.13, 3.20.9, 3.21.7, and 3.22.2. This vulnerability was reported via the GitHub Bug Bounty program.<br><br>"}]}],"references":[{"url":"https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.16","tags":["release-notes"]},{"url":"https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.13","tags":["release-notes"]},{"url":"https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.9","tags":["release-notes"]},{"url":"https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.7","tags":["release-notes"]},{"url":"https://docs.github.com/en/enterprise-server@3.22/admin/release-notes#3.22.2","tags":["release-notes"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","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":"MEDIUM","baseScore":6,"vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}}],"credits":[{"lang":"en","value":"taise","type":"finder"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-07T16:31:48.617666Z","id":"CVE-2026-103620","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-10-07T16:32:08.448Z"}}]}}