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

228 results · Clear filters · Feed

  • Medium 6.5
    CVE-2025-45512 Public exploit

    A lack of signature verification in the bootloader of DENX Software Engineering Das U-Boot (U-Boot) v1.1.3 allows attac…

  • Critical 9.4
    CVE-2025-54782 Public exploit EPSS 47%

    @nestjs/devtools-integration's CSRF to Sandbox Escape Allows for RCE against JS Developers

    Nest is a framework for building scalable Node.js server-side applications. In versions 0.2.0 and below, a critical Remote Code Execution (RCE) vulnerability was discovered in the @nestjs/devtools-integration package. When enabled, the package exposes a local…

  • High 8.1
    CVE-2025-54424 Public exploit

    1Panel Agent Bypasses Certificate Verification Leading to Arbitrary Command Execution

    1Panel is a web interface and MCP Server that manages websites, files, containers, databases, and LLMs on a Linux server. In versions 2.0.5 and below, the HTTPS protocol used for communication between the Core and Agent endpoints has incomplete certificate ve…

  • Medium 6.5
    CVE-2025-45619 Public exploit

    An issue in Aver PTC310UV2 firmware v.0.1.0000.59 allows a remote attacker to execute arbitrary code via the SendAction…

  • Critical 9.1
    CVE-2025-54416 Public exploit

    tj-actions/branch-names Contains Command Injection Vulnerability

    tj-actions/branch-names is a Github actions repository that contains workflows to retrieve branch or tag names with support for all events. In versions 8.2.1 and below, a critical vulnerability has been identified in the tj-actions/branch-names' GitHub Action…

  • Critical 9.4
    CVE-2025-29628 Public exploit

    A Gardyn Azure IoT Hub connection string is downloaded over an insecure HTTP connection in Gardyn Home Kit firmware bef…

  • Critical 9.8
    CVE-2025-52688 Public exploit EPSS 37%

    Command Injection Vulnerability in the OmniAccess Stellar Web Management Interface

    Successful exploitation of the vulnerability could allow an attacker to inject commands with root privileges on the access point, potentially leading to the loss of confidentiality, integrity, availability, and full control of the access point.

  • Critical 9.1
    CVE-2025-53104 Public exploit

    gluestack-ui Command Injection Vulnerability via discussion-to-slack GitHub Action Workflow

    gluestack-ui is a library of copy-pasteable components & patterns crafted with Tailwind CSS (NativeWind). Prior to commit e6b4271, a command injection vulnerability was discovered in the discussion-to-slack.yml GitHub Actions workflow. Untrusted discussion fi…

  • High 7.0
    CVE-2025-5306 Public exploit EPSS 36%

    Command Injection in Netflow path

    Improper Neutralization of Special Elements in the Netflow directory field may allow OS command injection. This issue affects Pandora FMS 774 through 778

  • Medium 4.7
    CVE-2025-6335 Public exploit

    DedeCMS Template dedetag.class.php command injection

    A vulnerability was found in DedeCMS up to 5.7.2 and classified as critical. This issue affects some unknown processing of the file /include/dedetag.class.php of the component Template Handler. The manipulation of the argument notes leads to command injection…

  • High 7.0
    CVE-2025-4653 Public exploit

    Remote Code Execution leads to Command Injection

    Improper Neutralization of Special Elements in the backup name field may allow OS command injection. This issue affects Pandora ITSM 5.0.105.

  • Medium 5.9
    CVE-2025-31710 Public exploit

    In engineermode service, there is a possible command injection due to improper input validation. This could lead to loc…

  • Medium 6.5
    CVE-2024-55466 Public exploit

    An arbitrary file upload vulnerability in the Image Gallery of ThingsBoard Community, ThingsBoard Cloud and ThingsBoard…

  • High 8.7
    CVE-2025-31644 Public exploit EPSS 24%

    Appliance mode BIG-IP iControl REST and tmsh vulnerability

    When running in Appliance mode, a command injection vulnerability exists in an undisclosed iControl REST and BIG-IP TMOS Shell (tmsh) command which may allow an authenticated attacker with administrator role privileges to execute arbitrary system commands. A …

  • Critical 9.4
    CVE-2025-46816 Public exploit

    goshs route not protected, allows command execution

    goshs is a SimpleHTTPServer written in Go. Starting in version 0.3.4 and prior to version 1.0.5, running goshs without arguments makes it possible for anyone to execute commands on the server. The function `dispatchReadPump` does not checks the option cli `-c…

  • High 7.3
    CVE-2024-40445 Public exploit

    A directory traversal vulnerability in forkosh Mime TeX before version 1.77 allows attackers on Windows systems to read…

  • High 7.3
    CVE-2024-36842 Public exploit

    An issue in Oncord+ Android Infotainment Systems OS Android 12, Model Hardware TS17,Hardware part Number F57L_V3.2_2022…

  • Medium 5.4
    CVE-2025-26056 Public exploit

    A command injection vulnerability exists in the Infinxt iEdge 100 2.1.32 in the Troubleshoot module "MTR" functionality…

  • High 8.6
    CVE-2024-12971 Public exploit EPSS 61%

    QuickShell Authenticated Command Injection

    Improper Neutralization of Special Elements used in a Command vulnerability allows OS Command Injection.This issue affects Pandora FMS from 700 to 777.6

  • Critical 9.3
    CVE-2025-0868 Public exploit EPSS 17%

    Remote Code Execution in DocsGPT

    A vulnerability, that could result in Remote Code Execution (RCE), has been found in DocsGPT. Due to improper parsing of JSON data using eval() an unauthorized attacker could send arbitrary Python code to be executed via /api/remote endpoint.. This issue affe…

  • High 7.3
    CVE-2025-1338 Public exploit EPSS 51%

    NUUO Camera handle_config.php print_file command injection

    A vulnerability was found in NUUO Camera up to 20250203. It has been declared as critical. This vulnerability affects the function print_file of the file /handle_config.php. The manipulation of the argument log leads to command injection. The attack can be in…

  • Medium 6.5
    CVE-2024-53615 Public exploit

    files.photo.gallery command injection

    A command injection vulnerability in the video thumbnail rendering component of Karl Ward's files.gallery v0.3.0 through 0.11.0 allows remote attackers to execute arbitrary code via a crafted video file.

  • Critical 10.0
    CVE-2024-48841 Public exploit

    Remote Code Execution (RCE) Vulnerabilities

    Network access can be used to execute arbitrary code with elevated privileges. This issue affects FLXEON 9.3.4 and older.

  • Critical 9.8
    CVE-2025-22912 Public exploit

    RE11S v1.11 was discovered to contain a command injection vulnerability via the component /goform/formAccept.

  • High 8.8
    CVE-2024-51442 Public exploit

    Command Injection in Minidlna version v1.3.3 and before allows an attacker to execute arbitrary OS commands via a speci…

  • High 7.2
    CVE-2024-12912 Public exploit

    An improper input insertion vulnerability in AiCloud on certain router models may lead to arbitrary command execution. …

  • High 7.3
    CVE-2024-12986 Public exploit EPSS 36%

    DrayTek Vigor2960/Vigor300B Web Management Interface apmcfgupptim os command injection

    A vulnerability, which was classified as critical, has been found in DrayTek Vigor2960 and Vigor300B 1.5.1.3/1.5.1.4. This issue affects some unknown processing of the file /cgi-bin/mainfunction.cgi/apmcfgupptim of the component Web Management Interface. The …

  • Critical 9.8
    CVE-2024-12356 Exploited Public exploit EPSS 87%

    Command Injection Vulnerability in Remote Support(RS) & Privileged Remote Access (PRA)

    A critical vulnerability has been discovered in Privileged Remote Access (PRA) and Remote Support (RS) products which can allow an unauthenticated attacker to inject commands that are run as a site user.

    KEV Dec 19, 2024
  • Critical 9.8
    CVE-2024-55956 Exploited · Ransomware Public exploit EPSS 94%

    In Cleo Harmony before 5.8.0.24, VLTrader before 5.8.0.24, and LexiCom before 5.8.0.24, an unauthenticated user can imp…

    KEV Dec 17, 2024
  • High 7.8
    CVE-2024-29404 Public exploit

    An issue in Razer Synapse 3 v.3.9.131.20813 and Synapse 3 App v.20240213 allows a local attacker to execute arbitrary c…

  • Medium 6.9
    CVE-2024-11320 Public exploit EPSS 91%

    Command Injection leading to RCE via LDAP Misconfiguration

    Arbitrary commands execution on the server by exploiting a command injection vulnerability in the LDAP authentication mechanism. This issue affects Pandora FMS: from 700 through <=777.4

  • High 7.5
    CVE-2024-48139 Public exploit

    A prompt injection vulnerability in the chatbox of Blackbox AI v1.3.95 allows attackers to access and exfiltrate all pr…

  • Critical 9.9
    CVE-2024-9264 Public exploit EPSS 98%

    Grafana SQL Expressions allow for remote code execution

    The SQL Expressions experimental feature of Grafana allows for the evaluation of `duckdb` queries containing user input. These queries are insufficiently sanitized before being passed to `duckdb`, leading to a command injection and local file inclusion vulner…

  • High 7.2
    CVE-2024-6333 Public exploit

    Authenticated Remote Code Execution in Altalink, Versalink & WorkCentre Products

    Authenticated Remote Code Execution in Altalink, Versalink & WorkCentre Products.

  • Medium 5.6
    CVE-2024-44610 Public exploit

    PCAN-Ethernet Gateway FD before 1.3.0 and PCAN-Ethernet Gateway before 2.11.0 are vulnerable to Command injection via s…

  • Critical 9.8
    CVE-2024-46256 Public exploit

    A Command injection vulnerability in requestLetsEncryptSsl in NginxProxyManager 2.11.3 allows an attacker to RCE via Ad…

  • High 8.8
    CVE-2024-7029 Public exploit EPSS 43%

    Command Injection in AVTech AVM1203 (IP Camera)

    Commands can be injected over the network and executed without authentication.

  • High 8.8
    CVE-2024-41319 Public exploit

    TOTOLINK A6000R V1.0.1-B20201211.2000 was discovered to contain a command injection vulnerability via the cmd parameter…

  • Critical 9.8
    CVE-2024-39914 Public exploit EPSS 23%

    FOG has a command injection in /fog/management/export.php?filename=

    FOG is a cloning/imaging/rescue suite/inventory management system. Prior to 1.5.10.34, packages/web/lib/fog/reportmaker.class.php in FOG was affected by a command injection via the filename parameter to /fog/management/export.php. This vulnerability is fixed …

  • Critical 9.8
    CVE-2024-40110 Public exploit

    Sourcecodester Poultry Farm Management System v1.0 contains an Unauthenticated Remote Code Execution (RCE) vulnerabilit…