{"id":"CVE-2026-104608","published":"2026-11-03T22:49:48Z","modified":"2026-11-06T19:10:37Z","title":"Use-after-free vulnerability in GitHub Enterprise Server allowed remote code execution in the Git service","vendor":"GitHub","product":"Enterprise Server","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.004,"percentile":0.35168,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"},{"id":"CWE-1265","name":"Unintended Reentrant Invocation of Non-reentrant Code Via Nested Calls"}],"references":[{"url":"https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.14","tags":["release-notes"]},{"url":"https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.10","tags":["release-notes"]},{"url":"https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.8","tags":["release-notes"]},{"url":"https://docs.github.com/en/enterprise-server@3.22/admin/release-notes#3.22.3","tags":["release-notes"]}],"priority":{"score":12.4,"factors":[{"name":"EPSS percentile","points":7.03},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"github","affectedVersions":[{"vendor":"GitHub","product":"Enterprise Server","versions":[">= 3.19.0, < 3.19.*",">= 3.20.0, < 3.20.*",">= 3.21.0, < 3.21.*",">= 3.22.0, < 3.22.*"]}],"fixedVersions":[{"vendor":"GitHub","product":"Enterprise Server","versions":["3.19.14","3.20.10","3.21.8","3.22.3"]}],"capec":[{"id":"CAPEC-233","name":"Privilege Escalation"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-11-06T19:10:23.666531Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-116581","exploited":false,"provenance":"source"}}