7.7

CVE-2026-104608

Use-after-free vulnerability in GitHub Enterprise Server allowed remote code execution in the Git service

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerGitHub
≫
Produkt Enterprise Server
Default Statusunknown
Version 3.19.0
Version < 3.19.*
Status affected
Version 3.20.0
Version < 3.20.*
Status affected
Version 3.21.0
Version < 3.21.*
Status affected
Version 3.22.0
Version < 3.22.*
Status affected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.4% 0.345
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
product-cna@github.com 7.7 0 0
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CWE-1265 Unintended Reentrant Invocation of Non-reentrant Code Via Nested Calls

The product invokes code that is believed to be reentrant, but the code performs a call that unintentionally produces a nested invocation of the non-reentrant code.

CWE-416 Use After Free

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.14
https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.10
https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.8
https://docs.github.com/en/enterprise-server@3.22/admin/release-notes#3.22.3