CVE-2026-14340: CWE-863: Incorrect Authorization in GitHub Enterprise Server
An incorrect authorization vulnerability was identified in GitHub Enterprise Server that allowed a user-to-server token scoped to a GitHub App installation to perform certain write operations on public repositories outside the token's intended scope. This was possible because the authorization check only verified that the installation had read permissions on the target repository rather than verifying that the token's installation was explicitly granted access to that repository. An attacker who obtained a victim's user-to-server token could create issues, issue comments, commit comments, and private vulnerability reports on any public repository, appearing as the victim user with no indication of the app involvement. This vulnerability was fixed by adding a repository scope check for user-to-server tokens issued by global apps. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.22 and was fixed in versions 3.21.2, 3.20.4, 3.19.8, 3.18.11, 3.17.17, 3.16.20. This vulnerability was reported via the GitHub Bug Bounty program.
AI Analysis
Technical Summary
An incorrect authorization vulnerability (CWE-863) in GitHub Enterprise Server allowed user-to-server tokens scoped to GitHub App installations to perform certain write operations on public repositories beyond their intended scope. The authorization check only verified that the installation had read permissions on the target repository rather than confirming explicit access for the token's installation. Consequently, an attacker who obtained a victim's token could create issues, issue comments, commit comments, and private vulnerability reports on any public repository, impersonating the victim user without indication of app involvement. This vulnerability affected all versions prior to 3.22 and was fixed by adding repository scope checks for user-to-server tokens issued by global apps. Fixed versions include 3.21.2, 3.20.4, 3.19.8, 3.18.11, 3.17.17, and 3.16.20.
Potential Impact
An attacker with access to a victim's user-to-server token could perform unauthorized write operations on any public repository, including creating issues and comments and submitting private vulnerability reports. These actions would appear as if performed by the victim user, without any indication of GitHub App involvement. This could lead to unauthorized repository modifications and potential reputational damage. The vulnerability does not affect private repositories or escalate privileges beyond the described scope.
Mitigation Recommendations
This vulnerability has been fixed in GitHub Enterprise Server versions 3.21.2, 3.20.4, 3.19.8, 3.18.11, 3.17.17, and 3.16.20. Users should upgrade to one of these fixed versions or later to remediate the issue. No additional mitigation steps are indicated by the vendor advisory.
CVE-2026-14340: CWE-863: Incorrect Authorization in GitHub Enterprise Server
Description
An incorrect authorization vulnerability was identified in GitHub Enterprise Server that allowed a user-to-server token scoped to a GitHub App installation to perform certain write operations on public repositories outside the token's intended scope. This was possible because the authorization check only verified that the installation had read permissions on the target repository rather than verifying that the token's installation was explicitly granted access to that repository. An attacker who obtained a victim's user-to-server token could create issues, issue comments, commit comments, and private vulnerability reports on any public repository, appearing as the victim user with no indication of the app involvement. This vulnerability was fixed by adding a repository scope check for user-to-server tokens issued by global apps. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.22 and was fixed in versions 3.21.2, 3.20.4, 3.19.8, 3.18.11, 3.17.17, 3.16.20. This vulnerability was reported via the GitHub Bug Bounty program.
CVSS v4.0
Score 5.3medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
An incorrect authorization vulnerability (CWE-863) in GitHub Enterprise Server allowed user-to-server tokens scoped to GitHub App installations to perform certain write operations on public repositories beyond their intended scope. The authorization check only verified that the installation had read permissions on the target repository rather than confirming explicit access for the token's installation. Consequently, an attacker who obtained a victim's token could create issues, issue comments, commit comments, and private vulnerability reports on any public repository, impersonating the victim user without indication of app involvement. This vulnerability affected all versions prior to 3.22 and was fixed by adding repository scope checks for user-to-server tokens issued by global apps. Fixed versions include 3.21.2, 3.20.4, 3.19.8, 3.18.11, 3.17.17, and 3.16.20.
Potential Impact
An attacker with access to a victim's user-to-server token could perform unauthorized write operations on any public repository, including creating issues and comments and submitting private vulnerability reports. These actions would appear as if performed by the victim user, without any indication of GitHub App involvement. This could lead to unauthorized repository modifications and potential reputational damage. The vulnerability does not affect private repositories or escalate privileges beyond the described scope.
Mitigation Recommendations
This vulnerability has been fixed in GitHub Enterprise Server versions 3.21.2, 3.20.4, 3.19.8, 3.18.11, 3.17.17, and 3.16.20. Users should upgrade to one of these fixed versions or later to remediate the issue. No additional mitigation steps are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_P
- Date Reserved
- 2026-07-01T13:42:35.041Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a45818a27e9c7971923a345
Added to database: 07/01/2026, 21:07:22 UTC
Last enriched: 07/09/2026, 09:18:52 UTC
Last updated: 08/14/2026, 12:41:08 UTC
Views: 119
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.