What’s Vulnerable › Vulnerabilities
CVE-2023-23765: Incorrect comparison vulnerability in GitHub Enterprise Server leading to commit smuggling
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-08-30 · updated 2026-06-17
- Weakness: CWE-697
Description
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 exploit this vulnerability, an attacker would need write access to the repository. This vulnerability was reported via the GitHub Bug Bounty Program https://bounty.github.com/ .
Affected products
- GitHub Enterprise Server: from 3.6.0 before 3.6.16; from 3.7.0 before 3.7.13; from 3.8.0 before 3.8.6; 3.9.0 — fixed in 3.6.16, 3.7.13, 3.8.6
How to fix
Upgrade to a fixed version: GitHub Enterprise Server 3.6.16, 3.7.13, 3.8.6. Check the vendor advisory for mitigations.
References
- https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.16
- https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.13
- https://docs.github.com/en/enterprise-server@3.8/admin/release-notes#3.8.9
- https://docs.github.com/en/enterprise-server@3.9/admin/release-notes#3.9.1
- https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.16
- https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.13
- https://docs.github.com/en/enterprise-server@3.8/admin/release-notes#3.8.9
- https://docs.github.com/en/enterprise-server@3.9/admin/release-notes#3.9.1
Get alerted when CVE-2023-23765 or the next vulnerability affects your stack