CVE-2026-3854
published high CVSS 4.0 · 8.7Remote code execution via git push option injection in GitHub Enterprise Server
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GitHub | — | Enterprise Server3.14.0 through 3.14.24 (affected · semver); changes: unaffected at 3.14.25 · 3.15.0 through 3.15.19 (affected · semver); changes: unaffected at 3.15.20 · 3.16.0 through 3.16.15 (affected · semver); changes: unaffected at 3.16.16 · 3.17.0 through 3.17.12 (affected · semver); changes: unaffected at 3.17.13 · 3.18.0 through 3.18.6 (affected · semver); changes: unaffected at 3.18.7 · 3.19.0 through 3.19.3 (affected · semver); changes: unaffected at 3.19.4 · Other versions: affected | Version-specific | Not stated | GitHub_P |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_P · cna
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GitHub | Enterprise Server | 3.14.0 through 3.14.24 (affected · semver); changes: unaffected at 3.14.253.15.0 through 3.15.19 (affected · semver); changes: unaffected at 3.15.203.16.0 through 3.16.15 (affected · semver); changes: unaffected at 3.16.163.17.0 through 3.17.12 (affected · semver); changes: unaffected at 3.17.133.18.0 through 3.18.6 (affected · semver); changes: unaffected at 3.18.73.19.0 through 3.19.3 (affected · semver); changes: unaffected at 3.19.4Default: affected | GitHub_P · cna |
Weaknesses
1- CWE-77 CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
References
7- https://docs.github.com/en/[email protected]/admin/release-notes#3.14.25
- https://docs.github.com/en/[email protected]/admin/release-notes#3.15.20
- https://docs.github.com/en/[email protected]/admin/release-notes#3.16.16
- https://docs.github.com/en/[email protected]/admin/release-notes#3.17.13
- https://docs.github.com/en/[email protected]/admin/release-notes#3.18.7
- https://docs.github.com/en/[email protected]/admin/release-notes#3.19.4
- https://www.wiz.io/blog/github-rce-vulnerability-cve-2026-3854
Provider assertions
2GitHub_P · cna
Remote code execution via git push option injection in GitHub Enterprise Server
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 83b0d75b505824fd773b182d78c773f4d8ef50e76e28a33887957604d0ef03fd
- Ingested
- 23 Sep 2026, 09:12:43 UTC
- Source record
- Official CVE record