Fallos del tipo CWE-77
2808 resultadosInjeção de comando via entrada não sanitizada
O software constrói comandos (shell, SQL, LDAP, etc.) usando dados de entrada do usuário sem neutralizar caracteres especiais que alteram a semântica do comando. Um atacante injeta metacaracteres (como `;`, `|`, `$()`) para executar instruções não previstas.
Ejemplo
Um script PHP que executa `system('ping ' . $_GET['host'])` sem validação. Um atacante passa `8.8.8.8; rm -rf /` e consegue deletar arquivos, porque o ponto-e-vírgula encadeia comandos no shell.
Cómo mitigar
Use APIs de execução que separam dados de comando (ex: `execvp()` com array de argumentos em vez de shell, prepared statements para SQL). Se shell for inevitável, whitelist rigoroso de entrada e escape apropriado com `escapeshellarg()` ou equivalente na linguagem.
CVE-2026-4170CRITICALTopsec TopACM HTTP Request nmc_sync.php os command injectionEPSS 2.8%CVE-2026-19771HIGHBaicells EG3661M LuCI Web luci os command injectionEPSS 2.8%CVE-2022-42161HIGHD-Link COVR 1200,1202,1203 v1.08 was discovered to contain a command injection vulnerability via the /SetTriggerWPS/PIN parameter at functioEPSS 2.8%CVE-2022-42156HIGHD-Link COVR 1200,1203 v1.08 was discovered to contain a command injection vulnerability via the tomography_ping_number parameter at functionEPSS 2.8%CVE-2025-4121MEDIUMNetgear JWNR2000v2 cmd_wireless command injectionEPSS 2.8%CVE-2026-24168MEDIUMNVIDIA UFM Enterprise contains a vulnerability in the IBDiagnet API where an authenticated attacker with administrative privileges may causeEPSS 2.8%CVE-2026-82688CRITICALD-Link DNS-340L/DNS-345 Virtual Volume virtual_vol.cgi os command injectionEPSS 2.8%CVE-2026-6980MEDIUMDivyanshu-hash GitPilot-MCP main.py repo_path command injectionEPSS 2.8%CVE-2026-26792CRITICALGL-iNet GL-AR300M16 v4.3.11 was discovered to contain multiple command injection vulnerabilities in the set_upgrade function via the modem_uEPSS 2.8%CVE-2020-8186—A command injection vulnerability in the `devcert` module may lead to remote code execution when users of the module pass untrusted input toEPSS 2.8%CVE-2022-21129HIGHVersions of the package nemo-appium before 0.0.9 are vulnerable to Command Injection due to improper input sanitization in the 'module.exporEPSS 2.8%CVE-2024-2642HIGHRuijie RG-NBS2009G-P EXCU_SHELL command injectionEPSS 2.8%CVE-2024-35374CRITICALMocodo Mocodo Online 4.2.6 and below does not properly sanitize the sql_case input field in /web/generate.php, allowing remote attackers to EPSS 2.8%CVE-2025-5525MEDIUMJrohy trojan linux.go LogChan os command injectionEPSS 2.8%CVE-2025-3249MEDIUMTOTOLINK A6000R mtkwifi.lua apcli_cancel_wps command injectionEPSS 2.8%CVE-2018-3772—Concatenating unsanitized user input in the `whereis` npm module < 0.4.1 allowed an attacker to execute arbitrary commands. The `whereis` moEPSS 2.8%CVE-2026-1687MEDIUMTenda HG10 Boa Webserver formSamba command injectionEPSS 2.8%CVE-2022-42160HIGHD-Link COVR 1200,1202,1203 v1.08 was discovered to contain a command injection vulnerability via the system_time_timezone parameter at functEPSS 2.8%CVE-2025-14586MEDIUMTOTOLINK X5000R cstecgi.cgi snprintf os command injectionEPSS 2.8%CVE-2021-34748HIGHCisco Intersight Virtual Appliance Command Injection VulnerabilityEPSS 2.7%