Skip to main content

GitHub Enterprise Server EUVDEUVD-2026-40408

| CVE-2026-9132 MEDIUM
Missing Authorization (CWE-862)
2026-06-30 GitHub_P GHSA-42pg-j2h8-h5fw
6.0
CVSS 4.0 · Vendor: GitHub_P
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain authenticated GHES account with any repo read access
  2. Delivery
    Identify target private repository on the same instance
  3. Exploit
    Craft cross-repository comparison range request to Copilot diff summary endpoint
  4. Execution
    Submit request without possessing target repository permissions
  5. Impact
    Receive full unauthorized source code diff of private repository

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid authenticated user account on the specific GitHub Enterprise Server instance - unauthenticated remote attackers cannot exploit this vulnerability. The authenticated account must hold read access to at least one repository on the instance, which serves as the comparison base in the crafted request; no access to the target private repository is needed or enforced. The Copilot pull request description feature must be enabled on the instance for the vulnerable endpoint to be reachable. Exploitation is therefore limited to internal threat actors - employees, contractors, or holders of compromised accounts - with any existing legitimate repository access. External attackers without an account on the instance are fully excluded. This vulnerability does not affect GitHub.com.

Impact

The CVSS 4.0 score of 6.0 (AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N) accurately captures the threat profile: network-reachable, low complexity once the endpoint behavior is known, but gated behind a specific attack requirement (AT:P) - the attacker must already possess an authenticated account with read access to at least one repository on the instance. The confidentiality impact is rated High (VC:H) because full source code diffs of arbitrary private repositories are exposed, which can include proprietary logic, embedded credentials, or sensitive configuration. Integrity and availability are not affected. No CISA KEV listing exists and no public proof-of-concept exploit has been identified, meaning widespread opportunistic exploitation is not confirmed. The insider threat and compromised-account scenarios represent the most realistic risk vectors - external unauthenticated attackers cannot exploit this. EPSS data was not provided, so a quantified exploitation probability cannot be stated. Despite the High confidentiality impact, the AT:P gating condition meaningfully reduces the exposed attack surface compared to an unauthenticated, no-prerequisites vulnerability.

Exploit ScenarioDerived

A developer contractor on a GitHub Enterprise Server instance holds read access to a single project repository for their engagement. Aware of the Copilot diff summary endpoint behavior, they craft an API request specifying a cross-repository comparison range that targets a sensitive internal repository containing proprietary source code they have no authorized access to. The endpoint returns the full diff of the target repository without performing any authorization check, exposing the private codebase. No public exploit code is known, but the technique is straightforward for any technically capable authenticated user once the endpoint behavior is understood.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 30, 2026

Unauthorized source code disclosure in GitHub Enterprise Server exposes private repository contents to any authenticated user on the instance, regardless of their actual repository permissions. The Copilot pull request description diff summary endpoint accepted cross-repository comparison ranges and rendered the resulting diff without verifying the requesting user held read access to the target repository - a missing authorization flaw (CWE-862) allowing lateral access to arbitrary private repositories. No active exploitation has been confirmed (not in CISA KEV), the issue was responsibly disclosed via GitHub's Bug Bounty program, and patches are available across four release branches.

RemediationAI

The primary remediation is to upgrade GitHub Enterprise Server to a patched release: 3.17.17, 3.18.11, 3.19.8, or 3.20.4, as documented in GitHub's official release notes linked in the references above. As a compensating control for organizations that cannot patch immediately, administrators should consider disabling the Copilot pull request description feature at the instance or organization level to eliminate exposure of the vulnerable endpoint; the trade-off is loss of AI-assisted PR description generation for all users. Additionally, auditing and restricting which accounts hold any repository access on the instance reduces the exploitable population - removing dormant, contractor, or untrusted accounts that no longer require access directly shrinks the attack surface. These controls do not remediate the root flaw and should be treated as temporary measures pending the patch upgrade.

Affected VersionsENISA

Enterprise Server 3.17.0 ≤3.17.16
Enterprise Server 3.19.0 ≤3.19.7
Enterprise Server 3.18.0 ≤3.18.10
Enterprise Server 3.20.0 ≤3.20.3

Affected Packages

euvd enterprise_server no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

GitHub Enterprise Server (GHES) is a self-hosted deployment of GitHub's platform for enterprise environments, distinct from GitHub.com. The vulnerability is rooted in the Copilot-powered pull request description feature, which invokes a diff summary endpoint to generate AI-assisted PR descriptions. This endpoint accepts a cross-repository comparison range parameter - allowing a caller to specify a source and target repository for the diff - but only enforced authorization checks on the source (base) repository. The target repository authorization was entirely absent, a textbook CWE-862 (Missing Authorization) failure where a security-sensitive function executes without verifying the caller's permission on the accessed resource. CPE string cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* confirms the scope is limited to self-hosted GHES instances; the CVSS 4.0 AT:P metric reflects that exploitation depends on the attacker already holding a valid authenticated session with at least one repository's read access.

Know when Github gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_P) PRIMARY 6.0 MEDIUM
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
vuln.today AI 6.5 MEDIUM

Network-reachable endpoint requires low-privilege authenticated session (PR:L); no scope change as both vulnerable component and impacted data reside within the same GHES instance; high confidentiality loss, no integrity or availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_P).

CVSS VectorVendor: GitHub_P

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A missing authorization vulnerability was identified in GitHub Enterprise Server that allowed an authenticated user to read source code from private repositories they did not have access to. The Copilot pull request description diff summary endpoint accepted a cross-repository comparison range and rendered the resulting diff without verifying that the requesting user was authorized to view the target repository. Exploitation required an authenticated account on the instance with read access to at least one repository to use as the comparison base. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.21 and was fixed in versions 3.17.17, 3.18.11, 3.19.8, and 3.20.4. This vulnerability was reported via the GitHub Bug Bounty program.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
High
Widely adopted self-hosted GitHub platform across enterprise environments
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Github

View all
CVE-2026-1699 CRITICAL POC
10.0 Jan 30

Supply chain vulnerability in Eclipse Theia GitHub Actions workflow. The preview.yml workflow uses pull_request_target w

CVE-2026-27941 CRITICAL POC
9.9 Feb 26

Supply chain attack vector in OpenLIT GitHub Actions workflows. The pull_request_target trigger with checkout enables ma

CVE-2026-22869 CRITICAL POC
9.8 Jan 13

Eigent multi-agent workflow CI pipeline (ci.yml) uses pull_request_target with checkout of untrusted PR code, enabling a

CVE-2024-0200 CRITICAL POC
9.8 Jan 16

An unsafe reflection vulnerability was identified in GitHub Enterprise Server that could lead to reflection injection. R

CVE-2022-24724 CRITICAL POC
9.8 Mar 03

cmark-gfm is GitHub's extended version of the C reference implementation of CommonMark. Rated critical severity (CVSS 9.

CVE-2024-9487 CRITICAL POC
9.5 Oct 10

An improper verification of cryptographic signature vulnerability was identified in GitHub Enterprise Server that allowe

CVE-2026-28215 CRITICAL POC
9.1 Feb 26

Unauthenticated infrastructure overwrite in Hoppscotch API development ecosystem before 2026.2.0. Attackers can overwrit

CVE-2018-1000600 HIGH POC
8.8 Jun 26

A exposure of sensitive information vulnerability exists in Jenkins GitHub Plugin 1.29.1 and earlier in GitHubTokenCrede

CVE-2026-30920 HIGH POC
8.6 Mar 10

OneUptime versions prior to 10.0.19 allow unauthenticated attackers to hijack GitHub App integrations across projects by

CVE-2026-25221 HIGH POC
8.1 Feb 02

PolarLearn versions 0-PRERELEASE-15 and earlier lack proper state parameter validation in OAuth 2.0 authentication, enab

CVE-2026-23644 HIGH POC
7.5 Jan 18

Path traversal in esm.sh CDN prior to version 0.0.0-20260116051925-c62ab83c589e allows unauthenticated remote attackers

CVE-2024-42471 HIGH POC
7.5 Sep 02

actions/artifact is the GitHub ToolKit for developing GitHub Actions. Rated high severity (CVSS 7.5), this vulnerability

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy