CVE-2025-8447

Incorrect authorization vulnerability was identified in GitHub Enterprise Server that allowed read-only access

State
Published
Severity
7.0 High
Published
Aug 26, 2025
Updated
Aug 26, 2025
Reserved
Jul 31, 2025

Read the record on cve.org

Description

An improper access control vulnerability was identified in GitHub Enterprise Server that allowed users with access to any repository to retrieve limited code content from another repository by creating a diff between the repositories. To exploit this vulnerability, an attacker needed to know the name of a private repository along with its branches, tags, or commit SHAs that they could use to trigger compare/diff functionality and retrieve limited code without proper authorization. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.18, and was fixed in versions 3.14.17, 3.15.12, 3.16.8 and 3.17.5. This vulnerability was reported via the GitHub Bug Bounty program.

Scores

CVSSScoreVectorSource
4.07.0 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:NGitHub_P

Weaknesses

  • CWE-639 Authorization Bypass Through User-Controlled Key

Affected Products

ProductVersions
Enterprise ServerGitHub
  • 3.14 through 3.14.16Affectedfrom 3.14.17Not affected
  • 3.15 through 3.15.11Affectedfrom 3.15.12Not affected
  • 3.16 through 3.16.7Affectedfrom 3.16.8Not affected
  • 3.17 through 3.17.4Affectedfrom 3.17.5Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.