CVE DatabaseCVE-2026-120196
한국어 권고문 →
CVE-2026-1201969.9/CRITICALCWE-77CWE-78

Wavlink WN579X3-D Router wapi.cgi Remote Command Injection Vulnerability (CVE-2026-120196) Analysis and Mitigation Guide

⚡ Jump to Patch
Affected Vendors
wavlink
Affected Components
wn579x3-d
Published Date
2026-11-01
CVSS v3.1
9.9
CRITICAL
EPSS (30d)
1.7%
FIRST.org
CISA KEV
Not Listed

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Wavlink WN579X3-D V250402 firmware version.

Impact

An authenticated remote attacker can manipulate the 'Name' parameter in the port forwarding configuration API to execute arbitrary OS commands with root privileges.

Mitigation

Restrict external access to the router's management interface and apply the latest firmware patch from the vendor immediately.

Affected Products & Version Scope

Wavlink WN579X3-D V250402 firmware version (specifically affecting the port_forward function in wapi.cgi).

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Users should visit the official Wavlink support website to download and manually flash the latest secure firmware version for the WN579X3-D router. Reboot the device after the upgrade is complete.

2. Temporary Workaround & Hardening Configuration

If patching is not immediately feasible, disable remote WAN management and restrict access to the local administration interface. Below are iptables rules to block external access to the web administration ports (e.g., 80, 443):

bash
# Block web management access from the WAN interface (e.g., eth0)
iptables -A INPUT -i eth0 -p tcp --dport 80 -j DROP
iptables -A INPUT -i eth0 -p tcp --dport 443 -j DROP

# Allow access only from a trusted administrator IP (e.g., 192.168.1.100)
iptables -A INPUT -p tcp -s 192.168.1.100 --dport 80 -j ACCEPT
iptables -A INPUT -p tcp -s 192.168.1.100 --dport 443 -j ACCEPT

3. Log Audit & IoC Verification Commands

If shell access to the router is available, run the following commands to verify the current firmware version and inspect web server logs for potential exploitation attempts containing shell metacharacters:

bash
# 1. Check the current firmware version
cat /etc/version 2>/dev/null || echo 'Unable to determine firmware version.'

# 2. Scan web access logs for command injection patterns targeting wapi.cgi
LOG_FILE='/var/log/lighttpd/access.log'
if [ -f '$LOG_FILE' ]; then
    grep -E 'wapi\.cgi.*(port_forward|Name=.*[%3B%7C%60%24])' '$LOG_FILE'
else
    echo 'Web log file not found. Please verify the log path.'
fi
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
NordLayer / Zero-Trust Network Access
Immediately disable remote WAN management on Wavlink WN579X3-D routers and apply the latest firmware update.

Stop Exposing VPN Ports to the Internet — Switch to Zero-Trust Access

Eliminate public-facing VPN concentrators and firewall management ports with identity-first Zero-Trust Network Access.

90% Attack Surface Reduction · Hardware-Free

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2026-120196) exists in the /cgi-bin/wapi.cgi program of the Wavlink WN579X3-D router's web management interface. The root cause lies in the port_forward function, which processes port forwarding configurations. The function fails to properly sanitize or escape user-supplied input in the Name parameter before incorporating it into a system shell command. This leads to a classic OS Command Injection vulnerability (CWE-78/CWE-77).

2. Exploitation Mechanics & Attack Scenario

An attacker with low privileges (PR:L) can send a crafted HTTP request to /cgi-bin/wapi.cgi to configure port forwarding. By injecting shell metacharacters (such as ;, &, or ` `) along with malicious payloads into the Name` parameter, the input is directly passed to the underlying system shell. Since the web server runs with elevated privileges, the injected commands are executed as root, allowing the attacker to establish a reverse shell and gain full control of the device. Public exploits are currently available.

3. Infrastructure & Business Impact

With a CVSS score of 9.9 (Critical), this vulnerability poses a severe threat. Compromising the router allows attackers to establish a persistent foothold within the local network, facilitate lateral movement, alter DNS settings to redirect traffic to phishing sites, sniff sensitive network packets, or enlist the device into a botnet for launching distributed denial-of-service (DDoS) attacks.

Official Vendor Advisories & References

NVD Original English Description

A vulnerability was detected in WAVLINK WN579X3-D V250402. This affects the function port_forward of the file /cgi-bin/wapi.cgi. The manipulation of the argument Name results in os command injection. The attack may be performed from remote. The exploit is now public and may be used. The vendor was contacted early about this disclosure.

Frequently Asked SecOps Questions (CVE-2026-120196)

FAQ

Q1. How critical is CVE-2026-120196 and is it actively exploited in the wild?

CVE-2026-120196 is rated CVSS 9.9 (CRITICAL) with a 30-day EPSS exploitation probability of 1.7%. Organizations running affected versions should prioritize patching based on network exposure.

Q2. Which vendors and products are affected by CVE-2026-120196?

Primary impacted vendors include wavlink across wn579x3-d. Scope summary: Wavlink WN579X3-D V250402 firmware version (specifically affecting the port_forward function in wapi.cgi).

Q3. What temporary mitigations or workarounds exist for CVE-2026-120196 before patching?

[Mitigation] Restrict external access to the router's management interface and apply the latest firmware patch from the vendor immediately. Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2026-120196

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (wavlink)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2026-120196 Wavlink WN579X3-D Router wapi.cgi Remote Command Injection Vulnerability (CVE-2026-120196) Analysis and Mitigation Guide (CVSS 9.9) - Patch & Workaround | CVE Pulse