Exploit database

Vulnerability

CVE-2026-3854

Remote code execution via git push option injection in GitHub Enterprise Server

Vulnerability details

Score
8.7
Severity
high

CVSS 4.0 · GitHub_P

Vector string

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

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.

CVE Program

Exploit source choices

2 sources
royaleybovich/cve-2026-3854-lab
GH-786074ac4c791dc9be6cc1a41bc35b4eGitHubUnofficial GitHub sourcePreferred

royaleybovich/cve-2026-3854-lab source repository

2026-08-027,896 files · 9 stars
lysophavin18/cve-2026-3854-poc
GH-f8430fa105af882bee98438b0a04a0c6GitHubUnofficial GitHub source

GitHub RCE via X-Stat Push Option Injection

2026-04-293 files · 2 stars