{"affected":[{"defaultStatus":"unknown","product":"Enterprise Server","source":"CNA: GitHub_P","vendor":"GitHub","versions":[{"changes":[{"at":"3.19.14","status":"unaffected"}],"lessThan":"3.19.*","status":"affected","version":"3.19.0","versionType":"semver"},{"changes":[{"at":"3.20.10","status":"unaffected"}],"lessThan":"3.20.*","status":"affected","version":"3.20.0","versionType":"semver"},{"changes":[{"at":"3.21.8","status":"unaffected"}],"lessThan":"3.21.*","status":"affected","version":"3.21.0","versionType":"semver"},{"changes":[{"at":"3.22.3","status":"unaffected"}],"lessThan":"3.22.*","status":"affected","version":"3.22.0","versionType":"semver"}]}],"cveId":"CVE-2026-104608","cwes":["CWE-416","CWE-1265"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":7.7,"severity":"high","source":"CNA: GitHub_P","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"},{"score":7.7,"severity":"high","source":"NVD: product-cna@github.com","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"}],"modifiedAt":1793747844420,"publishedAt":1793746188079,"references":[{"source":"CNA: GitHub_P","tags":["release-notes"],"url":"https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.14"},{"source":"CNA: GitHub_P","tags":["release-notes"],"url":"https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.10"},{"source":"CNA: GitHub_P","tags":["release-notes"],"url":"https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.8"},{"source":"CNA: GitHub_P","tags":["release-notes"],"url":"https://docs.github.com/en/enterprise-server@3.22/admin/release-notes#3.22.3"},{"source":"product-cna@github.com","tags":[],"url":"https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.14"},{"source":"product-cna@github.com","tags":[],"url":"https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.10"},{"source":"product-cna@github.com","tags":[],"url":"https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.8"},{"source":"product-cna@github.com","tags":[],"url":"https://docs.github.com/en/enterprise-server@3.22/admin/release-notes#3.22.3"}],"remediation":[],"revision":"7730da5b89ee1206ac77983e001a531adffce71e9958698eae998b8f5e6f86ef","sources":[{"modifiedAt":1793746188079,"name":"CNA: GitHub_P","retrievedAt":1793748150051,"url":"https://www.cve.org/CVERecord?id=CVE-2026-104608"},{"modifiedAt":1793747844420,"name":"NVD","retrievedAt":1793751775409,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104608"}],"ssvc":null,"status":"published","title":"Use-after-free vulnerability in GitHub Enterprise Server allowed remote code execution in the Git service","updatedAt":1793751775409}