GitHub Patches CVE-2026-3854, Allowing Authenticated RCE via Crafted Push Options

Summary
CVE-2026-3854 allowed authenticated users with repository write access to trigger server-side command execution through crafted git push options. GitHub patched its cloud service; GHES administrators should upgrade and review audit logs.
Key points
- The flaw affected GitHub’s cloud infrastructure and on-premises GitHub Enterprise Server (GHES).
- Improper handling of semicolon-delimited git push options could inject values into internal metadata.
- Exploitation required an authenticated user with repository write permissions and could execute commands as the git service user.
- The article reports that GitHub fixed its cloud environment on March 4, 2026.
- Patched 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.
- GHES administrators are advised to upgrade and check /var/log/github-audit.log for pushes with anomalous parameters or delimiters.
Article Details
- Vulnerability Types
- Improper sanitization of delimiter-separated git push options
- Server-side command execution through delimiter injection
- Severity
- Critical
- Exploitation Status
- reported
- Exploit Availability
- unknown
- Patch Status
- available
MITRE ATT&CK
T1059 · Command and Scripting InterpreterThe injected push option results in server-side command execution under the git service user's privileges, with output returned to the client.T1078 · Valid AccountsExploitation requires an authenticated user with repository write permissions, allowing misuse of valid access.T1190 · Exploit Public-Facing ApplicationA crafted git push option exploits GitHub's improper parsing of client-provided push options to trigger server-side command execution.
CVE
Vendors
Products
GitHubGitHub fixed a critical vulnerability, CVE-2026-3854, affecting both cloud and on-premises GitHub Enterprise Server that allowed improper handling of git push options.GitHub Enterprise ServerGitHub fixed a critical vulnerability, CVE-2026-3854, affecting both cloud and on-premises GitHub Enterprise Server that allowed improper handling of git push options.
