/

CVE-2026-133493

Severity:

CRITICAL RISK

(10.0)

OS Command Injection (CWE-78) in D-Link DIR-600L GENA

CVE-2026-133493

Deferred

Vulnerability type

Category:

OS Command Injection

CWE:

CWE-77, CWE-78

Impact:

Remote OS 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 command injection vulnerability in the GENA Handler of the D-Link DIR-600L 2.17b02 affects genacgi_main in gena.cgi. The issue is reported as remotely exploitable and could allow an attacker to execute operating-system commands if they can reach the vulnerable handler and influence the data it processes.

Affected context

The reported affected context is the GENA Handler in D-Link DIR-600L 2.17b02, specifically the genacgi_main function in gena.cgi. The vulnerability becomes relevant when data handled by this remotely reachable function can influence operating-system command processing. The available description does not specify authentication requirements or the precise input path.

Exploit preconditions

  • Attack surface: The GENA Handler, reported as remotely reachable
  • Required access: Network access to the vulnerable handler; authentication requirements are not specified
  • Trigger point: Processing performed by genacgi_main in gena.cgi
  • Why exploitation is possible: Attacker-influenced data may be interpreted as part of an operating-system command rather than handled strictly as data
  • Exploit availability: A public exploit is reported to be available

Why this happens

The reported behavior is consistent with OS command injection: externally influenced data reaches command processing without sufficient separation between data and command syntax. This maps to CWE-78: Improper Neutralization of Special Elements used in an OS Command. CWE-77 is also associated with the issue and describes the broader class of command-injection flaws.

Potential impact

  • An attacker may execute operating-system commands in the context of the affected process.
  • The device could be compromised, depending on the process privileges and deployment context.
  • An attacker could potentially alter device behavior, access data, or disrupt service.

General mitigation guidance

Defensive patterns focus on removing the path from untrusted input to shell command interpretation.

  • Prefer dedicated APIs over constructing operating-system commands.
  • Where external processes are necessary, pass arguments through APIs that keep data separate from command syntax.
  • Validate inputs against narrow, expected formats and reject unexpected values.
  • Run affected processes with the least privileges needed and restrict unnecessary network exposure.

How teams detect issues like this

  • Review command execution and process-launch code in the GENA Handler, especially data flows into command strings or arguments.
  • Use static analysis to flag shell invocation and unsanitized input reaching command execution.
  • Review code changes for command construction, input validation, and use of APIs that separate arguments from shell syntax.
  • Apply network monitoring and policy controls to identify unexpected access to the GENA service.

Sources

SourceLink
github.comgithub.com/ruanyi101/router-firmware-security-advisories/blob/main/router-firmware-GitHub-advisories/related-findings/D-Link-DIR-600L-gena-cgi-command-injection-affected-model.md
vuldb.comvuldb.com/cve/CVE-2026-133493
vuldb.comvuldb.com/submit/1049874
vuldb.comvuldb.com/vuln/440913
vuldb.comvuldb.com/vuln/440913/cti
dlink.comdlink.com/

Frequently asked

questions

The vulnerability is reported as remotely launchable. Exploitation would depend on reaching the vulnerable GENA Handler; the description does not detail authentication requirements.

Network access to the handler is the stated general prerequisite. Whether authentication or other conditions are required is not specified.

Avoid passing attacker-influenced data through a shell. Use APIs that keep command arguments separate from command syntax, with strict validation where appropriate.

Minimize command execution, review input-to-process data flows, enforce least privilege, and use static analysis and code review to catch unsafe command construction.

Find out what's already
exploitable in your codebase.