{"id":"CVE-2025-11578","state":"PUBLISHED","title":"Pre-Receive Hook Path Collision Vulnerability in GitHub Enterprise Server Allowing Privilege Escalation","description":"A privilege escalation vulnerability was identified in GitHub Enterprise Server that allowed an authenticated Enterprise admin to gain root SSH access to the appliance by exploiting a symlink escape in pre-receive hook environments. By crafting a malicious repository and environment, an attacker could replace system binaries during hook cleanup and execute a payload that adds their own SSH key to the root user’s authorized keys—thereby granting themselves root SSH access to the server. To exploit this vulnerability, the attacker needed to have enterprise admin privileges. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.19, and was fixed in versions 3.14.20, 3.15.15, 3.16.11, 3.17.8, 3.18.2. This vulnerability was reported via the GitHub Bug Bounty program.","publishedAt":"2025-11-10T22:44:33.200Z","updatedAt":"2025-12-02T20:08:21.684Z","severity":{"score":7.5,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"GitHub_P"},"assigner":"GitHub_P","products":["GitHub Enterprise Server"],"affected":[{"vendor":"GitHub","product":"Enterprise Server","defaultStatus":"affected","versions":[{"version":"3.14","status":"affected","lessThanOrEqual":"3.14.19","changes":[{"at":"3.14.20","status":"unaffected"}],"versionType":"semver"},{"version":"3.15","status":"affected","lessThanOrEqual":"3.15.14","changes":[{"at":"3.15.15","status":"unaffected"}],"versionType":"semver"},{"version":"3.16","status":"affected","lessThanOrEqual":"3.16.10","changes":[{"at":"3.16.11","status":"unaffected"}],"versionType":"semver"},{"version":"3.17","status":"affected","lessThanOrEqual":"3.17.7","changes":[{"at":"3.17.8","status":"unaffected"}],"versionType":"semver"},{"version":"3.18","status":"affected","lessThanOrEqual":"3.18.1","changes":[{"at":"3.18.2","status":"unaffected"}],"versionType":"semver"}]}],"references":["https://docs.github.com/en/enterprise-server@3.14/admin/release-notes#3.14.20","https://docs.github.com/en/enterprise-server@3.15/admin/release-notes#3.15.15","https://docs.github.com/en/enterprise-server@3.16/admin/release-notes#3.16.11","https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.8","https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.2"],"weaknesses":["CWE-59"],"ingestedAt":"2026-10-29T20:08:31.050Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/11xxx/CVE-2025-11578.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-11578","state":"PUBLISHED","datePublished":"2025-11-10T22:44:33.200Z","dateUpdated":"2025-12-02T20:08:21.684Z","assignerShortName":"GitHub_P","assignerOrgId":"82327ea3-741d-41e4-88f8-2cf9e791e760","dateReserved":"2025-10-10T07:00:07.064Z"},"containers":{"cna":{"title":"Pre-Receive Hook Path Collision Vulnerability in GitHub Enterprise Server Allowing Privilege Escalation","descriptions":[{"lang":"en","value":"A privilege escalation vulnerability was identified in GitHub Enterprise Server that allowed an authenticated Enterprise admin to gain root SSH access to the appliance by exploiting a symlink escape in pre-receive hook environments. By crafting a malicious repository and environment, an attacker could replace system binaries during hook cleanup and execute a payload that adds their own SSH key to the root user’s authorized keys—thereby granting themselves root SSH access to the server. To exploit this vulnerability, the attacker needed to have enterprise admin privileges. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.19, and was fixed in versions 3.14.20, 3.15.15, 3.16.11, 3.17.8, 3.18.2. This vulnerability was reported via the GitHub Bug Bounty program."}],"affected":[{"vendor":"GitHub","product":"Enterprise Server","defaultStatus":"affected","versions":[{"version":"3.14","status":"affected","lessThanOrEqual":"3.14.19","changes":[{"at":"3.14.20","status":"unaffected"}],"versionType":"semver"},{"version":"3.15","status":"affected","lessThanOrEqual":"3.15.14","changes":[{"at":"3.15.15","status":"unaffected"}],"versionType":"semver"},{"version":"3.16","status":"affected","lessThanOrEqual":"3.16.10","changes":[{"at":"3.16.11","status":"unaffected"}],"versionType":"semver"},{"version":"3.17","status":"affected","lessThanOrEqual":"3.17.7","changes":[{"at":"3.17.8","status":"unaffected"}],"versionType":"semver"},{"version":"3.18","status":"affected","lessThanOrEqual":"3.18.1","changes":[{"at":"3.18.2","status":"unaffected"}],"versionType":"semver"}]}],"references":[{"url":"https://docs.github.com/en/enterprise-server@3.14/admin/release-notes#3.14.20"},{"url":"https://docs.github.com/en/enterprise-server@3.15/admin/release-notes#3.15.15"},{"url":"https://docs.github.com/en/enterprise-server@3.16/admin/release-notes#3.16.11"},{"url":"https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.8"},{"url":"https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.2"}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"HIGH","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":7.5,"baseSeverity":"HIGH","exploitMaturity":"NOT_DEFINED","privilegesRequired":"HIGH","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-59","description":"CWE-59 Improper Link Resolution Before File Access ('Link Following')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_P","orgId":"82327ea3-741d-41e4-88f8-2cf9e791e760","dateUpdated":"2025-12-02T20:08:21.684Z"},"credits":[{"lang":"en","type":"finder","value":"inspector-ambitious"}],"impacts":[{"capecId":"CAPEC-233","descriptions":[{"lang":"en","value":"CAPEC-233 Privilege Escalation"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-11-12T17:33:22.593181Z","id":"CVE-2025-11578","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-11-12T20:12:10.957Z"}}]}}}