{"id":"CVE-2026-104608","aliases":["CVE-2026-104608"],"related":[],"kind":"vulnerability","state":"published","title":"Use-after-free vulnerability in GitHub Enterprise Server allowed remote code execution in the Git service","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-03T22:49:48.079Z","modified":"2026-11-12T22:09:39.233Z","severity":{"scorer":"GitHub_P","scheme":"CVSS: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","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_P","scheme":"CVSS: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","score":7.7,"rating":"HIGH"}],"cwes":["CWE-416","CWE-1265"],"affected":[{"ranges":[{"type":"semver","introduced":"3.19.0","fixed":"3.19.*","status":"affected"},{"type":"semver","introduced":"3.20.0","fixed":"3.20.*","status":"affected"},{"type":"semver","introduced":"3.21.0","fixed":"3.21.*","status":"affected"},{"type":"semver","introduced":"3.22.0","fixed":"3.22.*","status":"affected"}],"vendor":"GitHub","product":"Enterprise Server","source":"cvelist"}],"references":[{"url":"https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.14","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.10","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.8","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://docs.github.com/en/enterprise-server@3.22/admin/release-notes#3.22.3","tags":["release-notes"],"sources":["cvelist","nvd"]}],"credits":["R31n"],"assigner":"GitHub_P","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-06T19:10:23.666Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-104608","url":"https://www.cve.org/CVERecord?id=CVE-2026-104608","licence":"CVE Terms of Use","modified":"2026-11-06T19:10:37.408Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-104608","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104608","licence":"Public domain","modified":"2026-11-12T22:09:39.233Z"}],"updatedAt":"2026-11-25T22:59:48.929Z","epss":{"score":0.00501,"percentile":0.4452,"date":"2026-12-01T12:00:22.000Z"}}