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

- Severity: Medium 4.5 (CVSS:3.1, scored by GitHub_P) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/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.74%, higher than 55% of CVEs (2026-12-01)
- Published: 2023-09-22T14:18:49.735Z
- Modified: 2026-06-17T05:37:53.127Z
- 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 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.

(As written by CVE List.)

## Affected

- GitHub Enterprise Server: from 3.6.0 before 3.6.17; from 3.7.0 before 3.7.15; from 3.8.0 before 3.8.8; from 3.9.0 before 3.9.3; from 3.10.0 before 3.10.1
- github enterprise_server: before 3.6.17; from 3.7.0 before 3.7.15; from 3.8.0 before 3.8.8; from 3.9.0 before 3.9.3; 3.10.0

## Every score

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

## References

- <https://docs.github.com/enterprise-server@3.6/admin/release-notes#3.6.17> (release-notes)
- <https://docs.github.com/enterprise-server@3.7/admin/release-notes#3.7.15> (release-notes)
- <https://docs.github.com/enterprise-server@3.8/admin/release-notes#3.8.8> (release-notes)
- <https://docs.github.com/enterprise-server@3.9/admin/release-notes#3.9.3> (release-notes)
- <https://docs.github.com/enterprise-server@3.10/admin/release-notes#3.10.1> (release-notes)

## Sources

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

---

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