CVE-2026-3854: 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.25, 3.15.20, 3.16.16, 3.17.13, 3.18.7 and 3.19.4.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-3854?
CVE-2026-3854 has been rated as a critical severity vulnerability due to its potential for remote code execution.
How do I fix CVE-2026-3854?
To fix CVE-2026-3854, update GitHub Enterprise Server to version 3.14.25 or later, or to versions 3.15.20 and above as detailed in the release notes.
Who is affected by CVE-2026-3854?
CVE-2026-3854 affects all installations of GitHub Enterprise Server versions prior to 3.14.25, 3.15.20, 3.16.16, 3.17.13, 3.18.7, and 3.19.4.
What type of vulnerability is CVE-2026-3854?
CVE-2026-3854 is a remote code execution vulnerability caused by improper neutralization of special elements in GitHub Enterprise Server.
What is the impact of CVE-2026-3854?
The impact of CVE-2026-3854 is that an attacker with push access can execute arbitrary code on the GitHub Enterprise Server instance.