Monitor vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
8.7
GitHub Enterprise Server allows attackers to run code on the server
CVE-2026-3854
Summary
An attacker with push access to a repository can execute code on the server if they send a carefully crafted push request. This can lead to unauthorized access and potentially serious security breaches. Update to the latest version of GitHub Enterprise Server to fix this issue.
What to do
No fix is available yet. Check with your software vendor for updates.
Affected software
| Vendor | Product | Affected versions | Fix available |
|---|---|---|---|
| github | enterprise_server | <= 3.14.24 | – |
| github | enterprise_server | > 3.15.0 , <= 3.15.19 | – |
| github | enterprise_server | > 3.16.0 , <= 3.16.15 | – |
| github | enterprise_server | > 3.17.0 , <= 3.17.12 | – |
| github | enterprise_server | > 3.18.0 , <= 3.18.6 | – |
| github | enterprise_server | > 3.19.0 , <= 3.19.3 | – |
Original title
An improper neutralization of special elements vulnerability was identified in GitHub Enterprise Server that allowed an attacker with push access to a repository to achieve remote code execution on...
Original description
An improper neutralization of special elements vulnerability was identified in GitHub Enterprise Server that allowed an attacker with push access to a repository to achieve remote code execution on the instance. During a git push operation, user-supplied push option values were not properly sanitized before being included in internal service headers. Because the internal header format used a delimiter character that could also appear in user input, an attacker could inject additional metadata fields through crafted push option values. This vulnerability was reported via the GitHub Bug Bounty program and has been fixed in GitHub Enterprise Server versions 3.14.24, 3.15.19, 3.16.15, 3.17.12, 3.18.6 and 3.19.3.
nvd CVSS4.0
8.7
Vulnerability type
CWE-77
Command Injection
- https://docs.github.com/en/[email protected]/admin/release-notes#3.14.24
- https://docs.github.com/en/[email protected]/admin/release-notes#3.15.19
- https://docs.github.com/en/[email protected]/admin/release-notes#3.16.15
- https://docs.github.com/en/[email protected]/admin/release-notes#3.17.12
- https://docs.github.com/en/[email protected]/admin/release-notes#3.18.6
- https://docs.github.com/en/[email protected]/admin/release-notes#3.19.3
Published: 10 Mar 2026 · Updated: 13 Mar 2026 · First seen: 11 Mar 2026