Authorization bypass through user-controlled key vulnerability in GitHub Enterprise Server allowed disclosure of private pull request review-thread data
- State
- Published
- Severity
- 7.1 High
- Published
- Nov 18, 2026
- Updated
- Nov 18, 2026
- Reserved
- Oct 16, 2026
Description
An authorization bypass through user-controlled key vulnerability was identified in GitHub Enterprise Server that allowed authenticated users to read review-thread data from private repositories they could not access. An attacker required an authenticated account, a readable repository and pull request to use as the request context, and target review-thread identifiers. The thread-preview endpoint resolved supplied identifiers without restricting them to the authorized pull request, exposing private file paths and, when positioning and diff data were available, source-code excerpts, commit identifiers, and line metadata without victim interaction. This vulnerability affected supported GitHub Enterprise Server releases in the 3.21, 3.22 series and was fixed in versions 3.21.10, 3.22.5. This vulnerability was reported via the GitHub Bug Bounty program.
| Product | Versions |
|---|---|
| Enterprise Server GitHub | 3.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.1 High | GitHub_P |
Weaknesses
- CWE-639 Authorization Bypass Through User-Controlled Key
References
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.