CVE-2026-75101
published medium CVSS 4.0 · 6.0Authorization bypass vulnerability in GitHub Enterprise Server allowed reading of private pull request diffs and patches via repository name collision
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GitHub | — | Enterprise Server3.17.0 to < 3.17.* (affected · semver); changes: unaffected at 3.17.21 · 3.18.0 to < 3.18.* (affected · semver); changes: unaffected at 3.18.15 · 3.19.0 to < 3.19.* (affected · semver); changes: unaffected at 3.19.12 · 3.20.0 to < 3.20.* (affected · semver); changes: unaffected at 3.20.8 · 3.21.0 to < 3.21.* (affected · semver); changes: unaffected at 3.21.6 · Other versions: unknown | Version-specific | Not stated | GitHub_P |
Description
An authorization bypass vulnerability was identified in GitHub Enterprise Server that allowed any authenticated user of the instance to read the raw diff or patch of pull requests in private repositories without authorization. Access tokens for raw pull request diffs and patches were scoped to the repository name and pull request number rather than to a globally unique repository identifier, so an attacker who created a repository and pull request matching a target's repository name and pull request number could use a token for their own repository to retrieve the private pull request's contents. Exploitation required the attacker to know the target repository's name and a valid pull request number. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.22 and was fixed in versions 3.17.21, 3.18.15, 3.19.12, 3.20.8, and 3.21.6. This vulnerability was reported via the GitHub Bug Bounty program.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- GitHub_P · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GitHub | Enterprise Server | 3.17.0 to < 3.17.* (affected · semver); changes: unaffected at 3.17.213.18.0 to < 3.18.* (affected · semver); changes: unaffected at 3.18.153.19.0 to < 3.19.* (affected · semver); changes: unaffected at 3.19.123.20.0 to < 3.20.* (affected · semver); changes: unaffected at 3.20.83.21.0 to < 3.21.* (affected · semver); changes: unaffected at 3.21.6Default: unknown | GitHub_P · cna |
Weaknesses
1- CWE-639 CWE-639 Authorization Bypass Through User-Controlled Key
References
5- https://docs.github.com/en/[email protected]/admin/release-notes#3.17.21
- https://docs.github.com/en/[email protected]/admin/release-notes#3.18.15
- https://docs.github.com/en/[email protected]/admin/release-notes#3.19.12
- https://docs.github.com/en/[email protected]/admin/release-notes#3.20.8
- https://docs.github.com/en/[email protected]/admin/release-notes#3.21.6
Provider assertions
2GitHub_P · cna
Authorization bypass vulnerability in GitHub Enterprise Server allowed reading of private pull request diffs and patches via repository name collision
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1833dd3b3f026dc22c6d3ba97b90e26c0a7285ccaf58c1835031fe9fbb866d5f
- Ingested
- 30 Sep 2026, 15:33:09 UTC
- Source record
- Official CVE record