CVE-2025-6981: Incorrect authorization vulnerability was identified in GitHub Enterprise Server that allowed unauthorized read-only access

Published Jul 15, 2025
·
Updated

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

Affected Software

5 affected components
GitHub Enterprise Server<3.18
GitHub Enterprise Server<3.14.5
GitHub Enterprise Server>=3.15.0<3.15.10
GitHub Enterprise Server>=3.16.0<3.16.6
GitHub Enterprise Server>=3.17.0<3.17.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.14.15
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.15.10
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.16.6
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.17.3

Event History

Jul 15, 2025
CVE Published
via MITRE·08:44 PM
Data Sourced
via MITRE·08:44 PM
DescriptionWeakness
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-6981?

CVE-2025-6981 has a medium severity rating due to its potential for unauthorized read access.

2

How do I fix CVE-2025-6981?

To fix CVE-2025-6981, disable the Contractors API feature if it is not needed or upgrade GitHub Enterprise Server to a version that includes the patch.

3

Who is affected by CVE-2025-6981?

CVE-2025-6981 affects users of GitHub Enterprise Server versions up to 3.18 that have enabled the Contractors API feature.

4

What type of vulnerability is CVE-2025-6981?

CVE-2025-6981 is classified as an incorrect authorization vulnerability leading to unauthorized access.

5

When was CVE-2025-6981 reported?

CVE-2025-6981 was identified in versions of GitHub Enterprise Server prior to 3.18, which might impact contractor accounts.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203