Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach device web interface (LAN or exposed WAN)
-
DeliverySend HTTP request to export_pingortrace.cgi
-
ExploitOversized HTTP_COOKIE header overflows stack via strcpy
-
ExecutionOverwrite saved return address
-
PersistExecute shellcode as root
-
ImpactFull router compromise
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires network reachability to the device's lighttpd web server and the export_pingortrace.cgi endpoint, then sending a Cookie request header long enough to overflow the stack buffer processed by strcpy on HTTP_COOKIE - no authentication, user interaction, or non-default setting is required per the CVSS vector (PR:N/UI:N/AC:L). The primary limiting factor is exposure: on default deployments the admin web interface is LAN-facing, so an attacker must be on the local network or the router must have remote/WAN management enabled for Internet-based attacks. Affected scope is limited to WN531P3 and WN535M1 running firmware V250922. |
| Impact | The signals are largely consistent toward high priority: the CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N with full high vulnerable-system impact, base 9.3) indicates trivial, unauthenticated, network-reachable exploitation, and a public PoC (E:P, exploit maturity Proof-of-Concept) is available. That said, real-world risk is tempered by exposure: these are consumer/SOHO devices whose web interface is usually LAN-facing, so mass Internet-wide exploitation depends on how many units expose the admin interface to the WAN. There is no EPSS score provided and no KEV listing, so exploitation to date appears opportunistic/theoretical rather than confirmed widespread. The vendor-supplied 4.0 vector also asserts subsequent-system impact (SC:H/SI:H/SA:H); this is likely overstated for a single-device compromise and should be treated with caution - device takeover is high, but cascading impact to other systems is not evidenced in the description. |
| Exploit ScenarioDerived | An attacker who can reach the router's web interface (an on-LAN guest, a malicious device, or an Internet host if remote management is exposed) sends an HTTP request to export_pingortrace.cgi with an oversized, crafted Cookie header. The header overflows the stack buffer in the strcpy call, overwrites the return address, and executes attacker-supplied shellcode as root, granting full device takeover. A public PoC report demonstrating the buffer overflow is already available, lowering the barrier to weaponization. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Remote code execution in Wavlink WN531P3 and WN535M1 (firmware V250922) consumer routers arises from an unsafe strcpy in the export_pingortrace.cgi binary, where the attacker-controlled HTTP_COOKIE header is copied into a fixed stack buffer without bounds checking. Unauthenticated remote attackers can send a crafted Cookie header to the device web interface to overflow the stack and hijack execution. Publicly available exploit code exists (disclosed via VulDB with a PoC report), but there is no public exploit identified as actively exploited in the wild, and no CISA KEV listing.
RemediationAI
No vendor-released patch identified at time of analysis - the disclosure notes the vendor was contacted early but does not cite a fixed firmware version, so monitor Wavlink's support site for a firmware update superseding V250922 and apply it once released. In the interim, restrict access to the router's web management interface: ensure remote/WAN administration is disabled so export_pingortrace.cgi is unreachable from the Internet (trade-off: no remote management), and limit LAN access to the admin UI to trusted hosts or a management VLAN/ACL. Where feasible, block or filter external access to the HTTP admin port and treat the device as untrusted on hostile networks; for high-risk deployments consider replacing these end-of-interest consumer units. Consult the VulDB advisory (https://vuldb.com/vuln/391205) and NVD entry for updates.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is a CGI program (export_pingortrace.cgi) served by the lighttpd web server bundled in Wavlink's router firmware, implementing the ping/traceroute export functionality of the device's administrative web UI. The root cause is CWE-121 (stack-based buffer overflow): the code passes the HTTP_COOKIE CGI environment variable - populated verbatim from the client's Cookie request header - into strcpy() targeting a fixed-size stack buffer, with no length validation. On typical MIPS/ARM SOHO router firmware these CGIs run as root with no stack canaries or robust ASLR, so overflowing the buffer overwrites the saved return address and enables control-flow hijacking. The CPE data confirms two affected products, cpe:2.3:a:wavlink:wn531p3 and cpe:2.3:a:wavlink:wn535m1.
Know when Wn531P3 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
Unauthenticated network-reachable stack overflow (AV:N/AC:L/PR:N/UI:N) yielding root-level code execution on the device gives full C/I/A:H; scope unchanged as impact stays within the device.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was determined in Wavlink WN531P3 and WN535M1 V250922. Affected by this vulnerability is the function strcpy of the file /etc/lighttpd/www/cgi-bin/export_pingortrace.cgi of the component Export Pingortrace CGI. Executing a manipulation of the argument HTTP_COOKIE can lead to stack-based buffer overflow. The attack may be launched remotely. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure.
Latest POC
1 public PoC link from github
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
Wavlink WN531P3 and WN535M1 routers (firmware V250922) are vulnerable to unauthenticated remote code execution through a stack buffer overflow in the web interface, allowing attackers to gain complete control of the network gateway without credentials. Organizations operating these consumer-grade devices face immediate risk of network compromise, data interception, and lateral movement into internal systems. No vendor-released patch has been identified at this time, requiring urgent mitigation to prevent exploitation.
Restrict web interface access via firewall rules limited to designated management subnets; disable remote management and web-based administration if not operationally required; implement network segmentation to prevent compromised routers from accessing sensitive infrastructure or data systems; deploy network-based intrusion detection configured for export_pingortrace.cgi exploitation patterns; consider taking affected devices offline pending replacement if they support non-critical functions; monitor logs for HTTP_COOKIE injection attempts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
EUVD-2026-60119
GHSA-p9ff-qq24-ccr6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB