Skip to main content

A missing authorization vulnerability was identified in GitHub Enterprise Server that allowed a repository collaborator with write access to delete… (CVE-2026-103620)

0
Medium
Published: 10/06/2026 (10/06/2026, 21:31:40 UTC)
Source: GCVE Database

Description

A missing authorization vulnerability in GitHub Enterprise Server allowed repository collaborators with write access to delete the current default branch via the GraphQL API. This enabled an attacker to set an attacker-controlled branch as the new default, bypassing pull-request review requirements in certain repository configurations. The issue affected supported GitHub Enterprise Server releases in the 3.18 to 3.22 series and was fixed in specific patch versions.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected software

Affected versions
>=3.18.0 <3.18.16>=3.19.0 <3.19.13>=3.20.0 <3.20.9>=3.21.0 <3.21.7>=3.22.0 <3.22.2

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/20/2026, 22:40:36 UTC

Technical Analysis

CVE-2026-103620 describes a missing authorization vulnerability in GitHub Enterprise Server where a repository collaborator with write access could delete the current default branch using the GraphQL API. This action allowed the attacker to promote a branch they controlled as the new default branch. In repositories that required pull-request review but did not restrict branch deletion, this bypassed the review process, causing fresh clones and default-branch API requests to use attacker-controlled content. The vulnerability affected supported 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. The issue was reported through the GitHub Bug Bounty program.

Potential Impact

The vulnerability allows an attacker with write access to a repository to delete the default branch and replace it with a branch they control, bypassing pull-request review requirements in certain configurations. This can lead to users cloning or interacting with attacker-controlled code, potentially undermining code integrity and trust. There is no impact on confidentiality or availability reported. The CVSS score is 6.5 (medium severity), reflecting the integrity impact without confidentiality or availability loss.

Mitigation Recommendations

This vulnerability has been fixed in GitHub Enterprise Server versions 3.18.16, 3.19.13, 3.20.9, 3.21.7, and 3.22.2. Users should upgrade to these or later versions to remediate the issue. Since this is an on-premises product, administrators must apply these updates. No additional mitigation steps are indicated in the advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-mj9w-xm4p-h2mp
Osv Schema Version
1.4.0
Aliases
["CVE-2026-103620"]
Database Specific Severity
MODERATE
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ad7ec272cdf04f6566b00b5

Added to database: 10/20/2026, 22:33:11 UTC

Last enriched: 10/20/2026, 22:40:36 UTC

Last updated: 10/20/2026, 22:48:21 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses