CVE-2023-23766: Incorrect comparison vulnerability in GitHub Enterprise Server leading to commit smuggling

Published Sep 22, 2023
·
Updated

An incorrect comparison vulnerability was identified in GitHub Enterprise Server that allowed commit smuggling by displaying an incorrect diff in a re-opened Pull Request. To do so, an attacker would need write access to the repository. This vulnerability affected all versions of GitHub Enterprise Server and was fixed in versions 3.6.17, 3.7.15, 3.8.8, 3.9.3, and 3.10.1. This vulnerability was reported via the GitHub Bug Bounty program.

Affected Software

5 affected components
github Enterprise Server<3.6.17
github Enterprise Server>=3.7.0<3.7.15
github Enterprise Server>=3.8.0<3.8.8
github Enterprise Server>=3.9.0<3.9.3
github Enterprise Server=3.10.0

Event History

Sep 22, 2023
CVE Published
via MITRE·02:18 PM
Data Sourced
via MITRE·02:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the vulnerability ID of this issue?

The vulnerability ID is CVE-2023-23766.

2

What is the severity of CVE-2023-23766?

The severity of CVE-2023-23766 is medium (6.5).

3

What versions of GitHub Enterprise Server are affected by this vulnerability?

This vulnerability affects GitHub Enterprise Server versions 3.6.0 up to (excluding) 3.6.17, versions 3.7.0 up to (excluding) 3.7.15, versions 3.8.0 up to (excluding) 3.8.8, versions 3.9.0 up to (excluding) 3.9.3, and version 3.10.0.

4

How can an attacker exploit this vulnerability?

To exploit this vulnerability, the attacker would need write access to the repository and would be able to perform commit smuggling by displaying an incorrect diff in a re-opened Pull Request.

5

Where can I find more information about this vulnerability?

You can find more information about this vulnerability in the GitHub Enterprise Server release notes: [3.10.1](https://docs.github.com/enterprise-server@3.10/admin/release-notes#3-10-1), [3.6.17](https://docs.github.com/enterprise-server@3.6/admin/release-notes#3-6-17), and [3.7.15](https://docs.github.com/enterprise-server@3.7/admin/release-notes#3-7-15).

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