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 p…
Overview
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.
- Published
- 9/22/2026
- Last modified
- 10/2/2026
- Assigned by
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
enterprise server github | ≥ 3.17.0, < 3.17.21 | Verify advisory | Source |
enterprise server github | ≥ 3.18.0, < 3.18.15 | Verify advisory | Source |
enterprise server github | ≥ 3.19.0, < 3.19.12 | Verify advisory | Source |
enterprise server github | ≥ 3.20.0, < 3.20.8 | Verify advisory | Source |
enterprise server github | ≥ 3.21.0, < 3.21.6 | Verify advisory | Source |
Enterprise Server GitHub | ≥ 3.17.0, < 3.17.* | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Enterprise Server GitHub | ≥ 3.18.0, < 3.18.* | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Enterprise Server GitHub | ≥ 3.19.0, < 3.19.* | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Enterprise Server GitHub | ≥ 3.20.0, < 3.20.* | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Enterprise Server GitHub | ≥ 3.21.0, < 3.21.* | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 6. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.