---
id: CVE-2026-75101
title: >-
  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
summary: >-
  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 tok…
severity: medium
cvss: 6
cvssVector: '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'
cwe:
  - CWE-639
vendor: GitHub
product: Enterprise Server
affected:
  - enterprise_server >= 3.17.0 < 3.17.*
  - enterprise_server >= 3.18.0 < 3.18.*
  - enterprise_server >= 3.19.0 < 3.19.*
  - enterprise_server >= 3.20.0 < 3.20.*
  - enterprise_server >= 3.21.0 < 3.21.*
published: '2026-09-22'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T21:16:28.120'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-75101'
references:
  - url: >-
      https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.21
    label: product-cna@github.com
  - url: >-
      https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.15
    label: product-cna@github.com
  - url: >-
      https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.12
    label: product-cna@github.com
  - url: >-
      https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.8
    label: product-cna@github.com
  - url: >-
      https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.6
    label: product-cna@github.com
tags:
  - nvd
  - cve.org
epss: 0.00449
epssPercentile: 0.36296
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-23T15:04:39.420535Z'
cvssSource: cna
ingestedAt: '2026-09-22T21:11:40.324Z'
---

## 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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
