Vulnerability · Published Mar 10, 2026 · Assigned by GitHub_P

CVE-2026-3854Remote code execution via git push option injection in GitHub Enterprise Server

High 8.7

In plain English

A high-severity command injection in Enterprise Server from GitHub. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 41.9% (higher than 99% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)41.9%top 1.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

An improper neutralization of special elements vulnerability was identified in GitHub Enterprise Server that allowed an attacker with push access to a repository to achieve remote code execution on the instance. During a git push operation, user-supplied push option values were not properly sanitized before being included in internal service headers. Because the internal header format used a delimiter character that could also appear in user input, an attacker could inject additional metadata fields through crafted push option values. This vulnerability was reported via the GitHub Bug Bounty program and has been fixed in GitHub Enterprise Server versions 3.14.25, 3.15.20, 3.16.16, 3.17.13, 3.18.7 and 3.19.4.

Affected products (as reported)

VendorProductVersions
GitHub Enterprise Server 3.14.0 – through 3.14.243.15.0 – through 3.15.193.16.0 – through 3.16.153.17.0 – through 3.17.123.18.0 – through 3.18.63.19.0 – through 3.19.3

Weakness: CWE-77 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

References