CVE-2026-103620

Missing authorization in GitHub Enterprise Server allowed repository writers to replace default branches via GraphQL

  • Medium 6.0

Description

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.

Key facts

Published
6 Oct 2026
Last changed
7 Oct 2026
Assigned by
GitHub_P
EPSS
0.499% likely to be exploited in the next 30 days, higher than 43.402% of CVEs (scores for 17 Nov 2026)
SSVC (CISA)
Exploitation: none; Automatable: no; Technical impact: partial

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 6.0CVSS 4.0, Mediumfrom the CNA (GitHub_P)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

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs (CNA impact statement)

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
GitHubEnterprise Server
  • Default status: unknown
  • 3.18.0 up to but excluding 3.18.* (affected); at 3.18.16 unaffected
  • 3.19.0 up to but excluding 3.19.* (affected); at 3.19.13 unaffected
  • 3.20.0 up to but excluding 3.20.* (affected); at 3.20.9 unaffected
  • 3.21.0 up to but excluding 3.21.* (affected); at 3.21.7 unaffected
  • 3.22.0 up to but excluding 3.22.* (affected); at 3.22.2 unaffected

Timeline

  1. 6 Oct 2026 Published

Weakness

References