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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_P) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 51% of CVEs (2026-12-01)
- Published: 2023-04-07T18:41:52.689Z
- Modified: 2026-06-17T05:37:52.517Z
- Weaknesses: CWE-697
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_P

## Description

An incorrect comparison vulnerability was identified in GitHub Enterprise Server that allowed commit smuggling by displaying an incorrect diff. To do so, an attacker would need write access to the repository and be able to correctly guess the target branch before it’s created by the code maintainer. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.9 and was fixed in versions 3.4.18, 3.5.15, 3.6.11, 3.7.8, and 3.8.1. This vulnerability was reported via the GitHub Bug Bounty program.

(As written by CVE List.)

## Affected

- GitHub Enterprise Server: from 3.4.0 up to 3.4.17; from 3.5.0 up to 3.5.14; from 3.6.0 up to 3.6.10; from 3.7.0 up to 3.7.7; from 3.8.0 before 3.8.1 (not affected: 3.9.0)
- github enterprise_server: before 3.4.18; from 3.5.0 before 3.5.15; from 3.6.0 before 3.6.11; from 3.7.0 before 3.7.8; 3.8.0

## Every score

- GitHub_P: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://docs.github.com/en/enterprise-server@3.8/admin/release-notes#3.8.1> (release-notes)
- <https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.8> (release-notes)
- <https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.11> (release-notes)
- <https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.15> (release-notes)
- <https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.18> (release-notes)

## Sources

- CVE List: [CVE-2023-23762](https://www.cve.org/CVERecord?id=CVE-2023-23762), CVE Terms of Use, modified 2025-02-10
- NVD: [CVE-2023-23762](https://nvd.nist.gov/vuln/detail/CVE-2023-23762), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-23762 · Whole record: https://cve.day/CVE-2023-23762.json · Rebuilt by cve.day 2026-11-25T22:58:23.332Z
