Inyección de código y comandos · CWE-78
Inyección de comandos del sistema operativo
El programa ejecuta un comando del sistema con texto que controla el atacante, y este logra ejecutar sus propios comandos en el equipo.
11.147 vulnerabilidades publicadas de este tipo, 166 de ellas explotadas activamente según CISA.
Cómo funciona
Muchos productos llaman a comandos del sistema (ping, conversores, scripts) armando la línea con datos recibidos. Si esos datos llevan ; | && o $( ), el intérprete ejecuta lo que siga. Es una de las fallas más graves: suele dar control total del equipo. Es frecuente en enrutadores, firewalls, VPN, cámaras y paneles de administración.
Dónde aparece
Equipos de red y seguridad (firewalls, VPN, enrutadores), cámaras y NAS, paneles web de administración, aplicaciones que llaman a herramientas externas.
Cómo se corrige
- Evitar el intérprete de comandos: llamar al programa con una lista de argumentos (execFile, subprocess con lista, ProcessBuilder).
- Validar los datos con una lista estricta de lo permitido (por ejemplo, solo una IP válida).
- Ejecutar el servicio con un usuario sin privilegios.
- En equipos de red: aplicar el parche del fabricante y no exponer la interfaz de administración a internet.
Qué evitar
- system(), exec(), shell=True o backticks con texto del usuario.
- Filtrar caracteres «peligrosos» uno por uno.
Explotadas de este tipo
- CVE-2026-133323Crítica9.8 ExplotadaPrioridad urgenteEPSS 5,6 %25 de nov de 2026
Inyección de comandos en MiCollab
A vulnerability in the Audio, Web, and Video Conferencing (AWV) component of Mitel MiCollab through 10.3 (10.3.0.18) could allow an unauthenticated attacker to conduct a blind command injection attack due to insufficient parameter sanitization. A successful exploit could allow an attacker to execute arbitrary commands within the context of the system. This is MTLVULN-1864.
- CVE-2026-103406Crítica9.8 ExplotadaPrioridad urgenteEPSS 1,5 %25 de nov de 2026
Inyección de comandos en Session Smart Conductor
An Improper Neutralization of Special Elements used in an OS Command vulnerability in the AutomatedProvisioner in Juniper Networks Session Smart Conductor allows a remote attacker to execute arbitrary commands as root via a specially crafted salt minion ID.
- CVE-2026-111560Alta7.2 ExplotadaPrioridad urgenteEPSS 11 %10 de nov de 2026
Inyección de comandos en Barracuda Email Security Gateway (ESG)
Improper neutralization of shell metacharacters in the timezone configuration field in certain Barracuda appliance products using common Barracuda code allows an authenticated administrator to inject OS commands that execute with root privileges when the crafted timezone value is subsequently processed.
- CVE-2026-116779Crítica9.8 ExplotadaPrioridad urgenteEPSS 44 %9 de nov de 2026
Inyección de comandos en freeswitch
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a software implementation that runs on any commodity hardware. Prior to 1.11.3, sofia_presence_handle_sip_i_message() split the To user of an inbound SIP MESSAGE on a plus sign and treated the left side as a chat protocol selector. Selecting the api chat proto reached switch_api_execute(), allowing a peer whose MESSAGE was accepted to run FreeSWITCH API commands, including operating-system command sinks, with the daemon's privileges. Inbound chat is enabled on the stock internal and external profiles, and any authenticated profile account is sufficient; stock directory users without password material can also remove that barrier in affected configurations. The flaw permits configuration and credential disclosure, arbitrary call control, and command execution, and exploitation has been observed in the wild. This issue is fixed in version 1.11.3.
- CVE-2026-110447Crítica9.8 ExplotadaPrioridad urgenteEPSS 33 %23 de oct de 2026
Inyección de comandos en Collabora Online - Built-in CODE Server
Collabora Online Built-in CODE Server before 26.4.303 (richdocumentscode), a Nextcloud app, allows remote code execution, as exploited in the wild in September and October 2026, a different vulnerability than CVE-2025-66208. This is an OS command injection in proxy.php when the CODE server isn't running (e.g., the product was recently restarted). The vulnerability is not present in standalone Collabora Online servers; only this deployment with CODE Server is affected.
- CVE-2026-106931Alta8.5 ExplotadaPrioridad urgenteEPSS 1,6 %20 de oct de 2026
Inyección de comandos en SiteGuard Server Edition for Apache httpd
SiteGuard Server Edition contains an OS command injection vulnerability, which may allow an attacker to execute arbitrary OS commands with root or SYSTEM privileges on the system running the affected product.
Publicadas recientemente
- CVE-2026-80485Alta8.4Prioridad alta27 de nov de 2026
Inyección de comandos en Secure Connect Gateway - Virtual Edition
Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains an Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability. An unauthenticated local attacker could potentially exploit this vulnerability, leading to Script injection.
- CVE-2026-80472Alta8.1Prioridad altaEPSS 1,1 %27 de nov de 2026
Inyección de comandos en Secure Connect Gateway - Virtual Edition
Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains an Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability. A low privileged local attacker could potentially exploit this vulnerability, leading to Script injection.
- CVE-2026-80471Media6.6Prioridad mediaEPSS 0,69 %27 de nov de 2026
Inyección de comandos en Secure Connect Gateway - Virtual Edition
Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains an Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability. A low privileged local attacker could potentially exploit this vulnerability, leading to Script injection.
- CVE-2026-80449Baja3.6Prioridad bajaEPSS 0,46 %27 de nov de 2026
Inyección de comandos en Secure Connect Gateway - Virtual Edition
Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains an Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability. A low privileged local attacker could potentially exploit this vulnerability, leading to Script injection.
- CVE-2026-137723Crítica9.6Prioridad altaEPSS 2,6 %27 de nov de 2026
Inyección de comandos en OpenScape 4000
A vulnerability in the Platform component of Mitel OpenScape 4000 and OpenScape 4000 Manager could allow an attacker to conduct a command injection attack due to insufficient parameter sanitization. A successful exploit could allow an attacker to execute arbitrary commands within the context of the system. This vulnerability affects OpenScape 4000, versions V11 R0.22 through V11 R2.11 and V10 R1.68 and earlier, and OpenScape 4000 Manager, versions V11 R0.22 through V11 R2.11 and V10 R1.34 through V10 R1.68. This is MTLVULN-1793.
- CVE-2026-137721Crítica10.0Prioridad urgenteEPSS 2,8 %27 de nov de 2026
Inyección de comandos en OpenScape 4000
A vulnerability in the Platform component of Mitel OpenScape 4000 and OpenScape 4000 Manager could allow an attacker to conduct a command injection attack due to insufficient parameter sanitization. A successful exploit could allow an attacker to execute arbitrary commands within the context of the system. This vulnerability affects OpenScape 4000, versions V11 R0.22 through V11 R2.11 and V10 R1.68 and earlier, and OpenScape 4000 Manager, versions V11 R0.22 through V11 R2.11 and V10 R1.34 through V10 R1.68. This is MTLVULN-1786.
- CVE-2026-137715Alta7.7Prioridad altaEPSS 0,51 %27 de nov de 2026
Inyección de comandos en Webmin
Webmin through 2.670 before 07d1949 does not escape a save_log.cgi log file path. This is relevant for code execution if a shared-hosting provider offers Webalizer module access.
- CVE-2026-115844Media6.5Prioridad mediaEPSS 1,3 %27 de nov de 2026
Inyección de comandos en LXD
In LXD before 5.21.0 and 6.10.0, an OS command injection vulnerability allows an authenticated client restricted to a single project to execute arbitrary code as root on the host. The raw.dnsmasq bridge network configuration key is not restricted to server administrators and is copied verbatim into the dnsmasq configuration file, so a user whose project keeps the default features.networks=false can have a bridge network created in the default project with an injected dhcp-script directive. This allows an attacker to make the host dnsmasq execute attacker-chosen code as root on a DHCP lease event and fully compromise the host.