CVE-2026-3854 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 in...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Github | Enterprise Server | < 3.14.24 ≥ 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+1 more≥ 3.19.0, ≤ 3.19.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-3854 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-271408-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2026-03-10 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-77: Command Injection
Attacker injects operating system commands through application inputs passed to a shell or system call.
Related attack patterns (CAPEC)
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-77
CAPEC-76 Manipulating Web Input to File System Calls via CWE-77
CAPEC-15 Command Delimiters via CWE-77
CAPEC-40 Manipulating Writeable Terminal Devices via CWE-77
CAPEC-75 Manipulating Writeable Configuration Files via CWE-77
Show all 8
CAPEC-136 LDAP Injection via CWE-77
CAPEC-183 IMAP/SMTP Command Injection via CWE-77
CAPEC-248 Command Injection via CWE-77
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
An improper neutralization of special elements vulnerability in GitHub Enterprise Server allows 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. The internal header format used a delimiter that could be exploited to inject malicious code.
Questions
What is CVE-2026-3854?
An improper neutralization of special elements vulnerability in GitHub Enterprise Server allows an attacker with push access to a repository to achieve remote code execution on the instance.
What is the CVSS score for CVE-2026-3854?
CVE-2026-3854 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.7%.
Is CVE-2026-3854 actively exploited?
No confirmed active exploitation of CVE-2026-3854 as of 2026-09-25.
How do I remediate CVE-2026-3854?
Priority: IMMEDIATE. Advisory: https://docs.github.com/en/[email protected]/admin/release-notes#3.14.25
What systems are affected by CVE-2026-3854?
CVE-2026-3854 affects Github Enterprise Server.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Github","product":"Enterprise Server","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.