Export
The link always opens the latest version of this page.
Ask an AI about it
Open in ChatGPTA new chat that reads this entry from the site Open in ClaudeThe same, in ClaudeShare the link instead of a file, and they will always see the latest version.
Files are a snapshot of today. The live page has anything newer.
CWE-78: OS Command Injection
The product constructs an OS command from external input without neutralizing special elements.
OS command injection occurs when a product constructs an operating system command using external input without properly neutralizing special elements that could alter command execution.
Characteristics
This is classified as a base-level weakness1, representing a fundamental vulnerability pattern rather than a variant of another weakness.
Consequences
The vulnerability enables multiple severe attack outcomes:
Remote Code Execution: Attackers can achieve remote code execution2 through various vectors, including diagnostic CGI scripts3. When the vulnerable application runs with elevated privileges, attackers gain remote code execution as root4.
Arbitrary Command Execution: The improper neutralization of special elements in OS commands5 allows arbitrary command execution6 on the target system. If the application operates with root privileges, attackers can execute arbitrary commands as root7. This extends to arbitrary code execution more broadly8.
Privilege Escalation: Depending on the application context, successful exploitation can result in root command execution9, root command execution on network devices like routers10, or arbitrary command execution as root11.
Attack Mechanism
The vulnerability arises when developers concatenate or interpolate untrusted input directly into OS command strings without sanitization. Special shell metacharacters (such as ;, |, &, $(), or backticks) in the input can break out of the intended command context and execute arbitrary commands.
Common vulnerable patterns include:
- Using
system(),exec(), or similar functions with unsanitized user input - Shell command construction through string concatenation
- Insufficient input validation or filtering
Proper mitigation requires either avoiding OS command execution entirely, using parameterized APIs that separate commands from arguments, or implementing strict input validation and escaping appropriate to the target shell environment.
In the news 50
- CVE-2026-25089: FortiSandbox unauthenticated command injection added to CISA KEV · Hacker News (YC)
- Payara 7.2026.1.RC1 Remote Code Execution via Server-Side Includes #exec Directive in Payara Server · Full Disclosure
- podcast SANS Stormcast Wednesday, August 5th, 2026: Diagnostic Tool Hunt; Device Code Phishing; XCSSET; NuGet API Keys · SANS ISC: Daily Podcast
- **Subject:** CVE-2026-2035703: Tozed ZLT X300 5G CPE — Unauthenticated Remote Root Code Execution via TR-069 Command Injection (CVSS 9.8) · Full Disclosure
- [0day-rubbish] South River Technologies Titan MFT Server 26.0.0 first-run administrator setup chained to job post-command injection, NT AUTHORITY\SYSTEM (8.1) · Full Disclosure
- [0day-rubbish] OP5 Monitor 9.20 Command injection surviving the CVE-2025-34115 patch (OPT-IN fix ineffective) (8.8) · Full Disclosure
- [0day-rubbish] core-admin 1.0.164 (build 16468) Systemic shell command injection via ineffective quote escaping (8.8) · Full Disclosure
- [0day-rubbish] TRENDnet TV-IP302PI firmware 1.02.38 authenticated NTP server-address OS command injection to root command execution via a shell-form system() call (7.2 High, PR:H) · Full Disclosure
- [0day-rubbish] Edimax BR-6478AC firmware v2.20 authenticated command injection in the setWAN WAN-configuration handler, root command execution (7.2) · Full Disclosure
- [0day-rubbish] Teltonika RutOS 00.07.06.21 Authenticated ipsec.lua logread command injection with reflected output (8.8) · Full Disclosure
- [0day-rubbish] VMS 6.48.809 Authenticated command injection to root RCE (8.8) · Full Disclosure
- Fridges, Hackers, AI and La Flemme · HackerNoon
- Siemens meta-iot2050 · CISA Advisories
- CISA Adds Six Known Exploited Vulnerabilities to Catalog · CISA Advisories
- Securing Internet-Critical Software: How We Could Have Backdoored Bash · Lobsters
- [0day-rubbish] NETGEAR RAX120 V1.2.5.18 authenticated SOAP InstallApp OS command injection to root-configured web-stack execution (6.8 Medium; conditionally 7.2 High with management exposure) · Full Disclosure
- [0day-rubbish] Raritan PX3 PDU G4 firmware 4.3.14 command injection in the ping and traceroute diagnostics through an inverted hostname-validation return check (8.8) · Full Disclosure
- [0day-rubbish] Moxa MAR-2000 firmware FWR_MAR2000_V1.0_Build_15010909 scenario ping condition command injection through the auto-executing ping thread (7.2) · Full Disclosure
- [0day-rubbish] Moxa MAR-2000 firmware FWR_MAR2000_V1.0_Build_15010909 IPsec tunnel address command injection through the route-management shell commands (7.2) · Full Disclosure
- [0day-rubbish] Moxa MAR-2000 firmware FWR_MAR2000_V1.0_Build_15010909 command injection in the Executer program activation path (7.2) · Full Disclosure
- Hackers hijack Convertr analytics script to steal payment card data · BleepingComputer
- [remote] Exasol Database 7.1.30 - command execution · Exploit-DB
- [0day-rubbish] Exasol Database 7.1.30 docker-db form: shipped default SYS credential to PYTHON3 UDF os.popen command execution as uid=500(exadefusr), output returned in-band (8.8) · Full Disclosure
- [0day-rubbish] Edimax BR-6478AC firmware v2.20 authenticated command injection in the formWlanMP manufacturing-test handler, root command execution (7.2) · Full Disclosure
- VestaCP <= 0.9.8-26: authenticated config-parser eval sinks -> root RCE (VESTACP-2026-001) · Full Disclosure
- [0day-rubbish] Synametrics Syncrify 6.2 build 1178 authenticated PublicLink chunk-upload path traversal to /etc/cron.d and root command execution (7.5) · Full Disclosure
- VU#456950: Komodo Periphery agent contains an OS command injection vulnerability · CERT/CC Vulnerability Notes
- [0day-rubbish] RCDevs WebADM 2.4.14 authenticated log viewer sid command injection to webadm uid 999 code execution (7.2) · Full Disclosure
- [0day-rubbish] Maian Cart 3.8 addBanners unrestricted banner upload to PHP webshell and administrator command execution (7.2 primary, PR:H) · Full Disclosure
- [0day-rubbish] IPConfigure Orchid VMS 26.3.0 authenticated DNF repository GPG-key property command injection to root (7.2) · Full Disclosure
- [0day-rubbish] Circutor LineEds 24.11.14-r0 unauthenticated pwrstudio events.xml shellExecute command injection (9.8) · Full Disclosure
- [0day-rubbish] Asustor ADM 3.5.9.RWM1 (AS602T) music.cgi act=live stored-filename command injection reaching system() (8.8 primary, PR:L) · Full Disclosure
- [remote] Teltonika_RutOS 00.07.06.21 - command injection · Exploit-DB
- [remote] Ecava_ntegraXor IGX_16.0.701.10 - RCE · Exploit-DB
- [0day-rubbish] Server Technology PRO3X PDU 030600 port_mux listener program override to root command execution (7.2) · Full Disclosure
- [0day-rubbish] Netsis NetOpenX REST 2.0.6.9 Unauthenticated SQL injection to xp_cmdshell SYSTEM command execution (9.8) · Full Disclosure
- [0day-rubbish] MultiTech Conduit AEP 6.3.6 Authenticated import_config filename command injection to root RCE (7.2) · Full Disclosure
- ZDI-26-719: Cisco ThousandEyes Virtual Appliance DHCP Client Command Injection Remote Code Execution Vulnerability · Zero Day Initiative
- Schneider Electric NetBotz 5 750/755 · CISA Advisories
- SonicWall's Remediation Guidance Says the Patch Is Only Step One of Four · HackerNoon
- [0day-rubbish] QuantaStor 6.8.3.018 Command injection in the alert-mail command via the smtpPassword field (8.8) · Full Disclosure
- [hardware] Fullhan FH8626V100 - Multiple Vulnerabilities · Exploit-DB
- CISA: Most exploited vulnerabilities should have been eradicated decades ago · The Register: Security
- Cisco Patches Multiple Maximum-Severity Vulnerabilities Across Network Automation and Workload Security Platforms - LinkedIn · Google News: Cyber Security
- [0day-rubbish] ONE Reporter 13.1 Authenticated RCE / privilege escalation via CommandExecutor (8.8) · Full Disclosure
- [0day-rubbish] ActiveFax Server 10.70 Unauthenticated LPD Ghostscript %pipe% SYSTEM RCE (9.8) · Full Disclosure
- ZDI-26-581: Cisco Identity Services Engine invokeScript Command Injection Remote Code Execution Vulnerability · Zero Day Initiative
- ZDI-26-532: SonicWall Email Security updateNetIf Command Injection Local Privilege Escalation Vulnerability · Zero Day Initiative
- Attackers Exploit Arista VeloCloud Orchestrator Command Injection Flaw · The Hacker News
- podcast SANS Stormcast Tuesday, July 28th, 2026: Spring Boot Scans; VBulletin Vulnerability; MSFT Defender for Linux; MongoDB Update · SANS ISC: Daily Podcast
Sign in for the full story cards: summaries, tags and starring.