CVE-2026-14340: An incorrect authorization vulnerability in GitHub Enterprise Server allows issue creation in unrelated public repositories

Published Jul 1, 2026
·
Updated

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.

Affected Software

7 affected components
GitHub GitHub Enterprise Server<3.22
GitHub Enterprise Server<3.16.20
GitHub Enterprise Server>=3.17.0<3.17.17
GitHub Enterprise Server>=3.18.0<3.18.11
GitHub Enterprise Server>=3.19.0<3.19.8
GitHub Enterprise Server>=3.20.0<3.20.4
GitHub Enterprise Server>=3.21.0<3.21.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade GitHub Enterprise Server to a version that resolves this vulnerability.

    Fixed in 3.21.2
  2. Upgrade

    Upgrade GitHub Enterprise Server to a version that resolves this vulnerability.

    Fixed in 3.20.4
  3. Upgrade

    Upgrade GitHub Enterprise Server to a version that resolves this vulnerability.

    Fixed in 3.19.8
  4. Upgrade

    Upgrade GitHub Enterprise Server to a version that resolves this vulnerability.

    Fixed in 3.18.11
  5. Upgrade

    Upgrade GitHub Enterprise Server to a version that resolves this vulnerability.

    Fixed in 3.17.17
  6. Upgrade

    Upgrade GitHub Enterprise Server to a version that resolves this vulnerability.

    Fixed in 3.16.20
  7. Configuration

    Ensure GitHub Enterprise Server performs a repository scope check for user-to-server tokens issued by global apps so authorization verifies the token’s installation is explicitly granted access to the target repository rather than only checking installation read access.

    GitHub Enterprise Server (authorization for user-to-server tokens for GitHub App installations) repository scope check for user-to-server tokens issued by global apps = add explicit repository scope check (verify token installation is explicitly granted access to target repository, not only that installation has read permissions)

Event History

Jul 1, 2026
CVE Published
via MITRE·09:03 PM
Data Sourced
via MITRE·09:03 PM
DescriptionWeakness
Data Sourced
via NVD·09:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-14340?

CVE-2026-14340 has a medium severity rating of 5.3 based on the CVSS score.

2

How do I fix CVE-2026-14340?

To fix CVE-2026-14340, update your GitHub Enterprise Server to the latest version available.

3

What type of vulnerability is CVE-2026-14340?

CVE-2026-14340 is classified as an incorrect authorization vulnerability.

4

What impact does CVE-2026-14340 have on GitHub Enterprise Server?

CVE-2026-14340 allows a user to create issues in unrelated public repositories due to improper authorization checks.

5

Who is affected by CVE-2026-14340?

Any organization using affected versions of GitHub Enterprise Server with misconfigured token scopes may be affected by CVE-2026-14340.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203