CVE-2026-14340 Details
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.
A vulnerability in GitHub Enterprise Server was identified that allows a user-to-server token, scoped to a GitHub App installation, to perform unauthorized write operations on public repositories. This vulnerability affects all versions prior to 3.22. The issue arises because the authorization check only verifies read permissions on the target repository, rather than ensuring the token's installation has explicit access. As a result, an attacker with a victim's user-to-server token could create issues, issue comments, commit comments, and private vulnerability reports on any public repository, impersonating the victim without disclosing the app's involvement.
Users can upgrade to GitHub Enterprise Server versions 3.21.2, 3.20.4, 3.19.8, 3.18.11, or 3.17.17 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://docs.github.com/en/[email protected]/admin/release-notes#3.16.20 | [email protected] | ProductRelease Notes |
| https://docs.github.com/en/[email protected]/admin/release-notes#3.17.17 | [email protected] | ProductRelease Notes |
| https://docs.github.com/en/[email protected]/admin/release-notes#3.18.11 | [email protected] | ProductRelease Notes |
| https://docs.github.com/en/[email protected]/admin/release-notes#3.19.8 | [email protected] | ProductRelease Notes |
| https://docs.github.com/en/[email protected]/admin/release-notes#3.20.4 | [email protected] | ProductRelease Notes |
| https://docs.github.com/en/[email protected]/admin/release-notes#3.21.2 | [email protected] | ProductRelease Notes |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-863 | Incorrect Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| github enterprise server | < 3.16.20 >= 3.17.0, < 3.17.17 >= 3.18.0, < 3.18.11 >= 3.19.0, < 3.19.8 >= 3.20.0, < 3.20.4 >= 3.21.0, < 3.21.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jul 6, 2026 | Initial Analysis | [email protected] |
| Jul 2, 2026 | CVE Modified | CISA-ADP |
| Jul 1, 2026 | New CVE Received | [email protected] |