Skip to content

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

HighCVSS 8.7 EPSS 41.9%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
GitHub Enterprise Server < 3.14.24; >= 3.14.0, < 3.14.25; >= 3.15.0, < 3.15.19; >= 3.15.0, < 3.15.20 +8 more 3.14.24, 3.14.25, 3.15.19, 3.15.20, 3.16.15, 3.16.16, 3.17.12, 3.17.13, 3.18.6, 3.18.7, 3.19.3, 3.19.4 Fixed

Affected products

ProductAffected versionsFixed in
GitHub Enterprise Server >= 3.14.0, < 3.14.25 3.14.25
GitHub Enterprise Server >= 3.15.0, < 3.15.20 3.15.20
GitHub Enterprise Server >= 3.16.0, < 3.16.16 3.16.16
GitHub Enterprise Server >= 3.17.0, < 3.17.13 3.17.13
GitHub Enterprise Server >= 3.18.0, < 3.18.7 3.18.7
GitHub Enterprise Server >= 3.19.0, < 3.19.4 3.19.4
GitHub Enterprise Server < 3.14.24 3.14.24
GitHub Enterprise Server >= 3.15.0, < 3.15.19 3.15.19
GitHub Enterprise Server >= 3.16.0, < 3.16.15 3.16.15
GitHub Enterprise Server >= 3.17.0, < 3.17.12 3.17.12
GitHub Enterprise Server >= 3.18.0, < 3.18.6 3.18.6
GitHub Enterprise Server >= 3.19.0, < 3.19.3 3.19.3

References