CVE-2026-103620
published medium CVSS 4.0 · 6.0Missing authorization in GitHub Enterprise Server allowed repository writers to replace default branches via GraphQL
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GitHub | — | Enterprise Server3.18.0 to < 3.18.* (affected · semver); changes: unaffected at 3.18.16 · 3.19.0 to < 3.19.* (affected · semver); changes: unaffected at 3.19.13 · 3.20.0 to < 3.20.* (affected · semver); changes: unaffected at 3.20.9 · 3.21.0 to < 3.21.* (affected · semver); changes: unaffected at 3.21.7 · 3.22.0 to < 3.22.* (affected · semver); changes: unaffected at 3.22.2 · Other versions: unknown | Version-specific | Not stated | GitHub_P |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- GitHub_P · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GitHub | Enterprise Server | 3.18.0 to < 3.18.* (affected · semver); changes: unaffected at 3.18.163.19.0 to < 3.19.* (affected · semver); changes: unaffected at 3.19.133.20.0 to < 3.20.* (affected · semver); changes: unaffected at 3.20.93.21.0 to < 3.21.* (affected · semver); changes: unaffected at 3.21.73.22.0 to < 3.22.* (affected · semver); changes: unaffected at 3.22.2Default: unknown | GitHub_P · cna |
Weaknesses
1- CWE-862 CWE-862 Missing Authorization
References
5- https://docs.github.com/en/[email protected]/admin/release-notes#3.18.16
- https://docs.github.com/en/[email protected]/admin/release-notes#3.19.13
- https://docs.github.com/en/[email protected]/admin/release-notes#3.20.9
- https://docs.github.com/en/[email protected]/admin/release-notes#3.21.7
- https://docs.github.com/en/[email protected]/admin/release-notes#3.22.2
Provider assertions
2GitHub_P · cna
Missing authorization in GitHub Enterprise Server allowed repository writers to replace default branches via GraphQL
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 30da3b7c2a7e6cfcdf4e13d622494acf6decf7d56237cbf27bd4dda807090ad5
- Ingested
- 07 Oct 2026, 22:38:12 UTC
- Source record
- Official CVE record