Skip to content
NewA calmer, faster ZeroHour

GitHub RCE let push users run server commands (CVE-2026-3854)

Original title: GitHub RCE Vulnerability Allows Hackers to Compromise Servers With a Single Git Push Command

GBHackersby Divya ()3 min read2 · 1 read
AI summary · x-ai/grok-4.7Summaries by Vani AI

Hosted GitHub was patched on March 4, 2026; investigators found only Wiz's tests and no customer data access.

Wiz reported CVE-2026-3854 in GitHub's internal Git infrastructure. An authenticated user who could push to a repository they created could run arbitrary commands because push options were treated as trusted metadata and escaped the pre-receive hook sandbox. GitHub patched hosted services quickly. Self-hosted GitHub Enterprise Server can expose repositories, configuration and secrets until updated.

Unconfirmed: GitHub's hosted investigation does not show whether any specific self-hosted appliance was targeted.

Key facts
  • Minimum GHES releases are 3.14.25, 3.15.20, 3.16.16, 3.17.13, 3.18.7, 3.19.4 and 3.20.0.
  • Code ran as the Git service account on shared storage nodes.
  • Researchers saw millions of index entries but did not read other customers' contents.
  • Check /var/log/github-audit.log for semicolons in push options.
  • GitHub Enterprise Server 3.20.3 later fixed separate flaws.
Security assessment · AI, from the articleNo known exploitation

Impact: arbitrary command execution as the Git service account

ProductAffectedFixed in
GitHub.com—patched March 4, 2026
GitHub Enterprise Cloud—patched March 4, 2026
GitHub Enterprise Server—3.14.25, 3.15.20, 3.16.16, 3.17.13, 3.18.7, 3.19.4, 3.20.0
What to do
  1. 1.Install the latest patch on a supported GHES branch, not only the listed minimums.
  2. 2.Review /var/log/github-audit.log for push options containing semicolons.
  3. 3.Hosted GitHub.com and Enterprise Cloud customers do not need to act.
Analyze CVE-2026-3854 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-3854
Header-injection RCE via git push options in GitHub Enterprise Server
8.740%

From the original article

3 min read at gbhackers.com

A serious vulnerability in GitHub’s internal Git infrastructure allowed an authenticated user to execute arbitrary commands on the server while processing a single git push. This flaw, identified as CVE-2026-3854, impacted GitHub. com, GitHub Enterprise Cloud, and self-hosted GitHub Enterprise Server (GHES).

GBHackers

By Divya · gbhackers.com

Read the full article at GBHackers

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.