Incorrect authorization vulnerability in GitHub Enterprise Server allowed unauthorized control of enterprise-owned GitHub Apps via user and enterprise ID collision
- State
- Published
- Severity
- 7.4 High
- Published
- Nov 18, 2026
- Updated
- Nov 18, 2026
- Reserved
- Oct 13, 2026
Description
An incorrect authorization vulnerability was identified in GitHub Enterprise Server that allowed an authenticated user whose numeric user ID matched an enterprise's numeric ID to manage that enterprise's GitHub Apps and generate private keys without enterprise membership. GitHub App ownership checks compared numeric IDs without checking the owner's account type. Exploitation required control of a session for the colliding user account and an enterprise-owned GitHub App. A generated private key could be used to authenticate as the App and access repositories where it was installed, within its granted permissions. On standard fresh installations, the documented collision involved the non-loginable built-in ghost account; the reported GHES reproduction used site administrator impersonation. This vulnerability affected supported GitHub Enterprise Server releases prior to 3.23 and was fixed in versions 3.19.16, 3.20.12, 3.21.10, and 3.22.5. This vulnerability was reported via the GitHub Bug Bounty program.
| Product | Versions |
|---|---|
| Enterprise Server GitHub | 3.19.0 to before 3.19.* Affectedfrom 3.19.16 Not Affected3.20.0 to before 3.20.* Affectedfrom 3.20.12 Not Affected3.21.0 to before 3.21.* Affectedfrom 3.21.10 Not Affected3.22.0 to before 3.22.* Affectedfrom 3.22.5 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.4 High | GitHub_P |
Weaknesses
- CWE-1025 Comparison using wrong factors
References
- https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.16Release Notes
- https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.12Release Notes
- https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.10Release Notes
- https://docs.github.com/en/enterprise-server@3.22/admin/release-notes#3.22.5Release Notes
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.