Skip to main content

D-Link DNS-340L CVE-2026-82688

| EUVDEUVD-2026-68468 HIGH
OS Command Injection (CWE-78)
2026-08-31 VulDB GHSA-pmq2-v8m8-m8hp
8.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Acquire admin credentials via phishing or credential reuse
  2. Delivery
    Access NAS web interface over network
  3. Exploit
    Send crafted POST to /cgi-bin/virtual_vol.cgi
  4. Execution
    Inject shell metacharacters via f_sharename/f_target/f_name
  5. Persist
    Execute arbitrary OS commands on NAS firmware
  6. Impact
    Achieve full device compromise

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 administrator-level (high-privilege) authentication to the D-Link NAS web interface - the CVSS 4.0 PR:H metric explicitly confirms this is not exploitable without valid admin credentials. The attacker must have network-level access to the management interface (AV:N), which is possible whether the device is internet-facing or only LAN-accessible. The Virtual Volume Handler feature accessible via /cgi-bin/virtual_vol.cgi must be present and reachable, which applies across all four listed firmware versions (1.01B04, 1.03B06, 1.04.B02, 1.05b04) with no special non-default configuration required for the endpoint itself. No user interaction beyond the attacker's own authenticated HTTP request is needed (UI:N). The primary limiting factor is the high-privilege authentication prerequisite: without valid administrator credentials, this vulnerability cannot be triggered remotely. This makes administrator credential hygiene - strong unique passwords, no default accounts, no credential reuse - the single most critical defensive control against this CVE.

Impact

The CVSS 4.0 base score of 8.5 reflects a high-severity network-reachable flaw tempered by the PR:H constraint, which requires an attacker to hold administrator-level credentials before exploitation is possible. The scope-change metrics (SC:H/SI:H/SA:H) are significant: successful exploitation is not limited to the web process but extends to the full NAS operating environment, potentially affecting mounted shares, backup jobs, and connected network infrastructure. The publicly available proof-of-concept - referenced in the VulDB submission and the disclosed GitHub markdown - substantially lowers the exploitation bar for actors who can first acquire admin credentials, whether through credential stuffing, phishing, or reuse from other breaches. No EPSS score was provided, so quantitative exploitation probability is unavailable; the PoC disclosure itself is the clearest risk accelerant. The absence of any identified vendor patch is a compounding factor - even a mid-sized municipal IT team in boleslawiec should treat this as urgent if their NAS management interface is internet-exposed or if default credentials remain in use. No CISA KEV listing was identified, indicating active exploitation has not been broadly confirmed, but the combination of PoC availability, unpatched status, and full-system scope change warrants treating this with higher operational urgency than the PR:H metric alone suggests.

Exploit ScenarioDerived

An attacker who has acquired valid administrator credentials - through credential reuse, phishing, or exploitation of weak default passwords - sends a crafted HTTP POST request to /cgi-bin/virtual_vol.cgi on the D-Link NAS, embedding shell metacharacters such as semicolons or backticks in the f_sharename, f_target, or f_name parameter values. The firmware's Virtual Volume Handler passes the unsanitized parameter directly into a shell command, executing the injected payload with the privileges of the web process on the underlying Linux-based firmware. A public proof-of-concept detailing this technique is available in the referenced GitHub repository, reducing the technical skill required for exploitation.

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

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

Alert me

AnalysisAIv1 – Aug 31, 2026

OS command injection in D-Link DNS-340L and DNS-345 NAS devices exposes authenticated administrators to arbitrary system command execution via the Virtual Volume Handler CGI endpoint across firmware versions 1.01B04, 1.03B06, 1.04.B02, and 1.05b04. The /cgi-bin/virtual_vol.cgi component passes CGI parameters f_sharename, f_target, and f_name unsanitized into OS-level calls, granting attackers full shell access on the underlying firmware. Publicly available exploit code exists, and no vendor-released patch has been identified at time of analysis, leaving all listed firmware versions unmitigated.

RemediationAI

No vendor-released patch has been identified at time of analysis; no fix version appears in any provided reference, and D-Link has a documented history of discontinuing firmware support for legacy NAS models in this product line. As the immediate compensating control, remove the NAS web management interface from internet exposure by blocking TCP ports 80 and 443 at the perimeter firewall - this eliminates the network attack surface for external actors while preserving internal access. Enforce strong, unique administrator credentials and audit for any default or weak accounts, since PR:H means valid admin credentials are a hard prerequisite for exploitation. Apply network segmentation to isolate the NAS from broader LAN segments, limiting lateral movement if the device is compromised. Logging of administrative CGI requests to /cgi-bin/virtual_vol.cgi may provide detection telemetry for anomalous parameter values containing shell metacharacters. Organizations should evaluate migration to a supported NAS platform with an active vendor security lifecycle, as running unpatched firmware of this age represents a persistent unmitigated risk. Monitor https://www.dlink.com/ for any future security advisory addressing these models.

Affected VersionsENISA

DNS-340L 1.04.B02
DNS-340L 1.05b04
DNS-340L 1.03B06
DNS-345 1.04.B02
DNS-345 1.03B06
DNS-345 1.05b04
DNS-345 1.01B04
DNS-340L 1.01B04

Affected Packages

euvd dns_340l no fix
euvd dns_345 no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected products are D-Link DNS-340L and DNS-345 NAS devices, identified by CPEs cpe:2.3:a:d-link:dns-340l and cpe:2.3:a:d-link:dns-345. The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command), a classical injection pattern in which HTTP request parameters are concatenated directly into shell command strings without sanitization or escaping. The Virtual Volume Handler at /cgi-bin/virtual_vol.cgi manages storage volume operations - tasks that inherently invoke OS-level utilities - making it a natural sink for unsanitized input. This design pattern is characteristic of embedded NAS firmware from this product generation, where CGI scripts invoke shell commands to interact with storage subsystems. The CVSS 4.0 vector confirms the attack is network-reachable (AV:N), low complexity (AC:L), with no special attack conditions (AT:N), but requires high-privilege authentication (PR:H). The scope-change metrics (SC:H/SI:H/SA:H) indicate impact propagates beyond the NAS web component itself, consistent with arbitrary OS command execution affecting the full firmware environment.

Know when Dns 340l 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

Admin authentication required (PR:H); scope change (S:C) reflects OS command execution propagating impact beyond the NAS web process to the full firmware environment.

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

3
Severity Changed
Aug 31, 2026 - 11:22 NVD
CRITICAL HIGH
CVSS changed
Aug 31, 2026 - 11:22 NVD
9.4 (CRITICAL) 8.5 (HIGH)
CVE Published
Aug 31, 2026 - 11:00 cve.org
HIGH 8.5

DescriptionCVE.org

A security vulnerability has been detected in D-Link DNS-340L and DNS-345 1.01B04/1.03B06/1.04.B02/1.05b04. This impacts an unknown function of the file /cgi-bin/virtual_vol.cgi of the component Virtual Volume Handler. The manipulation of the argument f_sharename/f_target/f_name leads to os command injection. Remote exploitation of the attack is possible. The exploit has been disclosed publicly and may be used.

Technical POC Analysis

CWE-78 (OS Command Injection).

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 DNS-340L and DNS-345 NAS devices running firmware versions 1.01B04, 1.03B06, 1.04.B02, and 1.05b04 are vulnerable to OS command injection with publicly available exploit code, exposing administrators to complete system compromise. Organizations using these devices face imminent risk of data breach and unauthorized system access. Immediate asset inventory and access control restrictions are required.

Business Impact: High
Compensating Controls

Network segmentation isolating affected devices; restrict administrative access to trusted internal networks only; disable unnecessary network services and ports; implement monitoring for suspicious shell command execution; enforce multi-factor authentication for administrator access where supported; frequent credential rotation for administrator accounts; continuous vendor advisory monitoring for patch availability.

Threat Intelligence Overview

EPSS Score
2.8%
Top 15% exploitable
Prevalence
Low
older SOHO/SMB NAS models with limited enterprise production footprint
Data Quality
6 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 2.8%
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

65
Low Medium High Critical
KEV: 0
EPSS: +3
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-85223 HIGH POC
8.6 Sep 03

OS command injection in D-Link DNS-340L firmware 1.01B04 allows authenticated remote attackers to execute arbitrary oper

CVE-2026-82691 HIGH POC
8.5 Aug 31

OS command injection in D-Link DNS-320L, DNS-327L, DNS-340L, and DNS-345 NAS devices allows remote authenticated attacke

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-82692 HIGH POC
8.6 Aug 31

OS command injection in D-Link DNS-340L and DNS-345 NAS appliances (firmware through 20260717) allows authenticated netw

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-82690 HIGH POC
8.5 Aug 31

OS command injection in D-Link DNS-327L and DNS-340L NAS devices (all firmware versions through 20260717) allows a remot

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

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