Skip to content
OpenAdvisories

Weakness (CWE)

CWE-77: Command Injection

Class Draft Improper Neutralization of Special Elements used in a Command

The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.

More detail

Many protocols and products have their own custom command language. While OS or shell command strings are frequently discovered and targeted, developers may not realize that these other command languages might also be vulnerable to attacks.

How to prevent it (5 mitigations)
  1. Architecture and Design

    If at all possible, use library calls rather than external processes to recreate the desired functionality.

  2. Implementation

    If possible, ensure that all external commands called from the program are statically created.

  3. Implementation

    Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.

    When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, "boat" may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as "red" or "blue."

    Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code's environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.

  4. Operation

    Run time: Run time policy enforcement may be used in an allowlist fashion to prevent use of any non-sanctioned commands.

  5. System Configuration

    Assign permissions that prevent the user from accessing/opening privileged files.

Source: MITRE CWE-77

1,206 results · Clear filters · Feed

  • High 8.8

    A malicious actor in Wi-Fi range of the affected product could leverage a vulnerability in the airMAX Wireless Protocol…

  • High 8.1

    A command injection vulnerability exists in the GL-iNet GL-AXT1800 router firmware v4.6.8. The vulnerability is present…

  • High 7.2
    CVE-2025-15472 EPSS 22%

    TRENDnet TEW-811DRU httpd  uapply.cgi setDeviceURL  os command injection

    A flaw has been found in TRENDnet TEW-811DRU 1.0.2.0. This affects the function setDeviceURL  of the file uapply.cgi of the component httpd . This manipulation of the argument DeviceURL causes os command injection. The attack can be initiated remotely. The ex…

  • High 7.5
    CVE-2025-69256 Public exploit

    serverless MCP Server vulnerable to command injection in list-projects tool

    The Serverless Framework is a framework for using AWS Lambda and other managed cloud services to build applications. Starting in version 4.29.0 and prior to version 4.29.3, a command injection vulnerability exists in the Serverless Framework's built-in MCP se…

  • High 7.3

    Edimax BR-6208AC Web-based Configuration formRoute command injection

    A security flaw has been discovered in Edimax BR-6208AC 1.02/1.03. Affected by this vulnerability is the function formRoute of the file /gogorm/formRoute of the component Web-based Configuration Interface. The manipulation of the argument strIp/strMask/strGat…

  • High 7.3

    Edimax BR-6208AC Web-based Configuration formStaDrvSetup command injection

    A vulnerability was identified in Edimax BR-6208AC 1.02/1.03. Affected is the function formStaDrvSetup of the file /goform/formStaDrvSetup of the component Web-based Configuration Interface. The manipulation of the argument rootAPmac leads to command injectio…

  • High 8.1

    Tugtainer has RCE in Agent Command Execution Api

    Tugtainer is a self-hosted app for automating updates of docker containers. In versions prior to 1.15.1, arbitary arguments can be injected in tugtainer-agent `POST api/command/run`. Version 1.15.1 fixes the issue.

  • High 8.8
    CVE-2025-15137 EPSS 11%

    TRENDnet TEW-800MB NTPSyncWithHost.cgi sub_F934  command injection

    A vulnerability was detected in TRENDnet TEW-800MB 1.0.1.0. Affected by this vulnerability is the function sub_F934  of the file NTPSyncWithHost.cgi. The manipulation results in command injection. The attack may be launched remotely. The exploit is now public…

  • High 8.8
    CVE-2025-15136 EPSS 11%

    TRENDnet TEW-800MB Management wizardset do_setWizard_asp command injection

    A security vulnerability has been detected in TRENDnet TEW-800MB 1.0.1.0. Affected is the function do_setWizard_asp of the file /goform/wizardset of the component Management Interface. The manipulation of the argument WizardConfigured leads to command injecti…

  • High 8.8

    An issue in Yealink T21P_E2 Phone 52.84.0.15 allows a remote normal privileged attacker to execute arbitrary code via a…

  • High 7.3
    CVE-2025-15048 EPSS 12%

    Tenda WH450 HTTP Request CheckTools command injection

    A vulnerability was determined in Tenda WH450 1.0.0.18. This impacts an unknown function of the file /goform/CheckTools of the component HTTP Request Handler. Executing a manipulation of the argument ipaddress can lead to command injection. The attack can be …

  • High 8.4

    A command injection vulnerability in the me.connectify.SMJobBlessHelper XPC service of Speedify VPN up to v15.0.0 allow…

  • High 7.2
    CVE-2025-14884 EPSS 11%

    D-Link DIR-605 Firmware Update Service command injection

    A vulnerability was detected in D-Link DIR-605 202WWB03. Affected by this issue is some unknown functionality of the component Firmware Update Service. Performing manipulation results in command injection. The attack can be initiated remotely. The exploit is …

  • High 7.8

    Zed IDE MCP Context Server Configuration Arbitrary Code Execution

    Zed, a code editor, has an aribtrary code execution vulnerability in versions prior to 0.218.2-pre. The Zed IDE loads Model Context Protocol (MCP) configurations from the `settings.json` file located within a project’s `.zed` subdirectory. A malicious MCP con…

  • High 7.8

    Zed IDE LSP Binary Configuration Arbitrary Code Execution

    Zed, a code editor, has an aribtrary code execution vulnerability in versions prior to 0.218.2-pre. The Zed IDE loads Language Server Protocol (LSP) configurations from the `settings.json` file located within a project’s `.zed` subdirectory. A malicious LSP c…

  • High 7.8

    Miniconda3 macOS installers before 23.11.0-1 contain a local privilege escalation vulnerability when installed outside …

  • High 7.8

    Anaconda3 macOS installers before 2024.06-1 contain a local privilege escalation vulnerability when installed outside t…

  • High 8.8
    CVE-2025-14659 Public exploit

    D-Link DIR-860LB1/DIR-868LB1 DHCP command injection

    A vulnerability was detected in D-Link DIR-860LB1 and DIR-868LB1 203b01/203b03. Affected is an unknown function of the component DHCP Daemon. The manipulation of the argument Hostname results in command injection. It is possible to launch the attack remotely.…

  • High 8.0

    gardenctl is vulnerable to Command Injection when used with non‑POSIX shells

    gardenctl is a command-line client for the Gardener which configures access to clusters and cloud provider CLI tools. When using non‑POSIX shells such as Fish and PowerShell, versions 2.11.0 and below of gardenctl allow an attacker with administrative privile…

  • High 7.3

    Command injection vulnerability in Aqara Hub devices including Camera Hub G3 4.1.9_0027, Hub M2 4.3.6_0027, and Hub M3 …

  • High 7.8
    CVE-2025-54100 Public exploit

    PowerShell Remote Code Execution Vulnerability

    Improper neutralization of special elements used in a command ('command injection') in Windows PowerShell allows an unauthorized attacker to execute code locally.

  • High 8.4

    GitHub Copilot for Jetbrains Remote Code Execution Vulnerability

    Improper neutralization of special elements used in a command ('command injection') in Copilot allows an unauthorized attacker to execute code locally.

  • High 8.3

    A vulnerability has been identified in SIMATIC CN 4100 (All versions < V4.0.1). The affected application do not properl…

  • High 7.2

    A vulnerability has been identified in RUGGEDCOM ROX MX5000 (All versions < V2.17.0), RUGGEDCOM ROX MX5000RE (All versi…

  • High 7.5

    A vulnerability has been identified in RUGGEDCOM ROX MX5000 (All versions < V2.17.0), RUGGEDCOM ROX MX5000RE (All versi…

  • High 7.2

    Authenticated append-style command-injection Ruijie APs (AP_RGOS 11.1.x) allows an authenticated web user to execute ap…

  • High 7.2

    UGREEN DH2100+ nas_svr create handler_file_backup_create command injection

    A security vulnerability has been detected in UGREEN DH2100+ up to 5.3.0.251125. This impacts the function handler_file_backup_create of the file /v1/file/backup/create of the component nas_svr. The manipulation of the argument path leads to command injection…

  • High 8.8
    CVE-2025-14108 EPSS 10%

    ZSPACE Q2C NAS HTTP POST Request open zfilev2_api.OpenSafe command injection

    A weakness has been identified in ZSPACE Q2C NAS up to 1.1.0210050. Affected by this issue is the function zfilev2_api.OpenSafe of the file /v2/file/safe/open of the component HTTP POST Request Handler. This manipulation of the argument safe_dir causes comman…

  • High 8.8
    CVE-2025-14107 EPSS 12%

    ZSPACE Q2C NAS HTTP POST Request status zfilev2_api.SafeStatus command injection

    A security flaw has been discovered in ZSPACE Q2C NAS up to 1.1.0210050. Affected by this vulnerability is the function zfilev2_api.SafeStatus of the file /v2/file/safe/status of the component HTTP POST Request Handler. The manipulation of the argument safe_d…

  • High 8.8
    CVE-2025-14106 EPSS 12%

    ZSPACE Q2C NAS HTTP POST Request close zfilev2_api.CloseSafe command injection

    A vulnerability was identified in ZSPACE Q2C NAS up to 1.1.0210050. Affected is the function zfilev2_api.CloseSafe of the file /v2/file/safe/close of the component HTTP POST Request Handler. The manipulation of the argument safe_dir leads to command injection…

  • High 8.7

    Claude Code Command Validation Bypass Allows Arbitrary Code Execution

    Claude Code is an agentic coding tool. Prior to 1.0.93, Due to errors in parsing shell commands related to $IFS and short CLI flags, it was possible to bypass the Claude Code read-only validation and trigger arbitrary code execution. Reliably exploiting this …

  • High 8.8
    CVE-2025-57201 EPSS 17%

    AVTECH SECURITY Corporation DGM1104 FullImg-1015-1004-1006-1003 was discovered to contain an authenticated command inje…

  • High 8.8

    AVTECH SECURITY Corporation DGM1104 FullImg-1015-1004-1006-1003 was discovered to contain an authenticated command inje…

  • High 8.8
    CVE-2025-57199 Public exploit

    AVTECH SECURITY Corporation DGM1104 FullImg-1015-1004-1006-1003 was discovered to contain an authenticated command inje…

  • High 7.4
    CVE-2025-66399 EPSS 11%

    SNMP Command Injection leads to RCE in Cacti

    Cacti is an open source performance and fault management framework. Prior to 1.2.29, there is an input-validation flaw in the SNMP device configuration functionality. An authenticated Cacti user can supply crafted SNMP community strings containing control cha…

  • High 8.5

    iStat Menus 7.10.4 - Local Privilege Escalation

    iStats contains an insecure XPC service that allows local, unprivileged users to escalate their privileges to root via command injection.This issue affects iStats: 7.10.4.

  • High 7.3

    D-Link DIR-852 gena.cgi command injection

    A vulnerability was identified in D-Link DIR-852 1.00. This issue affects some unknown processing of the file /gena.cgi. Such manipulation of the argument service leads to command injection. The attack can be executed remotely. The exploit is publicly availab…

  • High 8.1

    Roo Code is Vulnerable to Potential Remote Code Execution via zsh Command Validation Bug

    Roo Code is an AI-powered autonomous coding agent that lives in users' editors. Prior to version 3.26.7, Due to an error in validation it was possible for Roo to automatically execute commands that did not match the allow list prefixes. This issue has been pa…

  • High 7.3
    CVE-2025-13442 EPSS 20%

    UTT 进取 750W formPdbUpConfig system command injection

    A security vulnerability has been detected in UTT 进取 750W up to 3.2.2-191225. Affected by this vulnerability is the function system of the file /goform/formPdbUpConfig. Such manipulation of the argument policyNames leads to command injection. The attack may b…

  • High 8.8
    CVE-2025-63406 Public exploit

    An issue in Intermesh BV GroupOffice vulnerable before v.25.0.47 and 6.8.136 allows a remote attacker to execute arbitr…