Remote code execution via Git push option injection
Published Mar 10, 2026 · Updated Mar 10, 2026
Command injection in GitHub Enterprise Server allows remote authenticated users with repository push access to execute arbitrary code via Git push options. Babeld copies semicolon-bearing push option values into the delimiter-based X-Stat header, allowing injected last-write-wins metadata to redirect unsandboxed pre-receive hook execution. Any authenticated user who can push to a repository can execute commands as the Git service user, gaining filesystem read and write access on the instance.
Summary
What happened
Command injection in GitHub Enterprise Server allows remote authenticated users with repository push access to execute arbitrary code via Git push options. Babeld copies semicolon-bearing push option values into the delimiter-based X-Stat header, allowing injected last-write-wins metadata to redirect unsandboxed pre-receive hook execution. Any authenticated user who can push to a repository can execute commands as the Git service user, gaining filesystem read and write access on the instance.
The record
- CVE
- CVE-2026-3854
- Published
- Mar 10, 2026
- Updated
- Mar 10, 2026
- Vendor
- Product
- GitHub Enterprise Server
- Classifications
- CWE-77, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 10, 2026CVE publishedPublication date reported by the CVE source.
- Mar 10, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=3.14.0 <=3.14.23 changes=[{"at":"3.14.24","status":"unaffected"}]
- Affected versionversion=3.15.0 <=3.15.18 changes=[{"at":"3.15.19","status":"unaffected"}]
- Affected versionversion=3.16.0 <=3.16.14 changes=[{"at":"3.16.15","status":"unaffected"}]
- Affected versionversion=3.17.0 <=3.17.11 changes=[{"at":"3.17.12","status":"unaffected"}]
- Affected versionversion=3.18.0 <=3.18.5 changes=[{"at":"3.18.6","status":"unaffected"}]
- Affected versionversion=3.19.0 <=3.19.2 changes=[{"at":"3.19.3","status":"unaffected"}]
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo