# CVE-2026-104608: Use-after-free vulnerability in GitHub Enterprise Server allowed remote code execution in the Git service

- Priority: **Routine**
- Reason: Not severe (CVSS 7.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-03 · Modified: 2026-11-06
- Record: https://cvemate.com/vulnerability/CVE-2026-104608 · JSON: https://cvemate.com/vulnerability/CVE-2026-104608/json

## 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.
```

## Signals

- CVSS: 7.7 high (v4.0, CVE.org) 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
- EPSS: 0.501%, percentile 44.546%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- github enterprise server: ≥ 3.19.0, \< 3.19.\* \| ≥ 3.20.0, \< 3.20.\* \| ≥ 3.21.0, \< 3.21.\* \| ≥ 3.22.0, \< 3.22.\*

## References

- <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>

---

Data as of 2026-12-05T07:29:21.820Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
