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

WAVLINK WL-WN530HG4B Router wapi.cgi Port Forwarding Remote Command Injection Vulnerability (CVE-2026-120197) Technical Advisory

⚡ Jump to Patch
Affected Vendors
wavlink
Affected Components
wl-wn530hg4b
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 WL-WN530HG4B router with firmware version M_V260724.

Impact

Authenticated remote attackers can exploit the 'Name' parameter within the port forwarding function of '/cgi-bin/wapi.cgi' to execute arbitrary OS commands with root privileges.

Mitigation

Restrict access to the router's management interface, apply firewall rules to block malicious payloads, and upgrade to the latest patched firmware version.

Affected Products & Version Scope

WAVLINK WL-WN530HG4B firmware version M_V260724 (specifically affecting the 'Name' parameter in the port_forward function)

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Users should contact WAVLINK support or visit the official download center to obtain and flash the latest secure firmware version that addresses this command injection vulnerability.

2. Temporary Workaround & Hardening Configuration

If patching is not immediately feasible, disable remote WAN management and restrict access to the administration interface to trusted internal IP addresses only.

bash
# Block external WAN access to the web administration ports (e.g., on interface 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 designated secure management IP (e.g., 192.168.1.100)
iptables -A INPUT -s 192.168.1.100 -p tcp --dport 80 -j ACCEPT

3. Log Audit & IoC Verification Commands

Inspect the router's web server logs and active process list to identify potential exploitation attempts or active reverse shells.

bash
# Search web server access logs for suspicious characters in requests to wapi.cgi
grep -E 'wapi\.cgi.*(port_forward|Name=.*[%3B%26%7C%60])' /var/log/lighttpd/access.log 2>/dev/null

# Check for unauthorized active shell processes running on the router
ps | grep -E 'sh|ash|bash' | grep -v grep
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
NordLayer / Zero-Trust Network Access
Immediately disable WAN-side management access on WAVLINK WL-WN530HG4B routers and apply the latest firmware updates to mitigate remote code execution risks.

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

A critical OS command injection vulnerability (CVE-2026-120197) has been identified in the WAVLINK WL-WN530HG4B router running firmware version M_V260724. The root cause lies in the lack of input validation and sanitization of the 'Name' parameter passed to the 'port_forward' function within the /cgi-bin/wapi.cgi script. This allows user-supplied input to be concatenated directly into system commands executed by the underlying operating system.

2. Exploitation Mechanics & Attack Scenario

An attacker with low-privilege access to the router's web interface can send a crafted HTTP request to /cgi-bin/wapi.cgi. By embedding shell metacharacters (such as ;, &, or backticks) into the 'Name' parameter of a port forwarding configuration request, the attacker forces the system shell to execute arbitrary commands. Since public exploits are available, automated scanning and exploitation attempts targeting this vulnerability are highly likely.

3. Infrastructure & Business Impact

Successful exploitation grants the attacker complete control over the router with root privileges. This enables attackers to intercept network traffic, perform DNS hijacking, pivot into the internal local area network (LAN), or enlist the compromised device into a botnet for launching distributed denial-of-service (DDoS) attacks, posing severe risks to business continuity and data confidentiality.

Official Vendor Advisories & References

NVD Original English Description

A flaw has been found in WAVLINK WL-WN530HG4B M_V260724. This impacts the function port_forward of the file /cgi-bin/wapi.cgi. This manipulation of the argument Name causes os command injection. It is possible to initiate the attack remotely. The exploit has been published and may be used. The vendor was contacted early about this disclosure.

Frequently Asked SecOps Questions (CVE-2026-120197)

FAQ

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

CVE-2026-120197 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-120197?

Primary impacted vendors include wavlink across wl-wn530hg4b. Scope summary: WAVLINK WL-WN530HG4B firmware version M_V260724 (specifically affecting the 'Name' parameter in the port_forward function)

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

[Mitigation] Restrict access to the router's management interface, apply firewall rules to block malicious payloads, and upgrade to the latest patched firmware version. 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-120197

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-120197 WAVLINK WL-WN530HG4B Router wapi.cgi Port Forwarding Remote Command Injection Vulnerability (CVE-2026-120197) Technical Advisory (CVSS 9.9) - Patch & Workaround | CVE Pulse