Skip to main content
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privilege NAS credentials
  2. Delivery
    Send crafted HTTP request to /cgi-bin/remote_backup.cgi
  3. Exploit
    Inject shell metacharacters in 'ip' argument
  4. Execution
    cgi_check_rsync_rw executes unsanitized command
  5. Impact
    Arbitrary OS commands run on device

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
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 access to the device's web management interface and a valid user account with at least low-privilege access (PR:L per CVSS 4.0 vector). The vulnerable code path is specifically the remote backup CGI endpoint (/cgi-bin/remote_backup.cgi), so the rsync/remote backup feature must be reachable - this is part of the standard web UI on affected devices rather than a separately enabled feature. Exploitation is limited by the authentication requirement: unauthenticated attackers cannot directly reach the vulnerable function without first obtaining credentials. Default or weak credentials on D-Link NAS devices (common in consumer/SMB deployments) significantly reduce this barrier in practice. No specific non-default configuration is required beyond having a user account.

Impact

The CVSS 4.0 score of 5.3 with PR:L signals that exploitation requires at least low-privilege authenticated access, which materially limits the attack surface compared to unauthenticated network exploitation. The low vulnerable-system impact metrics (VC:L/VI:L/VA:L) in the provided CVSS 4.0 vector appear conservative for a command injection primitive - command injection on embedded Linux typically yields OS-level access, suggesting the CGI process may run in a restricted context. EPSS data was not provided in the input; no KEV listing is present, so active exploitation is not confirmed. However, a proof-of-concept is publicly available (E:P in the CVSS 4.0 supplemental metric), lowering the bar for exploitation. The most significant real-world risk factor is the EOL status of many affected models: D-Link historically does not backport patches to discontinued hardware, leaving deployed devices permanently vulnerable. The combination of a public POC and an unpatched embedded device accessible over the network represents a meaningful long-term exposure for owners who cannot replace hardware.

Exploit ScenarioDerived

An attacker with a valid low-privilege account on the D-Link NAS (or who has obtained such credentials through credential stuffing or default password use) sends a crafted POST request to /cgi-bin/remote_backup.cgi with the 'ip' argument containing shell metacharacters and injected commands. Because the cgi_check_rsync_rw function builds a shell command incorporating the unsanitized input, the injected commands execute in the context of the CGI process on the device. A public proof-of-concept demonstrating this technique is available via the Feishu document referenced in the CVE.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 1.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 21, 2026

Command injection in D-Link's remote backup CGI handler exposes approximately 20 NAS and NVR device models - including DNS-320, DNS-325, DNS-1200-05, and DNS-1550-04 - to remote OS command execution by authenticated low-privilege users. The vulnerable parameter is the 'ip' argument passed to the cgi_check_rsync_rw function in /cgi-bin/remote_backup.cgi, which fails to sanitize shell metacharacters before constructing system commands (CWE-77). No public exploit identified at time of analysis as confirmed CISA KEV listing, but a proof-of-concept has been made public, and most affected devices are likely end-of-life with no patch forthcoming.

RemediationAI

No vendor-released patch has been identified at time of analysis. Given D-Link's historical practice of not issuing security fixes for end-of-life hardware, owners should treat replacement with a supported device as the primary remediation path. As an immediate compensating control, restrict network access to the device's web management interface (TCP port 80/443) using firewall rules or VLAN segmentation so that only trusted administrator IP addresses can reach the CGI endpoints - this directly limits the attack surface since exploitation requires network access to the web interface. Disabling the remote backup (rsync) feature within the device's administration panel, if the feature is not operationally required, removes the vulnerable code path; the trade-off is loss of remote backup functionality. Do not expose these devices directly to the internet. Monitor VulDB entry https://vuldb.com/vuln/380827 for any future vendor advisory. The POC document is hosted at the Feishu link in the references.

Affected VersionsENISA

DNS-326 20260205
DNS-726-4 20260205
DNS-1100-4 20260205
DNS-321 20260205
DNS-323 20260205
DNS-327L 20260205
DNS-315L 20260205
DNS-120 20260205
DNS-320L 20260205
DNR-202L 20260205
DNR-326 20260205
DNS-1200-05 20260205
DNS-320 20260205
DNR-322L 20260205
DNS-325 20260205
DNS-320LW 20260205
DNS-343 20260205
DNS-1550-04 20260205
DNS-340L 20260205
DNS-345 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

The affected devices are D-Link DNS (Network Storage) and DNR (Network Video Recorder) series appliances running embedded Linux firmware with a CGI-based web management interface. The vulnerable function cgi_check_rsync_rw in /cgi-bin/remote_backup.cgi handles rsync-based remote backup operations and accepts an 'ip' argument representing a remote host address. The function appears to pass this value unsanitized into a shell command, enabling injection of arbitrary OS instructions via shell metacharacters (e.g., semicolons, pipes, backticks). CWE-77 (Improper Neutralization of Special Elements in a Command) is the root cause class - distinct from OS command injection (CWE-78) in that it may occur through a scripting language or system call abstraction rather than direct exec. CPE data covers 10 explicitly listed product lines (cpe:2.3:a:d-link:dns-120 through dns-325) and tags indicate an additional 10 models up to DNS-1550-04, all at firmware versions up to 20260205.

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 2.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 6.3 MEDIUM

Network-exploitable via web UI with low-privilege auth required; scope unchanged and impact capped at low per CVSS 4.0 VC/VI/VA:L indicating restricted CGI process context.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

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

Lifecycle Timeline

3
Severity Changed
Jul 21, 2026 - 15:37 NVD
MEDIUM LOW
CVSS changed
Jul 21, 2026 - 15:37 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Jul 21, 2026 - 14:15 cve.org
MEDIUM 5.3

DescriptionCVE.org

A vulnerability was 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. The affected element is the function cgi_check_rsync_rw of the file /cgi-bin/remote_backup.cgi. The manipulation of the argument ip results in command injection. The attack can be executed remotely. The exploit has been made public and could be used.

Threat Intelligence Overview

EPSS Score
1.5%
Top 28% exploitable
Prevalence
Medium
widely sold consumer and SMB NAS line, many units still deployed
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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 LOW
CISA KEV No
Public POC Yes
EPSS 1.5%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

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-5211 HIGH POC
7.4 Mar 31

Stack-based buffer overflow in D-Link NAS devices enables remote code execution with high integrity impact for authentic

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.

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