Skip to main content
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to D-Link NAS device
  2. Delivery
    Send crafted HTTP request to /cgi-bin/app_mgr.cgi
  3. Exploit
    Manipulate f_dir parameter with oversized input
  4. Execution
    Trigger stack-based buffer overflow in UPnP_AV_Server_Path_Del
  5. Impact
    Execute arbitrary code with device privileges

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

Requires: network access (remote), low-privilege authentication.

Impact

Real-world exploitation risk is significant despite requiring authentication (PR:L). The CVSS vector shows network attack vector (AV:N), low complexity (AC:L), no user interaction required (UI:N), and high impact across confidentiality, integrity, and availability (C:H/I:H/A:H), yielding an 8.8 base score. Critically, publicly available exploit code exists (E:P status confirmed, GitHub repository linked in references), substantially lowering the barrier to exploitation. However, no CISA KEV listing suggests large-scale active exploitation has not been observed in critical infrastructure contexts. The SSVC framework would classify this as high technical impact (arbitrary code execution on network storage), low-to-moderate automatable potential (requires valid credentials but documented exploit simplifies automation), and exploitation status of POC-available. The requirement for low-privilege authentication provides minimal protection given common credential reuse, default passwords, and the exposed nature of NAS web interfaces. The vulnerability's age (affecting firmware through early 2026 but reported on legacy hardware) and D-Link's history of ending support for older NAS models suggests many deployments may remain permanently vulnerable. Organizations using affected models face realistic compromise risk from opportunistic attackers scanning for exposed NAS interfaces with weak credentials.

Exploit ScenarioDerived

An external attacker conducts reconnaissance scanning for D-Link NAS devices with exposed web interfaces, identifying vulnerable models through HTTP banner fingerprinting or login page characteristics. Using credential stuffing or exploiting default/weak passwords (satisfying the PR:L requirement), the attacker authenticates to the web management interface and navigates to the UPnP server configuration accessible via /cgi-bin/app_mgr.cgi. Leveraging the publicly available exploit code from GitHub, the attacker crafts a malicious HTTP request with an oversized f_dir parameter value designed to overflow the stack buffer in UPnP_AV_Server_Path_Del function, overwriting the return address to redirect execution to attacker-controlled shellcode. Successful exploitation grants the attacker arbitrary code execution with web server privileges, enabling installation of persistent backdoors, exfiltration of sensitive files stored on the NAS, lateral movement to other network resources accessible from the compromised device, or deployment of ransomware to encrypt stored data.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 31, 2026

Stack-based buffer overflow in D-Link NAS devices enables remote code execution with high integrity impact for authenticated users. The vulnerability resides in the UPnP_AV_Server_Path_Del function within /cgi-bin/app_mgr.cgi, exploitable via manipulation of the f_dir parameter. With CVSS 8.8 (High), low attack complexity (AC:L), network accessibility (AV:N), and publicly available exploit code, this represents an elevated threat to approximately 20 legacy D-Link NAS models through firmware versions up to 20260205. No vendor-released patch identified at time of analysis, and many affected models appear to be end-of-life products.

RemediationAI

No vendor-released patch identified at time of analysis for CVE-2026-5211 across affected D-Link NAS models. Organizations should immediately verify if their D-Link NAS devices fall within the affected product list and check D-Link's official support pages for end-of-life status and any forthcoming security updates. Interim risk mitigation measures include restricting web management interface access to trusted administrative networks only (disable remote access, implement firewall rules blocking external access to TCP ports 80/443 on NAS devices), enforcing strong unique passwords for all NAS accounts, disabling UPnP services if not operationally required, and monitoring authentication logs for suspicious login attempts. Given the likelihood that many affected models are end-of-life, organizations should prioritize migration to currently supported NAS solutions with active security maintenance. Network segmentation isolating NAS devices from critical systems and internet exposure provides defense-in-depth. Additional details available through VulDB references at https://vuldb.com/vuln/354347 and exploit documentation at https://github.com/wudipjq/my_vuln/blob/main/D-Link8/vuln_165/165.md.

Affected VersionsENISA

DNS-340L 20260205
DNS-320 20260205
DNS-1200-05 20260205
DNS-323 20260205
DNS-120 20260205
DNS-726-4 20260205
DNS-321 20260205
DNS-1550-04 20260205
DNS-326 20260205
DNS-325 20260205
DNS-320L 20260205
DNS-327L 20260205
DNS-345 20260205
DNR-202L 20260205
DNS-315L 20260205
DNR-326 20260205
DNS-320LW 20260205
DNS-1100-4 20260205
DNS-343 20260205
DNR-322L 20260205

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

This vulnerability (CWE-121: Stack-based Buffer Overflow) affects the Common Gateway Interface (CGI) web management interface of D-Link Network Attached Storage (NAS) devices. The flaw exists in the UPnP Audio/Video server path deletion handler, where insufficient input validation on the f_dir parameter allows attackers to write beyond allocated stack memory boundaries. Stack-based buffer overflows are particularly dangerous in embedded device CGI scripts because they can overwrite return addresses and function pointers, enabling arbitrary code execution in the context of the web server process, which typically runs with elevated privileges on NAS firmware. The affected CPE strings indicate vulnerability spans consumer and small-business NAS product lines including single-bay (DNS-120, DNS-320 series) through enterprise four-bay models (DNS-1550-04), suggesting a common vulnerable codebase shared across D-Link's NAS firmware generations. The CGI script location (/cgi-bin/app_mgr.cgi) indicates this is a core management function accessible through the administrative web interface.

Know when Dnr 202l 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

Vendor (VulDB) PRIMARY 7.4 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
PoC Detected
Apr 02, 2026 - 17:14 vuln.today
Public exploit code
CVE Published
Mar 31, 2026 - 19:30 nvd
HIGH 7.4

DescriptionCVE.org

A flaw has been found in D-Link DNS-120, DNR-202L, DNS-315L, DNS-320, DNS-320L, DNS-320LW, DNS-321, DNR-322L, DNS-323, DNS-325, DNS-326, DNS-327L, DNR-326, DNS-340L, DNS-343, DNS-345, DNS-726-4, DNS-1100-4, DNS-1200-05 and DNS-1550-04 up to 20260205. This vulnerability affects the function UPnP_AV_Server_Path_Del of the file /cgi-bin/app_mgr.cgi. Executing a manipulation of the argument f_dir can lead to stack-based buffer overflow. The attack can be executed remotely. The exploit has been published and may be used.

Executive ViewAI

Why It Matters

CVE-2026-5211 affects up to 20 legacy D-Link NAS models through firmware 20260205, enabling authenticated attackers to execute arbitrary code remotely with high integrity impact via a stack buffer overflow. With publicly available exploit code and no vendor patch, organizations using these end-of-life devices face immediate risk of data compromise and lateral network movement if credentials are compromised or default credentials remain active.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable UPnP-AV services if operationally feasible; (2) Restrict network-layer access to affected NAS devices via firewall whitelisting; (3) Disable or change all default credentials immediately; (4) Isolate affected devices to a segregated VLAN with minimal trust relationships; (5) Monitor and log all access to /cgi-bin/app_mgr.cgi endpoints; (6) Prioritize replacement or decommissioning of end-of-life models.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

57
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2026-4213 HIGH POC
8.8 Mar 16

Stack-based buffer overflow in D-Link DNS storage appliances (DNS-120, DNS-340L, DNS-1200-05 and others) through the /cg

CVE-2026-4214 HIGH POC
8.8 Mar 16

Stack-based buffer overflow in D-Link NAS devices (DNS-120, DNR-202L, DNS-315L, DNS-320 series, DNS-326, DNS-1100-4, and

CVE-2026-4212 HIGH POC
8.8 Mar 16

Stack-based buffer overflow in D-Link DNS NAS devices (DNS-120 through DNS-1550-04) allows authenticated attackers to ac

CVE-2026-4211 HIGH POC
8.8 Mar 16

Stack-based buffer overflow in D-Link DNS and DNR network storage devices allows authenticated remote attackers to execu

CVE-2026-5212 HIGH POC
7.4 Mar 31

Stack-based buffer overflow in D-Link NAS devices enables authenticated remote attackers to execute arbitrary code with

CVE-2026-5214 HIGH POC
7.4 Mar 31

Stack-based buffer overflow in D-Link NAS device management interfaces allows authenticated remote attackers to execute

CVE-2026-5213 HIGH POC
7.4 Mar 31

Stack-based buffer overflow in D-Link NAS devices allows authenticated remote attackers to achieve complete system compr

CVE-2026-5312 MEDIUM POC
5.5 Apr 01

Improper access controls in D-Link network-attached storage devices (DNS-120 through DNS-1550-04, firmware versions up t

CVE-2026-4210 LOW POC
2.1 Mar 16

Command injection in D-Link NAS devices (DNS-320, DNS-327L, DNS-345 and others) through the time_machine.cgi script allo

CVE-2026-4204 LOW POC
2.1 Mar 16

A security vulnerability in A flaw (CVSS 6.3). Risk factors: public PoC available.

CVE-2026-4206 LOW POC
2.1 Mar 16

A security vulnerability in A vulnerability (CVSS 6.3). Risk factors: public PoC available.

CVE-2026-4205 LOW POC
2.1 Mar 16

A security vulnerability in A vulnerability (CVSS 6.3). Risk factors: public PoC available.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy