GitHub Enterprise Server RCE via unsanitized push options (before 3.19.3)
CVE-2026-3854 Published on March 10, 2026
Remote code execution via git push option injection in GitHub Enterprise Server
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.
Weakness Type
What is a Command Injection Vulnerability?
The software constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
CVE-2026-3854 has been classified to as a Command Injection vulnerability or weakness.
Products Associated with CVE-2026-3854
Want to know whenever a new CVE is published for github Enterprise Server? stack.watch will email you.
Affected Versions
GitHub Enterprise Server:- Version 3.14.0, <= 3.14.23 is affected.
- Version 3.15.0, <= 3.15.18 is affected.
- Version 3.16.0, <= 3.16.14 is affected.
- Version 3.17.0, <= 3.17.11 is affected.
- Version 3.18.0, <= 3.18.5 is affected.
- Version 3.19.0, <= 3.19.2 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.