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.
Fixes and workarounds
No remediation reported in collected sources.
Missing remediation information is not evidence that no patch exists.
Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| Enterprise Server GitHub |
≥ 3.19.0; < 3.19.* (affected, semver); unaffected at 3.19.14 ≥ 3.20.0; < 3.20.* (affected, semver); unaffected at 3.20.10 ≥ 3.21.0; < 3.21.* (affected, semver); unaffected at 3.21.8 ≥ 3.22.0; < 3.22.* (affected, semver); unaffected at 3.22.3 Other versions: unknown |
CNA: GitHub_P |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 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 | CNA: GitHub_P |
| 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/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 | NVD: [email protected] |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://docs.github.com/en/[email protected]/admin/release-notes#3.19.14CNA: GitHub_P · release-notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.20.10CNA: GitHub_P · release-notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.21.8CNA: GitHub_P · release-notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.22.3CNA: GitHub_P · release-notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.19.14[email protected]
- https://docs.github.com/en/[email protected]/admin/release-notes#3.20.10[email protected]
- https://docs.github.com/en/[email protected]/admin/release-notes#3.21.8[email protected]
- https://docs.github.com/en/[email protected]/admin/release-notes#3.22.3[email protected]
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.