CVE-2023-23762
Status: ModifiedMedium (5.3)—
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.
CVSS
- Version: 3.1
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
- Base score: 5.3
Exploitation probability (EPSS)
- Probability of exploitation in the next 30 days: 0.64%
- Percentile among all scored CVEs: 49
- Score date: 10/6/2026
EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).
Affected technologies (1)
CWEs
- CWE-697
- CWE-697
References
- https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.18
- https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.15
- https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.11
- https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.8
- https://docs.github.com/en/enterprise-server@3.8/admin/release-notes#3.8.1
- https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.18
- https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.15
- https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.11
- https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.8
- https://docs.github.com/en/enterprise-server@3.8/admin/release-notes#3.8.1
Raw JSON (NVD)
Show
{
"id": "CVE-2023-23762",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2023-23762",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-02-10T15:19:59.621391Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "product-cna@github.com",
"cvssData": {
"scope": "CHANGED",
"version": "3.1",
"baseScore": 6.5,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N",
"integrityImpact": "LOW",
"userInteraction": "REQUIRED",
"attackComplexity": "HIGH",
"availabilityImpact": "NONE",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
},
"impactScore": 4.7,
"exploitabilityScore": 1.3
},
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 5.3,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "HIGH",
"availabilityImpact": "NONE",
"privilegesRequired": "LOW",
"confidentialityImpact": "NONE"
},
"impactScore": 3.6,
"exploitabilityScore": 1.6
}
]
},
"affected": [
{
"source": "product-cna@github.com",
"affectedData": [
{
"vendor": "GitHub",
"product": "Enterprise Server",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "3.4.18",
"status": "unaffected"
}
],
"version": "3.4.0",
"versionType": "semver",
"lessThanOrEqual": "3.4.17"
},
{
"status": "affected",
"changes": [
{
"at": "3.5.15",
"status": "unaffected"
}
],
"version": "3.5.0",
"versionType": "semver",
"lessThanOrEqual": "3.5.14"
},
{
"status": "affected",
"changes": [
{
"at": "3.6.11",
"status": "unaffected"
}
],
"version": "3.6.0",
"versionType": "semver",
"lessThanOrEqual": "3.6.10"
},
{
"status": "affected",
"changes": [
{
"at": "3.7.8",
"status": "unaffected"
}
],
"version": "3.7.0",
"versionType": "semver",
"lessThanOrEqual": "3.7.7"
},
{
"status": "affected",
"changes": [
{
"at": "3.8.1",
"status": "unaffected"
}
],
"version": "3.8.0",
"lessThan": "3.8.1",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "3.9.0"
}
],
"defaultStatus": "affected"
}
]
}
],
"published": "2023-04-07T19:15:07.057",
"references": [
{
"url": "https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.18",
"tags": [
"Release Notes"
],
"source": "product-cna@github.com"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.15",
"tags": [
"Release Notes"
],
"source": "product-cna@github.com"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.11",
"tags": [
"Release Notes"
],
"source": "product-cna@github.com"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.8",
"tags": [
"Release Notes"
],
"source": "product-cna@github.com"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.8/admin/release-notes#3.8.1",
"tags": [
"Release Notes"
],
"source": "product-cna@github.com"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.18",
"tags": [
"Release Notes"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.15",
"tags": [
"Release Notes"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.11",
"tags": [
"Release Notes"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.8",
"tags": [
"Release Notes"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.8/admin/release-notes#3.8.1",
"tags": [
"Release Notes"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Secondary",
"source": "product-cna@github.com",
"description": [
{
"lang": "en",
"value": "CWE-697"
}
]
},
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-697"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"lastModified": "2026-06-17T05:37:52.517",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D30FF55B-C5FA-431A-8E0C-7FCB872AD8DC",
"versionEndExcluding": "3.4.18"
},
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "A6A66A3A-E2CB-4B7B-BB28-FD81D8A81F9C",
"versionEndExcluding": "3.5.15",
"versionStartIncluding": "3.5.0"
},
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "A4C79CD6-3EA8-470D-8E35-EF53450F063B",
"versionEndExcluding": "3.6.11",
"versionStartIncluding": "3.6.0"
},
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "75E3B814-6517-4938-917D-7098FF49E301",
"versionEndExcluding": "3.7.8",
"versionStartIncluding": "3.7.0"
},
{
"criteria": "cpe:2.3:a:github:enterprise_server:3.8.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "952A51A6-A24C-4989-9941-FE62E21C505D"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "product-cna@github.com"
}