Weaknesses of type CWE-78

5,063 results

Injeção de comandos do sistema operacional

A aplicação constrói comandos do SO usando entrada do usuário sem sanitizar adequadamente, permitindo que um atacante injete comandos arbitrários. Quando a entrada contém metacaracteres (como `|`, `;`, `&&`, backticks), o shell interpreta-os como operadores, executando código não intencional com os privilégios da aplicação.

Example

Um script PHP que executa `system('ping ' . $_GET['host'])` permite um atacante passar `127.0.0.1; rm -rf /` como parâmetro, executando deleção de arquivos. Ou em Java, `Runtime.exec()` com strings concatenadas do usuário sem validação.

How to mitigate

Use APIs que não invocam shell (ex: `execvp()` em C, arrays de parâmetros em Java/Python, ou prepared commands). Se inevitável usar shell, escape rigorosamente com funções específicas (`escapeshellarg()` em PHP) ou valide contra whitelist de caracteres permitidos. Nunca confie em blacklist de caracteres perigosos.

CVE-2025-34312HIGHIPFire < v2.29 Command Injection via URL Filter BlacklistEPSS 2.2%CVE-2026-6140CRITICALTotolink A7100RU CGI cstecgi.cgi UploadFirmwareFile os command injectionEPSS 2.2%CVE-2026-73694HIGHFileRun < 2026.3.0 OS Command Injection via escapeshellcmd() No-Op RedefinitionEPSS 2.2%CVE-2026-72603CRITICALwg-easy wg-easy - OS Command InjectionEPSS 2.2%CVE-2026-64881HIGHCommand InjectionEPSS 2.2%CVE-2026-110005HIGHMoghtech Komodo contains an OS command injection vulnerabilityEPSS 2.2%CVE-2020-25849HIGHOpenfind MailGates/MailAudit - Command InjectionEPSS 2.2%CVE-2020-26245HIGHPrototype Pollution leading to Command Injection in systeminformationEPSS 2.2%CVE-2023-26490HIGHmailcow is vulnerable to shell command injection via xoauth2 authentication in imapsync​EPSS 2.2%CVE-2021-28634HIGHAdobe Acrobat Reader AcrobatUtils.scpt Extension OS Command Injection VulnerabilityEPSS 2.2%CVE-2026-6132CRITICALTotolink A7100RU CGI cstecgi.cgi setLedCfg os command injectionEPSS 2.2%CVE-2026-120230CRITICALWAVLINK WN701AE ioos Web Backend del_vlan_group os command injectionEPSS 2.2%CVE-2026-120227CRITICALWAVLINK WN701AE ioos Web Backend static_route_setting.sh del_staticrule os command injectionEPSS 2.2%CVE-2026-34243CRITICALwenxian: Command Injection in GitHub Actions Workflow via `issue_comment.body`EPSS 2.2%CVE-2026-55797HIGHArgo CD repo-server command injection via crafted SSH repository SOCKS5 proxy URLEPSS 2.2%CVE-2025-66401CRITICALMCP Watch has a Critical Command Injection in cloneRepo allows Remote Code Execution (RCE) via malicious URLEPSS 2.2%CVE-2026-67325HIGHGitPython before 3.1.51 Command Injection via option prefix abbreviationEPSS 2.2%CVE-2026-124585CRITICALChengdu Feiyuxing Technology VW2100/VEC10GP Web Administration webserver add_expmac os command injectionEPSS 2.2%CVE-2020-2490HIGHIf exploited, the command injection vulnerability could allow remote attackers to execute arbitrary commands. This issue affects: QNAP SysteEPSS 2.2%CVE-2024-50567MEDIUMAn improper neutralization of special elements used in an os command ('os command injection') in Fortinet FortiWeb 7.4.0 through 7.6.0 allowEPSS 2.2%