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.25, 3.15.20, 3.16.16, 3.17.13, 3.18.7 and 3.19.4.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GitHub | Enterprise Server | 3.14.0 – ≤ 3.14.24, 3.15.0 – ≤ 3.15.19, 3.16.0 – ≤ 3.16.15, 3.17.0 – ≤ 3.17.12, 3.18.0 – ≤ 3.18.6, 3.19.0 – ≤ 3.19.3 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 7 repositories
-
royaleybovich/CVE-2026-3854-lab ★ 9 · Aug 2, 2026
-
lysophavin18/CVE-2026-3854-PoC ★ 2 · Apr 29, 2026
GitHub RCE via X-Stat Push Option Injection
-
ridhinva/ghe-push-option-rce-scanner ★ 0 · May 22, 2026
Scanner: CVE-2026-3854 GitHub Enterprise Server Pre-auth RCE via Push Option Injection — Python checker (CISA KEV)
-
isagoakira/ghes-cve-scanner ★ 0 · May 5, 2026
GHES CVE Scanner — Defensive security tool for detecting CVE-2026-3854 (Git Push RCE) and CVE-2026-4821 (Management Console proxy injection) in GitHub Enterprise Server. Zero external dependencies, P…
-
simondankelmann/cve-2026-3854-test ★ 0 · Apr 29, 2026
CVE-2026-3854 patch bypass testing
-
5kr1pt/CVE-2026-3854 ★ 0 · Apr 28, 2026
-
LACHHAB-Anas/Exploit_CVE-2026-3854 ★ 0 · Apr 28, 2026
Details about CVE-2026-3854
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- WID-SEC-2026-0685 Microsoft GitHub Enterprise Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 10, 2026
References
- https://docs.github.com/en/enterprise-server@3.14/admin/release-notes#3.14.25
- https://docs.github.com/en/enterprise-server@3.15/admin/release-notes#3.15.20
- https://docs.github.com/en/enterprise-server@3.16/admin/release-notes#3.16.16
- https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.13
- https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.7
- https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.4