← Vulnerability feed

Vulnerability record · CVE-2022-2487 · published 20 July 2022

CVE-2022-2487: WAVLINK WN535K2/WN535K3 nightled.cgi OS command injection

Wavlink · Wl Wn535k2 Firmware

WAVLINK WN535K2 and WN535K3 firmware contain an OS command injection flaw in /cgi-bin/nightled.cgi, where the start_hour argument is passed to a shell without sanitization. The vulnerability is rated critical and a public exploit has been disclosed, so unpatched devices are at immediate risk.

9.8 CVSS 3.1 Critical EPSS 80% · top 0.4% CWE-78 · OS command injection
9.8CVSS 3.1 base score
80%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
4References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

A vulnerability has been found in WAVLINK WN535K2 and WN535K3 and classified as critical. This vulnerability affects unknown code of the file /cgi-bin/nightled.cgi. The manipulation of the argument start_hour leads to os command injection. The exploit has been disclosed to the public and may be used.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

critical priorityCVSS 9.8 with no authentication or interaction required, public exploit code, and very high EPSS probability make this an urgent patching target.

What it is

WAVLINK WN535K2 and WN535K3 firmware contain an OS command injection flaw in /cgi-bin/nightled.cgi, where the start_hour argument is passed to a shell without sanitization. The vulnerability is rated critical and a public exploit has been disclosed, so unpatched devices are at immediate risk.

Impact

An unauthenticated remote attacker can execute arbitrary operating system commands on the device, gaining full control of the router and any data or traffic it handles.

Attack surface

Reachable over the network via HTTP requests to /cgi-bin/nightled.cgi; the CVSS vector shows no privileges or user interaction required, so the endpoint is exposed to anyone who can reach the device.

Exploitation

Public exploit code is referenced in the advisory links, and EPSS estimates a 79.5% probability of exploitation within 30 days; the CVE is not listed in CISA KEV.

What to do

  • Apply the vendor firmware update for WN535K2 and WN535K3 as soon as it is available.
  • If no patch exists, restrict access to the router management interface and /cgi-bin/ paths to trusted networks only.
  • Disable remote administration and UPnP exposure on the WAN interface.
  • Replace or isolate end-of-support devices that cannot be patched.

Detection

  • Monitor HTTP requests to /cgi-bin/nightled.cgi for suspicious start_hour values containing shell metacharacters.
  • Alert on outbound connections or command execution from router management IPs to unknown hosts.
  • Review device logs for unexpected process launches or configuration changes following nightled.cgi access.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2022-2487 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2022-2486Wavlink wl-wn535k2 firmware os command injection vulnerabilityA vulnerability, which was classified as critical, was found in WAVLINK WN535K2 and WN535K3. This affects an unknown part of the file /cgi-bin/mesh.c…EPSS 31%9.8CVE-2022-2488Wavlink wl-wn535k2 firmware os command injection vulnerabilityA vulnerability was found in WAVLINK WN535K2 and WN535K3 and classified as critical. This issue affects some unknown processing of the file /cgi-bin/…EPSS 34%6.5CVE-2025-50755Wavlink wl-wn535k3 firmware command injection vulnerabilityWavlink WN535K3 20191010 was found to contain a command injection vulnerability in the set_sys_cmd function via the command parameter. This vulnerabi…EPSS 1.1%6.5CVE-2025-50757Wavlink wl-wn535k3 firmware command injection vulnerabilityWavlink WN535K3 20191010 was found to contain a command injection vulnerability in the set_sys_adm function via the username parameter. This vulnerab…EPSS 1.8%8.8CVE-2026-53266Linux kernel ebtables SNAT out-of-bounds write in ARP rewriteThe ebtables SNAT target rewrites the ARP sender hardware address via skb_store_bits() without first making that range writable. When the ARP SHA byt…KEVEPSS 0.65%analysed8.8CVE-2026-87491Google Chrome V8 out-of-bounds write enables sandbox code executionChrome before 153.0.8010.36 contains an out-of-bounds write in the V8 JavaScript engine. A crafted HTML page can trigger the memory corruption, and b…KEVEPSS 3.1%analysed9.8CVE-2025-25249Fortinet FortiOS and FortiSwitchManager heap buffer overflow via crafted packetsA heap-based buffer overflow (CWE-122/CWE-787) in Fortinet FortiOS 6.4 through 7.6.3 and FortiSwitchManager 7.0 through 7.2.6 lets an unauthenticated…KEVEPSS 3.9%analysed7.8CVE-2026-83549SonicWall SMA1000 AMC OS Command InjectionThe SMA1000 Appliance Management Console contains an OS command injection flaw (CWE-78) that lets an authenticated administrator execute arbitrary op…KEVEPSS 11%analysed

Source: NIST National Vulnerability Database (record CVE-2022-2487), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.