{"id":"CVE-2025-11578","aliases":["CVE-2025-11578"],"related":[],"kind":"vulnerability","state":"published","title":"Pre-Receive Hook Path Collision Vulnerability in GitHub Enterprise Server Allowing Privilege Escalation","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de escalada de privilegios fue identificada en GitHub Enterprise Server que permitía a un administrador de Enterprise autenticado obtener acceso SSH de root al dispositivo explotando un escape de symlink en entornos de hooks de pre-recepción. Al crear un repositorio y entorno maliciosos, un atacante podía reemplazar binarios del sistema durante la limpieza del hook y ejecutar una carga útil que añade su propia clave SSH a las claves autorizadas del usuario root, otorgándose así acceso SSH de root al servidor. Para explotar esta vulnerabilidad, el atacante necesitaba tener privilegios de administrador de Enterprise. Esta vulnerabilidad afectaba a todas las versiones de GitHub Enterprise Server anteriores a la 3.19, y fue corregida en las versiones 3.14.20, 3.15.15, 3.16.11, 3.17.8, 3.18.2. Esta vulnerabilidad fue reportada a través del programa GitHub Bug Bounty.","source":"nvd"}],"published":"2025-11-10T22:44:33.200Z","modified":"2026-10-07T21:10:00.200Z","severity":{"scorer":"GitHub_P","scheme":"CVSS: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","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_P","scheme":"CVSS: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","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"}],"cwes":["CWE-59"],"affected":[{"ranges":[{"type":"semver","introduced":"3.14","lastAffected":"3.14.19","status":"affected"},{"type":"semver","introduced":"3.15","lastAffected":"3.15.14","status":"affected"},{"type":"semver","introduced":"3.16","lastAffected":"3.16.10","status":"affected"},{"type":"semver","introduced":"3.17","lastAffected":"3.17.7","status":"affected"},{"type":"semver","introduced":"3.18","lastAffected":"3.18.1","status":"affected"}],"vendor":"GitHub","product":"Enterprise Server","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.14.0","fixed":"3.14.20"},{"status":"affected","introduced":"3.15.0","fixed":"3.15.15"},{"status":"affected","introduced":"3.16.0","fixed":"3.16.11"},{"status":"affected","introduced":"3.17.0","fixed":"3.17.8"},{"status":"affected","introduced":"3.18.0","fixed":"3.18.2"}],"vendor":"github","product":"enterprise_server","cpe":"cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://docs.github.com/en/enterprise-server@3.14/admin/release-notes#3.14.20","tags":["release-notes","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://docs.github.com/en/enterprise-server@3.15/admin/release-notes#3.15.15","tags":["release-notes","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://docs.github.com/en/enterprise-server@3.16/admin/release-notes#3.16.11","tags":["release-notes","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.8","tags":["release-notes","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.2","tags":["release-notes","vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["inspector-ambitious"],"assigner":"GitHub_P","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-11-12T17:33:22.593Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-11578","url":"https://www.cve.org/CVERecord?id=CVE-2025-11578","licence":"CVE Terms of Use","modified":"2025-12-02T20:08:21.684Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-11578","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-11578","licence":"Public domain","modified":"2026-10-07T21:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:07.424Z","epss":{"score":0.00707,"percentile":0.54651,"date":"2026-12-01T12:00:22.000Z"}}