{"schemaVersion":4,"id":"CVE-2026-104608","aliases":[],"status":"published","duplicateOf":null,"title":"Use-after-free vulnerability in GitHub Enterprise Server allowed remote code execution in the Git service","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.","dates":{"published":"2026-11-03T22:49:48.079Z","modified":"2026-11-06T19:10:37.408Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.7,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.7,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.7,"severity":"high","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/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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00501,"percentile":0.44546,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.10099999999999996,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.004},"history":[{"date":"2026-11-04T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00501,"percentile":0.44546}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00501,"percentile":0.44546}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"},{"id":"CWE-1265","name":"Unintended Reentrant Invocation of Non-reentrant Code Via Nested Calls","description":"The product invokes code that is believed to be reentrant, but the code performs a call that unintentionally produces a nested invocation of non-reentrant code.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/1265.html"}],"affected":[{"vendor":"github","product":"enterprise server","name":"Enterprise Server","label":"enterprise server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.19.0, < 3.19.*","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.19.0","startInclusive":true,"end":"3.19.*","endInclusive":false}},{"text":"≥ 3.20.0, < 3.20.*","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.20.0","startInclusive":true,"end":"3.20.*","endInclusive":false}},{"text":"≥ 3.21.0, < 3.21.*","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.21.0","startInclusive":true,"end":"3.21.*","endInclusive":false}},{"text":"≥ 3.22.0, < 3.22.*","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.22.0","startInclusive":true,"end":"3.22.*","endInclusive":false}}],"versionsText":"≥ 3.19.0, < 3.19.* | ≥ 3.20.0, < 3.20.* | ≥ 3.21.0, < 3.21.* | ≥ 3.22.0, < 3.22.*","eol":null,"hubHref":"/vendor/github/enterprise_server"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.14","label":"docs.github.com/en/enterprise-server@3.19/admin/release-notes","hostname":"docs.github.com","tags":["Release Notes"]},{"url":"https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.10","label":"docs.github.com/en/enterprise-server@3.20/admin/release-notes","hostname":"docs.github.com","tags":["Release Notes"]},{"url":"https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.8","label":"docs.github.com/en/enterprise-server@3.21/admin/release-notes","hostname":"docs.github.com","tags":["Release Notes"]},{"url":"https://docs.github.com/en/enterprise-server@3.22/admin/release-notes#3.22.3","label":"docs.github.com/en/enterprise-server@3.22/admin/release-notes","hostname":"docs.github.com","tags":["Release Notes"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-03T22:49:48.079Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-06T19:10:37.408Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.7, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,77],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00501,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-06T19:10:37.408Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.7,"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","version":"4.0","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-06T19:10:37.408Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.7,"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/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","version":"4.0"},{"type":"adp","source":"cisa-adp","date":"2026-11-06T19:10:23.666Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00501,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T07:02:00.704Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T07:02:01.187Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T07:02:01.389Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T07:01:05.155Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T07:01:59.185Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T07:01:58.234Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T07:29:21.820Z","stale":false,"partial":false}}