CVE-2025-6981
GitHub Enterprise Server vulnerability analysis and mitigation

Overview

An incorrect authorization vulnerability (CVE-2025-6981) was discovered in GitHub Enterprise Server, affecting all versions prior to 3.18. The vulnerability was disclosed on July 15, 2025, and allowed unauthorized read access to the contents of internal repositories for contractor accounts when the Contractors API feature was enabled. The Contractors API is described as a rarely-enabled feature in private preview (GitHub Release Notes).

Technical details

The vulnerability has been assigned a CVSS 4.0 Base Score of 5.3 (MEDIUM) with the vector string CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N. The issue is classified as CWE-863 (Incorrect Authorization) and affects the authorization mechanism specifically related to the Contractors API feature (NVD).

Impact

When exploited, the vulnerability allows unauthorized users to gain read access to internal repository contents through the Contractors API, potentially exposing sensitive information. This access bypass specifically affects contractor accounts and could lead to unauthorized information disclosure (GitHub Release Notes).

Mitigation and workarounds

The vulnerability has been fixed in multiple versions: 3.14.15, 3.15.10, 3.16.6, and 3.17.3. Organizations should upgrade to these patched versions to prevent unauthorized access. After the fix, contractor account access to internal repositories via the API will be correctly blocked unless they have an alternate grant (GitHub Release Notes).

Additional resources


SourceThis report was generated using AI

Related GitHub Enterprise Server vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-3246HIGH8.6
  • GitHub Enterprise ServerGitHub Enterprise Server
  • cpe:2.3:a:github:enterprise_server
NoNoApr 17, 2025
CVE-2025-3509HIGH7.1
  • GitHub Enterprise ServerGitHub Enterprise Server
  • cpe:2.3:a:github:enterprise_server
NoYesApr 17, 2025
CVE-2025-8447HIGH7
  • GitHub Enterprise ServerGitHub Enterprise Server
  • cpe:2.3:a:github:enterprise_server
NoYesAug 26, 2025
CVE-2025-6600MEDIUM6.3
  • GitHub Enterprise ServerGitHub Enterprise Server
  • cpe:2.3:a:github:enterprise_server
NoYesJul 01, 2025
CVE-2025-6981MEDIUM5.3
  • GitHub Enterprise ServerGitHub Enterprise Server
  • cpe:2.3:a:github:enterprise_server
NoYesJul 15, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management