CVE-2022-23740 in Github Enterprise Server
CRITICAL: An improper neutralization of argument delimiters in a command vulnerability was identified in GitHub Enterprise Server that enabled remote code execution. To exploit this vulnerability, an attacker would need permission to create and build GitHub Pages using GitHub Actions. This vulnerability affected onl...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Github | Enterprise Server | 3.7.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
CRITICAL: An improper neutralization of argument delimiters in a command vulnerability was identified in GitHub Enterprise Server that enabled remote code execution. To exploit this vulnerability, an attacker would need permission to create and build GitHub Pages using GitHub Actions. This vulnerability affected only version 3.7.0 of GitHub Enterprise Server and was fixed in version 3.7.1. This vulnerability was reported via the GitHub Bug Bounty program.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-23740 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-313662-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-11-23 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-88: CWE-88
Related attack patterns (CAPEC)
CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads via CWE-88
CAPEC-174 Flash Parameter Injection via CWE-88
CAPEC-460 HTTP Parameter Pollution (HPP) via CWE-88
CAPEC-88 OS Command Injection via CWE-88
CAPEC-137 Parameter Injection via CWE-88
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A critical vulnerability in GitHub Enterprise Server version 3.7.0 allows remote code execution due to improper neutralization of argument delimiters in a command.
An attacker with permission to create and build GitHub Pages using GitHub Actions can exploit this vulnerability to execute arbitrary code on the server.
Questions
What is CVE-2022-23740?
A critical vulnerability in GitHub Enterprise Server version 3.7.0 allows remote code execution due to improper neutralization of argument delimiters in a command.
What is the CVSS score for CVE-2022-23740?
CVE-2022-23740 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.7%.
Is CVE-2022-23740 actively exploited?
No confirmed active exploitation of CVE-2022-23740 as of 2026-09-25.
How do I remediate CVE-2022-23740?
Priority: IMMEDIATE. Advisory: https://docs.github.com/en/enterprise-server%403.7/admin/release-notes#3.7.1
What systems are affected by CVE-2022-23740?
CVE-2022-23740 affects Github Enterprise Server.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Github","product":"Enterprise Server","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.