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

> CVE-2026-104608: Use-after-free vulnerability in GitHub Enterprise Server allowed remote code execution in the Git service. CVSS 7.7 (CVSS 4.0).

Canonical: https://rewindex.com/cve/CVE-2026-104608
Last updated: 2026-11-06T19:17:06Z

- Published: 2026-11-03 22:49 UTC · Updated: 2026-11-06 19:17 UTC · Assigner: GitHub\_P
- CVSS: 7.7 (CVSS 4.0) · Severity: High
- EPSS: 0.40%, 35th percentile (scored 2026-11-10)
- CISA KEV: no
- CWE: CWE-1265, CWE-416

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

## Affected vendors and products

- GitHub: Enterprise Server

## Tracked companies

- [GitHub](https://rewindex.com/company/github.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-104608)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-104608)
- [https://docs.github.com/en/enterprise-server@3.19/admin/release-notes\#3.19.14](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.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.21/admin/release-notes#3.21.8)
- [https://docs.github.com/en/enterprise-server@3.22/admin/release-notes\#3.22.3](https://docs.github.com/en/enterprise-server@3.22/admin/release-notes#3.22.3)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-104608 · Markdown: https://rewindex.com/cve/CVE-2026-104608.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-104608 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-11-11T05:26:39.431Z
