Join our Experts on June 24 as they explain how to Detect, Divert, and Deceive AI-Assisted Threats

CVE-2026-3854

One Git Push, Full Server Compromise: Inside GitHub RCE Vulnerability CVE-2026-3854

CVSS Gauge
CVSS Needle

Summary

CVE-2026-3854 is a high-severity command injection vulnerability in GitHub Enterprise Server caused by improper sanitization of user-supplied git push options within internal service headers. An attacker with repository push access could craft malicious push options to inject additional metadata fields and achieve remote code execution through a single git push operation, potentially leading to full server compromise and unauthorized access to repositories and internal configuration data. The issue is fixed in GitHub Enterprise Server versions 3.14.25, 3.15.20, 3.16.16, 3.17.13, 3.18.7, 3.19.4, and 3.20.0 or later.

Urgent Actions Required

Which Systems Are Vulnerable to CVE-2026-3854?

Technical Overview

How Does the CVE-2026-3854 Exploit Work?

The attack typically follows these steps:

 CVE-2026-3854

What Causes CVE-2026-3854?

Vulnerability Root Cause:

The vulnerability came from unsafe handling of git push options in GitHub’s internal headers. Since delimiter characters were not properly sanitized, attackers could inject extra metadata, making malicious values appear trusted and enabling security bypass and remote code execution.

How Can You Mitigate CVE-2026-3854?

If immediate patching is delayed or not possible:

  • Restrict or review push access for untrusted users on affected GitHub Enterprise Server instances.
  • Monitor /var/log/github-audit.log for suspicious git push operations and push options containing semicolons (;).
  • Investigate unusual push activity involving crafted push option values or unexpected metadata fields.
  • Review systems for abnormal execution paths linked to git push processing.
  • Upgrade to the latest supported GitHub Enterprise Server patch release as soon as possible.

Which Assets and Systems Are at Risk?

Will Patching CVE-2026-3854 Cause Downtime?

Patch application impact: Low to moderate. GitHub Enterprise Server instances require upgrading to patched versions. Some environments may need maintenance windows or restart activities during deployment.

Mitigation (if immediate patching is not possible): Restrict untrusted push access and monitor git push activity and audit logs for suspicious push options containing semicolons (;).

How Can You Detect CVE-2026-3854 Exploitation?

Exploitation Signatures:

Look for git push operations containing crafted push option values with semicolons (;) or unexpected metadata field injection in internal service headers. 

Indicators of Compromise (IOCs/IOAs):

Behavioral Indicators:

Alerting Strategy:

Remediation & Response

Compliance & Governance Notes

Turn Attackers into Targets with Deception-Based Defense

      • Real-world deception to divert attackers from key assets
      • Reduce alert fatigue and improve SOC efficiency
      • Detect and trap threats early for stronger defense
Download the Solution Brief

CVSS Breakdown Table

MetricValue Description
Base Score8.8High severity vulnerability impacting GitHub Enterprise Server
Attack VectorNetwork Exploitable via a remote git push operation
Attack ComplexityLowExploitation possible with a single crafted git push
Privileges RequiredLowRequires push access to a repository
User Interaction NoneNo user action required beyond the attacker’s push operation
Scope Unchanged Impact remains within the affected GitHub services instance
Confidentiality Impact HighCan expose repositories and internal data
Integrity Impact HighAllows modification and injection of internal metadata
Availability ImpactHighCan lead to service disruption or full system compromise (GHES)

Related Readings

One Platform for All Adversaries

See Fidelis in action. Learn how our fast and scalable platforms provide full visibility, deep insights, and rapid response to help security teams across the World protect, detect, respond, and neutralize advanced cyber adversaries.