CVE-2026-104608
published high CVSS 4.0 · 7.7Use-after-free vulnerability in GitHub Enterprise Server allowed remote code execution in the Git service
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GitHub | — | Enterprise Server3.19.0 to < 3.19.* (affected · semver); changes: unaffected at 3.19.14 · 3.20.0 to < 3.20.* (affected · semver); changes: unaffected at 3.20.10 · 3.21.0 to < 3.21.* (affected · semver); changes: unaffected at 3.21.8 · 3.22.0 to < 3.22.* (affected · semver); changes: unaffected at 3.22.3 · Other versions: unknown | Version-specific | Not stated | GitHub_P |
Description
A remote code execution vulnerability was identified in GitHub Enterprise Server in the Git service (babeld). babeld held references into internal collections while calling into the SSH library, where a re-entrant callback could modify a collection and invalidate those references. An attacker with an account and SSH access to the instance could leverage this use-after-free into a controlled write and run arbitrary commands as babeld, including disclosure of its environment secrets. Exploitation required per-build memory offsets; failed attempts crashed babeld. This affected all releases prior to 3.23 and was fixed in 3.22.3, 3.21.8, 3.20.10, and 3.19.14. This vulnerability was reported via the GitHub Bug Bounty program.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- GitHub_P · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:L/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GitHub | Enterprise Server | 3.19.0 to < 3.19.* (affected · semver); changes: unaffected at 3.19.143.20.0 to < 3.20.* (affected · semver); changes: unaffected at 3.20.103.21.0 to < 3.21.* (affected · semver); changes: unaffected at 3.21.83.22.0 to < 3.22.* (affected · semver); changes: unaffected at 3.22.3Default: unknown | GitHub_P · cna |
Weaknesses
2- CWE-416 CWE-416 Use After Free
- CWE-1265 CWE-1265 Unintended reentrant invocation of non-reentrant code via nested calls
References
4Provider assertions
2GitHub_P · cna
Use-after-free vulnerability in GitHub Enterprise Server allowed remote code execution in the Git service
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2785c5aa3df0e14551b7e5dacbf7651ca3ca9b4cab78647db55848cd8f354b1a
- Ingested
- 07 Nov 2026, 23:37:13 UTC
- Source record
- Official CVE record