A privilege escalation vulnerability in GitHub Enterprise Server allowed authenticated enterprise admins to gain root SSH access by exploiting a symlink escape in pre-receive hook environments. This could be achieved by crafting a malicious repository and environment to replace system binaries during hook cleanup, enabling the attacker to add their SSH key to the root user's authorized keys. The vulnerability affects all versions prior to 3.19 and was fixed in versions 3.14.19, 3.15.14, 3.16.10, 3.17.7, and 3.18.1.