/

CVE-2026-121932

Severity:

CRITICAL RISK

(10.0)

OS Command Injection (CWE-78) in Linksys E5350 apply.cgi

CVE-2026-121932

Deferred

Vulnerability type

Category:

OS Command Injection

CWE:

CWE-77, CWE-78

Impact:

Remote Command Execution

Severity:

CRITICAL RISK

(10.0)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A remotely reachable command-injection vulnerability in the Linksys E5350 affects the /wizard/apply.cgi endpoint. If attacker-controlled ping_ip or traceroute_ip values are passed unsafely to an operating-system command, an attacker may be able to execute commands on the device.

Affected context

The issue is reported in Linksys E5350 firmware version 1.0.00.037, in the system function used by /wizard/apply.cgi. It becomes risky when the endpoint is reachable by an attacker and the ping_ip or traceroute_ip argument is incorporated into an operating-system command without safe handling. The description does not specify authentication requirements or deployment-specific exposure.

Exploit preconditions

  • Attack surface: The /wizard/apply.cgi endpoint must be reachable by the attacker.
  • Required access: Remote access to the endpoint; whether authentication is required is not specified.
  • Trigger point: Processing of the ping_ip or traceroute_ip argument by the endpoint.
  • Why exploitation is possible: Attacker-controlled input may reach an operating-system command without adequate separation or neutralization.

Why this happens

The reported behavior is consistent with constructing or invoking an operating-system command using externally controlled input. If that input is interpreted as command syntax rather than as a data value, it can alter the command's behavior. This maps primarily to CWE-78: Improper Neutralization of Special Elements used in an OS Command; CWE-77 describes the broader command-injection class.

Potential impact

  • An attacker may execute commands with the privileges of the affected process.
  • The device could be compromised, potentially exposing or altering its configuration.
  • Network traffic handled by the device may be disrupted or monitored.
  • A compromised router could be used to affect other systems reachable from its network.

General mitigation guidance

Defensive patterns focus on avoiding shell interpretation of untrusted input and reducing the impact of any command execution flaw.

  • Prefer dedicated APIs for diagnostic operations over building shell commands.
  • Where a system command is necessary, pass arguments through APIs that keep them separate from the command itself.
  • Validate inputs against narrow, expected formats and reject unexpected values.
  • Restrict access to administrative and diagnostic endpoints, and apply least privilege to the process that handles them.
  • Use network segmentation and secure-by-default management access to limit exposure.

How teams detect issues like this

  • Review code for shell or process invocation paths that incorporate request parameters, especially ping_ip and traceroute_ip.
  • Use static analysis to flag command-execution APIs and data flows from HTTP inputs into those APIs.
  • Check endpoint access policies and logs for unexpected requests or unusual diagnostic activity.
  • Enforce code-review and CI policies requiring safe process APIs and validated input for command-related features.
  • Automated security review tools may help identify risky input-to-command flows.

Sources

SourceLink
github.comgithub.com/Zimo-666/E5350-cves/tree/main/01-wizard-preauth-command-injection
vuldb.comvuldb.com/cve/CVE-2026-121932
vuldb.comvuldb.com/submit/1024275
vuldb.comvuldb.com/submit/1024277
vuldb.comvuldb.com/vuln/431044
vuldb.comvuldb.com/vuln/431044/cti
linksys.comlinksys.com/

Frequently asked

questions

The report describes remote initiation. Exploitation depends on whether the endpoint is reachable and how the device's access controls are configured.

The available description does not state whether authentication is required. Access requirements may depend on the device's configuration and deployment.

Avoid passing untrusted input through a shell. Use dedicated diagnostic APIs or process interfaces that pass arguments separately, alongside strict input validation.

Limit exposure of management endpoints, review input-to-command data flows, use static analysis and code-review checks, and run diagnostic processes with minimal privileges.

Find out what's already
exploitable in your codebase.