Skip to main content

About CWE-77

An injected delimiter can end the intended command and start a new one, which hands the attacker capabilities they would not otherwise hold. The listed scopes are integrity, confidentiality and availability.

MITRE name
Improper Neutralization of Special Elements used in a Command
Abstraction
Class: a very abstract weakness, typically independent of language or technology
Status
Draft

Also Known As

  • Command injection

Mitigations

  • Use library calls instead of launching external processes wherever the same function is available.
  • Build every external command statically so that no part of it comes from outside input.
  • Validate input against a strict allowlist of known-good values and reject anything that does not conform.
  • Enforce a run time policy that only permits sanctioned commands to execute.
  • Set permissions so that the process cannot open privileged files.

Detection
MITRE rates automated static analysis (SAST) as highly effective here, since data flow modeling can link input sources to command sinks.

CWE-77 in the KEV Catalog

as of 2026-11-10
All KEV statistics→
  • 39 CISA KEV entries name Command Injection (CWE-77) in their CVE record, ranking 13th among the 193 weaknesses named in the catalog.
  • CISA added 7 CWE-77 entries to the KEV catalog in 2024, 7 in 2025, and 8 so far in 2026.
  • D-Link has the most CWE-77 entries in the CISA KEV catalog (5), followed by Ivanti (3).
  • For CWE-77 entries added to the CISA KEV catalog since 2023, the median time from CVE publication to KEV listing is 23.5 days, compared with 16 days for all entries added in that period.
  • CISA marks 15% of CWE-77 KEV entries (6 of 39) as known to be used in ransomware campaigns, compared with 20% of all KEV entries.
  • CISA's SSVC enrichment rates 51% of CWE-77 KEV entries with SSVC data (20 of 39) as automatable, compared with 41% across the catalog.

Related Attack Patterns

8 CAPEC patterns
CAPEC-248Command InjectionMeta · Severity High · Likelihood Medium
CAPEC-40Manipulating Writeable Terminal DevicesStandard · Severity Very High · Likelihood High
CAPEC-75Manipulating Writeable Configuration FilesStandard · Severity Very High · Likelihood High
CAPEC-15Command DelimitersStandard · Severity High · Likelihood High
CAPEC-136LDAP InjectionStandard · Severity High · Likelihood High
CAPEC-183IMAP/SMTP Command InjectionStandard · Severity Medium
CAPEC-76Manipulating Web Input to File System CallsDetailed · Severity Very High · Likelihood High
CAPEC-43Exploiting Multiple Input Interpretation LayersDetailed · Severity High · Likelihood Medium

CWE-77 Vulnerabilities

118 CVEs
CVECVSS
CVE-2026-116779KEV
FreeSWITCH: Inbound SIP MESSAGE can select the api chat proto and run FreeSWITCH API commands
9.8
CVE-2026-105134KEV
Ahsay AhsayCBS Replication Receiver UpdateReceivers.do os command injection
10.0
CVE-2026-96951KEV
Windows Shell Security Feature Bypass Vulnerability
8.8
CVE-2016-3081KEV
Apache Struts Command Injection Vulnerability
8.1
CVE-2026-8037KEV
OS Command Injection Remote Code Execution Vulnerability in Progress LoadMaster, ECS Connection Manager, Object Scale Connection Manager & MOVEit WAF
9.6
CVE-2026-42271KEV
LiteLLM: Authenticated command execution via MCP stdio test endpoints
8.7
CVE-2025-29635KEV
D-Link DIR-823X Command Injection Vulnerability
7.2
CVE-2026-22719KEV
VMware Aria Operations command injection vulnerability
8.1
CVE-2025-4008KEV
Arbitrary Command Injection in Smartbedded MeteoBridge
8.7
CVE-2025-10035KEV
Deserialization Vulnerability in GoAnywhere MFT's License Servlet
10.0
CVE-2025-59689KEV
Libraesva Email Security Gateway Command Injection Vulnerability
6.1
CVE-2020-25079KEV
D-Link DCS-2530L and DCS-2670L Command Injection Vulnerability
8.8
CVE-2023-33538KEV
TP-Link Multiple Routers Command Injection Vulnerability
8.8
CVE-2024-12987KEV
DrayTek Vigor2960/Vigor300B Web Management Interface apmcfgupload os command injection
7.3
CVE-2023-20118KEV
Cisco Small Business RV Series Routers Command Injection Vulnerability
6.5
CVE-2024-12356KEV
Command Injection Vulnerability in Remote Support(RS) & Privileged Remote Access (PRA)
9.8
CVE-2024-55956KEV
Cleo Multiple Products Unauthenticated File Upload Vulnerability
9.8
CVE-2024-9380KEV
Ivanti Cloud Services Appliance (CSA) OS Command Injection Vulnerability
7.2
CVE-2024-3400KEV
PAN-OS: Arbitrary File Creation Leads to OS Command Injection Vulnerability in GlobalProtect
10.0
CVE-2024-3273KEV
D-Link DNS-320L/DNS-325/DNS-327L/DNS-340L HTTP GET Request nas_sharing.cgi command injection
7.3
CVE-2024-21887KEV
Ivanti Connect Secure and Policy Secure Command Injection Vulnerability
9.1
CVE-2016-20017KEV
D-Link DSL-2750B Devices Command Injection Vulnerability
9.8
CVE-2023-1671KEV
Sophos Web Appliance Command Injection Vulnerability
9.8
CVE-2023-20887KEV
Vmware Aria Operations for Networks Command Injection Vulnerability
9.8
CVE-2023-1389KEV
TP-Link Archer AX-21 Command Injection Vulnerability
8.8
CVE-2022-40765KEV
Mitel MiVoice Connect Command Injection Vulnerability
6.8
CVE-2018-19949KEV
QNAP NAS File Station Command Injection Vulnerability
9.8
CVE-2016-6367KEV
Cisco Adaptive Security Appliance (ASA) CLI Remote Code Execution Vulnerability
7.8
CVE-2007-3010KEV
Alcatel OmniPCX Enterprise Remote Code Execution Vulnerability
9.8
CVE-2010-5330KEV
Ubiquiti AirOS Command Injection Vulnerability
9.8
CVE-2020-2509KEV
Command Injection Vulnerability in QTS and QuTS hero
9.8
CVE-2012-1823KEV
PHP-CGI Query String Parameter Vulnerability
9.8
CVE-2016-1555KEV
NETGEAR Multiple WAP Devices Command Injection Vulnerability
9.8
CVE-2005-2773KEV
HP OpenView Network Node Manager Remote Code Execution Vulnerability
9.8
CVE-2010-4345KEV
Exim Privilege Escalation Vulnerability
7.8
CVE-2015-2051KEV
D-Link DIR-645 Router Remote Code Execution Vulnerability
8.8
CVE-2019-0541KEV
Microsoft MSHTML Remote Code Execution Vulnerability
8.8
CVE-2017-6327KEV
Symantec Messaging Gateway Remote Code Execution Vulnerability
8.8
CVE-2021-22899KEV
Ivanti Pulse Connect Secure Command Injection Vulnerability
8.8
CVE-2026-3943
H3C ACG1000-AK230 aaa_portal_auth_local_submit command injection
7.3
CVE-2026-3854
Remote code execution via git push option injection in GitHub Enterprise Server
8.7
CVE-2026-3065
HummerRisk Cloud Task Dry-run CloudTaskService.java CommandUtils.commonExecCmdWithResult command injection
6.3
CVE-2026-2537
Comfast CF-E4 HTTP POST Request mbox-config command injection
5.1
CVE-2026-3064
HummerRisk Cloud Task Scheduler ResourceCreateService.java command injection
6.3
CVE-2026-3662
Wavlink WL-NU516U1 adm.cgi usb_p910 command injection
5.1
CVE-2026-3661
Wavlink WL-NU516U1 adm.cgi ota_new_upgrade command injection
5.1
CVE-2026-2000
DCN DCME-320 Web Management Backend bridge_cfg.php apply_config command injection
5.1
CVE-2026-4197
D-Link DNS-1550-04 download_mgr.cgi RSS_Item_List command injection
6.3
CVE-2026-2823
Comfast CF-E7 webmggnt mbox-config sub_41ACCC command injection
6.3
CVE-2026-2131
XixianLiang HarmonyOS-mcp-server input_text os command injection
6.3
CVE-2026-1419
D-Link DCS700l Web Form setDayNightMode command injection
5.1
CVE-2026-2824
Comfast CF-E7 webmggnt mbox-config sub_441CF4 command injection
6.3
CVE-2026-3798
Comfast CF-AC100 Request Path mbox-config sub_44AC14 command injection
5.1
CVE-2026-5854
Totolink A7100RU CGI cstecgi.cgi setWiFiEasyCfg os command injection
9.8
CVE-2026-3518
OS Command Injection Remote Code Execution Vulnerability in Progress LoadMaster, ECS Connection Manager, Object Scale Connection Manager & MOVEit WAF
8.4
CVE-2026-9440
Edimax BR-6478AC POST Request formAccept command injection
6.3
CVE-2026-1125
D-Link DIR-823X set_wifidog_settings sub_412E7C command injection
7.3
CVE-2026-2535
Comfast CF-N1 V2 mbox-config sub_44AB9C command injection
6.3
CVE-2026-3517
OS Command Injection Remote Code Execution Vulnerability in Progress LoadMaster, ECS Connection Manager, Object Scale Connection Manager & MOVEit WAF
8.4
CVE-2026-5850
Totolink A7100RU CGI cstecgi.cgi setVpnPassCfg os command injection
9.8
CVE-2026-2534
Comfast CF-N1 V2 mbox-config sub_44AC4C command injection
6.3
CVE-2026-9441
Edimax BR-6478AC POST Request formiNICbasic command injection
6.3
CVE-2026-3612
Wavlink WL-NU516U1 OTA Online Upgrade adm.cgi sub_405AF4 command injection
8.6
CVE-2026-2670
Advantech WISE-6610-NB Background Management openvpn_apply os command injection
8.6
CVE-2026-22755
Legacy Vivotek Camera Firmware Command Injection in upload_map.cgi
9.3
CVE-2026-5852
Totolink A7100RU CGI cstecgi.cgi setIptvCfg os command injection
9.8
CVE-2026-5853
Totolink A7100RU CGI cstecgi.cgi setIpv6LanCfg os command injection
9.8
CVE-2026-5851
Totolink A7100RU CGI cstecgi.cgi setUPnPCfg os command injection
9.8
CVE-2026-6195
Totolink A7100RU CGI cstecgi.cgi setPasswordCfg os command injection
9.8
CVE-2026-2615
Wavlink WL-NU516U1 firewall.cgi singlePortForwardDelete command injection
8.6
CVE-2026-3066
HummerRisk Cloud Compliance Scanning PlatformUtils.java fixedCommand command injection
6.3
CVE-2026-6483
Wavlink WL-WN530H4 internet.cgi snprintf os command injection
8.6
CVE-2026-4228
LB-LINK BL-WR9000 set_wifi sub_458754 command injection
6.3
CVE-2026-0732
D-Link DI-8200G upgrade_filter.asp command injection
6.3
CVE-2026-2846
UTT HiPER 520 Web Management formPdbUpConfig sub_44D264 os command injection
8.6
CVE-2026-2080
UTT HiPER 810 formUser setSysAdm command injection
8.6
CVE-2026-4840
Netcore Power 15AX Diagnostic Tool netis.cgi setTools os command injection
8.8
CVE-2026-2184
Great Developers Certificate Generation System csv.php os command injection
7.3
CVE-2026-2085
D-Link DWR-M921 USSD Configuration Endpoint formUSSDSetup sub_419F20 command injection
8.6
CVE-2026-2847
UTT HiPER 520 Web Management formReleaseConnect sub_44EFB4 os command injection
8.6
CVE-2026-20147
Cisco Identity Services Engine Remote Code Execution Vulnerability
9.9
CVE-2026-9514
Totolink CA750-PoE Setting cstecgi.cgi setNetworkDiag os command injection
6.3
CVE-2026-9515
Totolink CA750-PoE Setting cstecgi.cgi setUnloadUserData os command injection
6.3
CVE-2026-9531
Totolink CA750-PoE Setting cstecgi.cgi setUpgradeUboot os command injection
6.3
CVE-2026-9532
Totolink CA750-PoE Setting cstecgi.cgi setUploadUserData os command injection
6.3
CVE-2026-9533
Totolink CA750-PoE Setting cstecgi.cgi recvUpgradeNewFw os command injection
6.3
CVE-2026-9534
Totolink CA750-PoE Setting cstecgi.cgi setWiFiWpsConfig os command injection
6.3
CVE-2026-3040
DrayTek Vigor 300B Web Management uploadlangs cgiGetFile os command injection
5.1
CVE-2026-5184
TRENDnet TEW-713RE setSysAdm command injection
6.3
CVE-2026-2182
UTT 进取 521G setSysAdm doSystem command injection
8.6
CVE-2026-2527
Wavlink WL-WN579A3 login.cgi command injection
6.3
CVE-2026-0581
Tenda AC1206 httpd BehaviorManager formBehaviorManager command injection
6.3
CVE-2026-2528
Wavlink WL-WN579A3 wireless.cgi Delete_Mac_list command injection
6.3
CVE-2026-2526
Wavlink WL-WN579A3 wireless.cgi multi_ssid command injection
6.3
CVE-2026-2530
Wavlink WL-WN579A3 wireless.cgi AddMac command injection
6.3
CVE-2026-2956
qinming99 dst-admin restore revertBackup command injection
6.3
CVE-2026-8188
Wavlink NU516U1 adm.cgi change_wifi_password os command injection
6.3
CVE-2026-20841
Windows Notepad App Remote Code Execution Vulnerability
7.8
CVE-2026-8190
Wavlink NU516U1 adm.cgi wan os command injection
6.3
CVE-2026-8191
Wavlink NU516U1 adm.cgi wifi_region os command injection
6.3

Frequently Asked Questions

What is CWE-77?→

CWE-77 is the MITRE class for command injection in any command language. The product assembles a command from outside input and fails to neutralize elements that alter its meaning.

Should CWE-77 or CWE-78 be used for shell command injection?→

MITRE notes that CWE-77 is often misused when OS command injection (CWE-78) was meant. CWE-78 fits shell invocation, while CWE-77 suits other command languages.

How many exploited vulnerabilities are classified as CWE-77?→

This database lists 118 CVE records mapped to CWE-77 by their CVE Numbering Authority. 39 of them are in the CISA Known Exploited Vulnerabilities catalog, and CISA links 6 to known ransomware campaigns. Examples include CVE-2026-116779, CVE-2026-105134, CVE-2026-96951.

How quickly are CWE-77 vulnerabilities added to the KEV catalog?→

For CWE-77 entries added to the CISA KEV catalog since 2023, the median time from CVE publication to KEV listing is 23.5 days, compared with 16 days for all entries added in that period. These figures are as of November 10, 2026.

Weakness definitions summarized from the CWE List, © The MITRE Corporation, used under the CWE Terms of Use. CWE mappings come from each CVE record's CNA. Exploited-in-the-wild data from the CISA KEV catalog (CC0). This site is not affiliated with or endorsed by MITRE or CISA. Attack patterns from CAPEC 3.9, © The MITRE Corporation, used under the CAPEC Terms of Use.