Weaknesses of type CWE-74
4,742 resultsInjeção de código
É quando uma aplicação incorpora dados não validados em um comando ou consulta que será interpretado como código. O atacante consegue injetar instruções maliciosas que são executadas com os privilégios da aplicação, como SQL, shell ou XML.
Example
Um formulário de login que monta uma query SQL concatenando diretamente a entrada do usuário: `SELECT * FROM usuarios WHERE email = '` + email_usuario + `'`. Um atacante digita `' OR '1'='1` e consegue bypassar a autenticação.
How to mitigate
Use prepared statements ou parameterized queries (bind variables), que separam dados de código. Valide e sanitize todas as entradas contra regras rígidas de whitelist, e aplique o princípio do menor privilégio nas contas de banco de dados e processos.
CVE-2025-11121MEDIUMTenda AC18 AdvSetLanip command injectionEPSS 3.7%CVE-2024-12350MEDIUMJFinalCMS Template TemplateController.java update command injectionEPSS 3.7%CVE-2025-9934MEDIUMTOTOLINK X5000R cstecgi.cgi sub_410C34 command injectionEPSS 3.7%CVE-2026-5030MEDIUMTotolink NR1800X Telnet Service cstecgi.cgi NTPSyncWithHost command injectionEPSS 3.7%CVE-2026-5020MEDIUMTotolink A3600R Parameter cstecgi.cgi setNoticeCfg command injectionEPSS 3.7%CVE-2022-21663MEDIUMAuthenticated Object Injection in Multisites in WordPressEPSS 3.7%CVE-2024-11305MEDIUMAltenergy Power Control Software status_zigbee get_status_zigbee sql injectionEPSS 3.7%CVE-2025-7192MEDIUMD-Link DIR-645 ssdpcgi cgibin ssdpcgi_main command injectionEPSS 3.7%CVE-2021-21372HIGHNimble arbitrary code execution for specially crafted package metadataEPSS 3.6%CVE-2026-18616CRITICALGL-iNet GL-MT3000 wg-server.so Native Plugin glc server.set_peer command injectionEPSS 3.6%CVE-2026-18602CRITICALGL.iNet GL-MT3000 ovpn-client.so Native Plugin glc ovpn-client.get_recommend_config command injectionEPSS 3.6%CVE-2026-18615CRITICALGL-iNet GL-MT3000 wg-server.so Native Plugin glc wg-server.generate_publickey command injectionEPSS 3.6%CVE-2026-18601CRITICALGL.iNet GL-MT3000 ovpn-client.so Native Plugin glc ovpn-client.check_config command injectionEPSS 3.6%CVE-2026-18685CRITICALGL.iNet GL-MT3000 modem.so glc set_upgrade command injectionEPSS 3.6%CVE-2026-18684CRITICALGL.iNet GL-MT3000 modem.so glc remove_profile command injectionEPSS 3.6%CVE-2026-18614CRITICALGL-iNet GL-MT3000 s2s.so Native Plugin glc s2s.enable_echo_server command injectionEPSS 3.6%CVE-2026-18812HIGHH3C NX15 esps esps.ipv6.wan command injectionEPSS 3.6%CVE-2026-18811HIGHH3C NX15 esps add command injectionEPSS 3.6%CVE-2026-18813HIGHH3C NX15 esps delete command injectionEPSS 3.6%CVE-2026-18814HIGHH3C NX15 esps reload.reload_config command injectionEPSS 3.6%