CVE-2026-104608
Use-after-free vulnerability in GitHub Enterprise Server allowed remote code execution in the Git service
- State
- Published
- Severity
- 7.7 High
- Published
- Nov 3, 2026
- Updated
- Nov 3, 2026
- Reserved
- Oct 2, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 7.7 High | 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 | GitHub_P |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
Enterprise ServerGitHub |
|
References
- https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.14release-notes
- https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.10release-notes
- https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.8release-notes
- https://docs.github.com/en/enterprise-server@3.22/admin/release-notes#3.22.3release-notes
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.