Auth bypass in Github Enterprise Server

CVE-2025-6981

An incorrect authorization vulnerability allowed unauthorized read access to the contents of internal repositories for contractor accounts when the Contractors API feature was enabled. The Contractors API is a rarely-enabled feature in private preview. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.18 and was fixed in versions 3.14.15, 3.15.10, 3.16.6 and 3.17.3

Vulnerability class: Broken Access Control

EPSS: 0.003 (16.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-6981?
CVE-2025-6981 is a medium-severity vulnerability in Github Enterprise Server, classified under Incorrect Authorization. CVSS score: 4.3/10. Published 2025-07-15.
How severe is CVE-2025-6981?
Medium severity. CVSS v3 base score is 4.3 out of 10.
Is CVE-2025-6981 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.