Description
A site administrator could modify files on the appliance host with root privileges and disclose private repository data due to improper path validation in GitHub Enterprise Server. Exploitation required a crafted pre-receive hook environment. This vulnerability affected supported GitHub Enterprise Server versions prior to 3.23 and was fixed in versions 3.19.16, 3.20.12, 3.21.10, and 3.22.5. This vulnerability was reported via the GitHub Bug Bounty program.
Severity (CVSS)
| Base score | 8.6 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-59 — CWE-59 Improper Link Resolution Before File Access ('Link Following')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| GitHub | Enterprise Server | 3.19.0 to <3.19.* [affected]; from 3.19.16: unaffected; 3.20.0 to <3.20.* [affected]; from 3.20.12: unaffected; 3.21.0 to <3.21.* [affected]; from 3.21.10: unaffected; 3.22.0 to <3.22.* [affected]; from 3.22.5: unaffected |
References
- https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.16 (release-notes)
- https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.12 (release-notes)
- https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.10 (release-notes)
- https://docs.github.com/en/enterprise-server@3.22/admin/release-notes#3.22.5 (release-notes)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 18 Nov 2026 08:08 UTC.