/

CVE-2026-108895

Severity:

CRITICAL RISK

(9.9)

OS Command Injection (CWE-78) in Linksys E1700 DMZ

CVE-2026-108895

Deferred

Vulnerability type

Category:

OS Command Injection

CWE:

CWE-77, CWE-78

Impact:

Remote Code Execution

Severity:

CRITICAL RISK

(9.9)

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 critical OS command injection vulnerability affects the Linksys E1700 router's DMZ configuration handler. An attacker who can send crafted remote requests to the exposed management endpoint may cause the device to execute operating-system commands.

A critical OS command injection vulnerability affects the Linksys E1700 router's DMZ configuration handler. An attacker who can send crafted remote requests to the exposed management endpoint may cause the device to execute operating-system commands.

Affected context

The weakness occurs in the Linksys E1700 firmware version 1.0.0.4.003, within the /goform/setDMZ handler that processes the MAC_addr argument. Risk is increased when the router's administrative interface is reachable by an untrusted remote party and the parameter is incorporated into an operating-system command without sufficient validation or safe execution boundaries.

The weakness occurs in the Linksys E1700 firmware version 1.0.0.4.003, within the /goform/setDMZ handler that processes the MAC_addr argument. Risk is increased when the router's administrative interface is reachable by an untrusted remote party and the parameter is incorporated into an operating-system command without sufficient validation or safe execution boundaries.

Exploit preconditions

  • Attack surface: The router's HTTP management interface and /goform/setDMZ endpoint
  • Required access: Network reachability to the endpoint; authentication requirements depend on the device's administrative access controls
  • Trigger point: Processing of the MAC_addr parameter by the setDMZ function
  • Why exploitation is possible: Input appears to reach an operating-system command execution path without adequate separation between data and command syntax
  • Attack surface: The router's HTTP management interface and /goform/setDMZ endpoint
  • Required access: Network reachability to the endpoint; authentication requirements depend on the device's administrative access controls
  • Trigger point: Processing of the MAC_addr parameter by the setDMZ function
  • Why exploitation is possible: Input appears to reach an operating-system command execution path without adequate separation between data and command syntax

Why this happens

The underlying issue is command construction or invocation that treats externally supplied parameter data as part of an operating-system command. If metacharacters or other control syntax are not rejected and the command is not invoked through a safe argument-based interface, an attacker may influence command interpretation. This maps primarily to CWE-78: Improper Neutralization of Special Elements used in an OS Command, with CWE-77: Improper Neutralization of Special Elements in Output Used by a Downstream Component describing the broader command-injection class.

The underlying issue is command construction or invocation that treats externally supplied parameter data as part of an operating-system command. If metacharacters or other control syntax are not rejected and the command is not invoked through a safe argument-based interface, an attacker may influence command interpretation. This maps primarily to CWE-78: Improper Neutralization of Special Elements used in an OS Command, with CWE-77: Improper Neutralization of Special Elements in Output Used by a Downstream Component describing the broader command-injection class.

Potential impact

  • An attacker may execute arbitrary commands with the privileges of the router service
  • Device configuration and network-routing behavior could be altered
  • Credentials, network metadata, or stored configuration data could be exposed
  • The router could be used to monitor, redirect, or disrupt network traffic
  • A compromised device could support further attacks against connected systems
  • An attacker may execute arbitrary commands with the privileges of the router service
  • Device configuration and network-routing behavior could be altered
  • Credentials, network metadata, or stored configuration data could be exposed
  • The router could be used to monitor, redirect, or disrupt network traffic
  • A compromised device could support further attacks against connected systems

General mitigation guidance

Mitigation generally focuses on keeping user-controlled values out of shell command interpretation and reducing the privileges available to network-facing services.

Common defensive patterns include:

  • Replacing shell command construction with fixed operations and safe, argument-based APIs
  • Applying strict allowlist validation for MAC-address input according to a canonical format
  • Rejecting unexpected encoding, separators, and control characters before processing
  • Limiting administrative interfaces to trusted management networks or secure access paths
  • Running management services with the minimum privileges required
  • Applying network segmentation and restricting outbound access from the device where feasible

Mitigation generally focuses on keeping user-controlled values out of shell command interpretation and reducing the privileges available to network-facing services.

Common defensive patterns include:

  • Replacing shell command construction with fixed operations and safe, argument-based APIs
  • Applying strict allowlist validation for MAC-address input according to a canonical format
  • Rejecting unexpected encoding, separators, and control characters before processing
  • Limiting administrative interfaces to trusted management networks or secure access paths
  • Running management services with the minimum privileges required
  • Applying network segmentation and restricting outbound access from the device where feasible

How teams detect issues like this

Organizations can look for command-injection risks through:

  • Static analysis that identifies shell execution APIs receiving request parameters
  • Code review of form handlers, CGI endpoints, and firmware management functions
  • Tests that verify strict input validation and safe argument separation
  • Monitoring for unusual administrative requests, configuration changes, process activity, or outbound connections
  • Policy enforcement that prevents internet exposure of router management interfaces
  • Automated security review tools that flag data flows from HTTP parameters into command interpreters

Organizations can look for command-injection risks through:

  • Static analysis that identifies shell execution APIs receiving request parameters
  • Code review of form handlers, CGI endpoints, and firmware management functions
  • Tests that verify strict input validation and safe argument separation
  • Monitoring for unusual administrative requests, configuration changes, process activity, or outbound connections
  • Policy enforcement that prevents internet exposure of router management interfaces
  • Automated security review tools that flag data flows from HTTP parameters into command interpreters

Sources

SourceLink
github.comgithub.com/wudipjq/my_vuln/blob/main/Linksys3/vuln_69/69.md
vuldb.comvuldb.com/cve/CVE-2026-108895
vuldb.comvuldb.com/submit/973114
vuldb.comvuldb.com/vuln/416687
vuldb.comvuldb.com/vuln/416687/cti
linksys.comlinksys.com/

Frequently asked

questions

It may be remotely exploitable when the router's management interface and affected endpoint are reachable by an attacker. The practical scope depends on authentication, network exposure, and administrative access controls.

The attacker needs network access to the affected management endpoint. Whether valid authentication is also required depends on the device's configuration and the endpoint's authorization behavior.

The safest pattern is to eliminate shell interpretation for user-controlled values, use fixed-function or argument-based APIs, and enforce strict allowlist validation for the expected MAC-address format.

Restrict management interfaces to trusted networks, apply least privilege, review all paths from request parameters to process execution, and use static analysis and security testing to detect unsafe command construction.

It may be remotely exploitable when the router's management interface and affected endpoint are reachable by an attacker. The practical scope depends on authentication, network exposure, and administrative access controls.

The attacker needs network access to the affected management endpoint. Whether valid authentication is also required depends on the device's configuration and the endpoint's authorization behavior.

The safest pattern is to eliminate shell interpretation for user-controlled values, use fixed-function or argument-based APIs, and enforce strict allowlist validation for the expected MAC-address format.

Restrict management interfaces to trusted networks, apply least privilege, review all paths from request parameters to process execution, and use static analysis and security testing to detect unsafe command construction.

Find out what's already
exploitable in your codebase.