Weaknesses of type CWE-77

2,808 results

Injeção de comando por entrada não neutralizada

O software monta um comando (shell, sistema operacional ou aplicação) usando dados recebidos de fora (entrada do usuário, API, banco de dados) sem remover ou neutralizar caracteres especiais que alteram a semântica do comando. Isso permite que um atacante injete comandos arbitrários que serão executados com as permissões da aplicação.

Example

Um script PHP que executa ping com o IP fornecido pelo usuário: `system('ping ' . $_GET['ip'])`. Um atacante passa `8.8.8.8; rm -rf /` e consegue deletar arquivos do servidor, porque o ponto-e-vírgula não foi escapado e o shell interpreta dois comandos sequenciais.

How to mitigate

Use APIs seguras que não envolvem interpretação de shell (ex: ProcessBuilder em Java, subprocess.run com shell=False em Python). Se imperativo usar shell, valide com whitelist rigorosa (apenas caracteres alfanuméricos/IPs válidos) e escape com funções específicas da linguagem (escapeshellarg em PHP, shlex.quote em Python).

CVE-2026-8112MEDIUM8421bit MiniClaw kernel.ts executeCognitivePulse os command injectionEPSS 2.9%CVE-2024-29864CRITICALDistrobox before 1.7.0.1 allows attackers to execute arbitrary code via command injection into exported executables.EPSS 2.9%CVE-2026-5333MEDIUMDefaultFuction Content-Management-System tools.php command injectionEPSS 2.9%CVE-2019-12805HIGHNC Launcher 2 Arbitrary Command Injection VulnerabilityEPSS 2.9%CVE-2023-39523MEDIUMScanCode.io command injection in docker image fetch processEPSS 2.9%CVE-2023-0638HIGHTRENDnet TEW-811DRU Web Interface command injectionEPSS 2.9%CVE-2026-1327MEDIUMTotolink NR1800X POST Request cstecgi.cgi setTracerouteCfg command injectionEPSS 2.9%CVE-2023-31856CRITICALA command injection vulnerability in the hostTime parameter in the function NTPSyncWithHostof TOTOLINK CP300+ V5.2cu.7594_B20200910 allows aEPSS 2.9%CVE-2021-41116HIGHCommand injection in composer on WindowsEPSS 2.9%CVE-2020-27227CRITICALAn exploitable unatuhenticated command injection exists in the OpenClinic GA 5.173.3. Specially crafted web requests can cause commands to bEPSS 2.9%CVE-2026-8264MEDIUMTenda AC6 httpd WifiApScan formWifiApScan os command injectionEPSS 2.9%CVE-2024-44401CRITICALD-Link DI-8100G 17.12.20A1 is vulnerable to Command Injection via sub47A60C function in the upgrade_filter.asp fileEPSS 2.9%CVE-2026-15481HIGHTrendnet TEW-635BRM IPoA WAN Connection Setup rc ipoa_test command injectionEPSS 2.9%CVE-2024-3271CRITICALCommand Injection in run-llama/llama_indexEPSS 2.9%CVE-2023-22671CRITICALGhidra/RuntimeScripts/Linux/support/launch.sh in NSA Ghidra through 10.2.2 passes user-provided input into eval, leading to command injectioEPSS 2.9%CVE-2026-1547MEDIUMTotolink A7000R cstecgi.cgi setUnloadUserData command injectionEPSS 2.9%CVE-2025-57105CRITICALThe DI-7400G+ router has a command injection vulnerability, which allows attackers to execute arbitrary commands on the device. The sub_478DEPSS 2.9%CVE-2023-28935HIGHApache UIMA DUCC: DUCC (EOL) allows RCEEPSS 2.9%CVE-2026-2533MEDIUMTosei Self-service Washing Machine tosei_datasend.php command injectionEPSS 2.9%CVE-2018-0348A vulnerability in the CLI of the Cisco SD-WAN Solution could allow an authenticated, remote attacker to inject arbitrary commands that are EPSS 2.9%