CVE-2026-5211
8.8D-Link · DNS and DNR Network Attached Storage (NAS) devices
A stack-based buffer overflow in the UPnP_AV_Server_Path_Del function of the app_mgr.cgi binary allows remote attackers to cause a crash or potentially execute arbitrary code via the f_dir parameter.
Executive summary
A critical stack-based buffer overflow vulnerability in multiple D-Link NAS devices, identified as CVE-2026-5211, exposes affected systems to remote code execution and service disruption.
Vulnerability
This is a stack-based buffer overflow vulnerability occurring in the /cgi-bin/app_mgr.cgi endpoint. The function UPnP_AV_Server_Path_Del fails to perform adequate bounds checking on the f_dir parameter, allowing a low-privileged authenticated attacker to overwrite the return address and potentially achieve remote code execution.
Business impact
The vulnerability poses a severe risk to data integrity and system availability. Successful exploitation allows an attacker to crash the storage device, leading to service downtime, or execute arbitrary code to gain unauthorized control over the NAS. With a CVSS score of 8.8, this flaw is considered high-risk, as it directly impacts the confidentiality, integrity, and availability of stored data.
Remediation
Immediate Action: Check the D-Link support portal for firmware updates addressing this flaw; if no patch is available for your specific model, restrict management interface access to trusted networks only.
Proactive Monitoring: Review system and access logs for unusual POST requests targeting /cgi-bin/app_mgr.cgi, specifically monitoring for abnormally long f_dir parameter strings.
Compensating Controls: Implement a Web Application Firewall (WAF) or an Intrusion Prevention System (IPS) to filter and block malicious traffic containing oversized f_dir parameters in HTTP requests.
Exploitation status
Public Exploit Available: Yes — a published proof-of-concept exists as detailed in the researcher's technical write-up linked in the CVE record.
Analyst recommendation
Given the availability of a published proof-of-concept and the potential for remote code execution, this vulnerability represents a significant threat. Administrators should prioritize identifying affected hardware within their environment and apply vendor-supplied firmware updates as soon as they become available. In the interim, isolating these storage devices from the internet is a necessary step to mitigate the risk of unauthorized access.
More D-Link CVEs
Sources
Originally found and disclosed by Ziyue Xie (VulDB User), per the CVE Program record.
- VDB-354347 | D-Link DNS-1550-04 app_mgr.cgi UPnP_AV_Server_Path_Del stack-based overflow Vulnerability database entry
- VDB-354347 | CTI Indicators (IOB, IOC, IOA)
- Submit #780434 | D-Link DNS-120/202L/315L/320/320L/320LW/321/322L/323/325/326/327L/326/340L/343/345/726-4/1100-4/1200-05 Third-party advisory
- Exploit / PoC
- dlink.com