
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-103620 is a missing authorization vulnerability in GitHub Enterprise Server (GHES) that allows a repository collaborator with write access to delete the current default branch via the GraphQL API, causing an attacker-controlled branch to become the new default. This effectively bypasses pull-request review requirements in repositories that enforce reviews but do not restrict branch deletion. The vulnerability affects GHES versions in the 3.18, 3.19, 3.20, 3.21, and 3.22 series, and was disclosed on October 6, 2026. It carries a CVSS v3.1 base score of 6.5 (Medium) and a CVSS v4.0 base score of 6.0 (Medium) (GHES 3.18 Release Notes, GHES 3.22 Release Notes).
The root cause is classified as CWE-862 (Missing Authorization): the GraphQL API endpoint responsible for branch deletion did not enforce an authorization check to prevent deletion of the repository's current default branch by collaborators with write access. An attacker with write access to a repository can craft a GraphQL mutation to delete the default branch, then have a pre-existing attacker-controlled branch automatically promoted to the new default. The attack requires no user interaction and is executable over the network with low privileges. The precondition is that the target repository must require pull-request reviews but must not have branch deletion restrictions enabled — a common configuration gap. No public proof-of-concept code has been identified (GHES 3.20 Release Notes, Feedly).
Successful exploitation allows an attacker to replace a repository's default branch with attacker-controlled content, bypassing mandatory pull-request review requirements. This has a high integrity impact: fresh clones of the repository and default-branch API requests will serve attacker-controlled code, which could propagate malicious changes to downstream consumers, CI/CD pipelines, or automated deployments. There is no direct confidentiality or availability impact, but the supply chain risk is significant — injected code could be silently incorporated into builds or deployments without the normal review safeguards (GHES 3.19 Release Notes, Feedly).
There is no evidence of public proof-of-concept code or active in-the-wild exploitation as of the time of disclosure. The EPSS score is approximately 0.0045 (0.45%), indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported. The vulnerability was responsibly disclosed through the GitHub Bug Bounty program (Feedly, GHES 3.22 Release Notes).
git clone operations, CI/CD pipeline triggers, or default-branch API requests will now retrieve attacker-controlled content, bypassing the pull-request review requirement entirely (GHES 3.20 Release Notes, Feedly).git.branch.delete or equivalent GraphQL mutation events targeting the default branch of a protected repository, especially from accounts that are collaborators rather than administrators.GitHub has released patched versions addressing this vulnerability: 3.18.16, 3.19.13, 3.20.9, 3.21.7, and 3.22.2. Administrators should upgrade to the appropriate patched release as the primary remediation. As an interim workaround, repository administrators should enable branch deletion restrictions on all repositories that enforce pull-request reviews, preventing collaborators from deleting protected branches. Restricting branch deletion permissions at the repository or organization level eliminates the precondition required for exploitation (GHES 3.18 Release Notes, GHES 3.22 Release Notes).
The vulnerability was reported through the GitHub Bug Bounty program and disclosed alongside the October 6, 2026 patch releases. GitHub classified the severity as MEDIUM in its official release notes across all affected series. No notable independent researcher commentary, social media discussion, or significant media coverage has been identified beyond the official release notes (GHES 3.21 Release Notes).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."