GitHub Patches CVE-2026-3854 RCE Flaw That Could Expose Private Repositories

Summary
GitHub patched CVE-2026-3854, a flaw exploitable with a malicious git push by someone with push access. GitHub said it found no exploitation beyond Wiz’s testing; GHES administrators should upgrade.
Key points
- Wiz reported CVE-2026-3854 on March 4, 2026; GitHub said it reproduced and fixed the flaw on GitHub[.]com within hours.
- The flaw affects GitHub[.]com, GitHub Enterprise Cloud variants and GitHub Enterprise Server (GHES).
- A malicious git push by an attacker with push access could inject unsanitized metadata, bypass sandboxing and enable remote code execution.
- Wiz reported that testing exposed millions of repositories on affected shared storage nodes and said about 88% of reachable GHES instances remained vulnerable.
- GitHub said its forensic analysis found no exploitation beyond Wiz’s testing and no customer data accessed, modified or exfiltrated.
- GitHub published patches for all supported GHES releases and urged administrators to upgrade immediately.
Article Details
- Vulnerability Types
- Remote code execution
- Injection of unsanitized user-supplied values into server metadata
- Severity
- Critical
- Exploitation Status
- reported
- Exploit Availability
- unknown
- Patch Status
- available
MITRE ATT&CK
CVE
People
Alexis WalesGitHub Chief Information Security Officer who described the reproduction, remediation, investigation findings, and patches for supported GHES releases.Sagi TzadikWiz security researcher who described the vulnerability's impact on GitHub.com and GitHub Enterprise Server and warned about vulnerable GHES instances.
Vendors
Products
GitHub Enterprise CloudThe vulnerability affects GitHub.com, GitHub Enterprise Cloud variants, and GitHub Enterprise Server.GitHub Enterprise Cloud with Data ResidencyCVE-2026-3854 affects GitHub.com, GitHub Enterprise Cloud, GitHub Enterprise Cloud with Data Residency, GitHub Enterprise Cloud with Enterprise Managed Users, and GitHub Enterprise Server.GitHub Enterprise Cloud with Enterprise Managed UsersCVE-2026-3854 affects GitHub.com, GitHub Enterprise Cloud, GitHub Enterprise Cloud with Data Residency, GitHub Enterprise Cloud with Enterprise Managed Users, and GitHub Enterprise Server.GitHub Enterprise ServerThe flaw (CVE-2026-3854), reported by Wiz, was confirmed and fixed quickly on GitHub.com, but many GitHub Enterprise Server instances remain vulnerable and must be upgraded immediately.GitHub.comThe flaw (CVE-2026-3854), reported by Wiz, was confirmed and fixed quickly on GitHub.com, but many GitHub Enterprise Server instances remain vulnerable and must be upgraded immediately.
