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

- Severity: High 7.7 (CVSS:4.0, scored by GitHub_P) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2026-11-03T22:49:48.079Z
- Modified: 2026-11-12T22:09:39.233Z
- Weaknesses: CWE-416, CWE-1265
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_P

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

(As written by CVE List.)

## Affected

- GitHub Enterprise Server: from 3.19.0 before 3.19.*; from 3.20.0 before 3.20.*; from 3.21.0 before 3.21.*; from 3.22.0 before 3.22.*

## References

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

## Sources

- CVE List: [CVE-2026-104608](https://www.cve.org/CVERecord?id=CVE-2026-104608), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-104608](https://nvd.nist.gov/vuln/detail/CVE-2026-104608), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-104608 · Whole record: https://cve.day/CVE-2026-104608.json · Rebuilt by cve.day 2026-11-25T22:59:48.929Z
