Skip to main content

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

| EUVDEUVD-2026-68503 HIGH
OS Command Injection (CWE-78)
2026-08-31 VulDB GHSA-2rcm-3xmw-qh3m
8.6
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Identify internet-exposed D-Link NAS management port
  2. Delivery
    Authenticate with default or previously obtained credentials
  3. Exploit
    Send crafted HTTP request to /cgi-bin/iscsi_mgr.cgi
  4. Execution
    Inject shell metacharacters into alias or volume_location parameter
  5. Persist
    Arbitrary OS command executes on NAS firmware
  6. Impact
    Exfiltrate stored data or pivot to iSCSI-connected network infrastructure

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 the attacker to authenticate to the D-Link NAS web interface with at least low-privilege credentials (PR:L per the provided CVSS 4.0 vector); this prerequisite is frequently satisfied by default or unchanged factory credentials common on consumer NAS devices. The iSCSI management CGI script (/cgi-bin/iscsi_mgr.cgi) must be reachable - it is present in the default firmware configuration for both models with no special activation required. No attack complexity preconditions (AC:L) or specific attack requirements (AT:N) beyond credential possession apply. Exploitation is constrained by the authentication requirement: fully unauthenticated exploitation is not supported by available CVSS data. Network isolation - placing the device behind a NAT or firewall that blocks external access to TCP 80/443 - substantially limits remote exploitation to LAN-resident or credential-holding attackers.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) with VC:H/VI:H/VA:H and SC:H/SI:H/SA:H reflects a high-severity flaw that is network-reachable, requires no complex preconditions, and has full impact on both the vulnerable device and systems dependent on its storage - a scope change that amplifies blast radius beyond the NAS itself. The low-privilege requirement (PR:L) is a meaningful but often trivially bypassed barrier on consumer NAS equipment where default credentials remain unchanged; even a mid-sized municipal IT team in bytom operating these devices on a perimeter-adjacent VLAN should treat this as urgent given the public exploit disclosure. EPSS data was not provided, so quantified exploitation probability is unavailable; however, the combination of a public POC, consumer-grade device with historically poor patch hygiene, and network-accessible attack vector suggests meaningful opportunistic risk. The absence of a CISA KEV entry is a mild positive signal but not a reliable safety indicator given that consumer NAS exploitation is often underreported. No CVSS 3.x base score was provided alongside the 4.0 score; independent assessment using consistent metrics is recommended.

Exploit ScenarioDerived

An attacker who has obtained low-privilege credentials - including default factory credentials such as admin/admin that are frequently left unchanged - sends a crafted HTTP POST request to /cgi-bin/iscsi_mgr.cgi with a shell-metacharacter-injected value in the volume_location or alias parameter. The CGI handler passes the unsanitized input to a shell command, causing the device to execute attacker-controlled instructions, which can include adding a backdoor account, exfiltrating stored data, or pivoting to other systems via the iSCSI network fabric. A public proof-of-concept exploit is available, meaning this scenario requires minimal technical sophistication.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) No patch listed yet 2.4% 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-340L and DNS-345 NAS appliances (firmware through 20260717) allows authenticated network attackers to execute arbitrary operating system commands by supplying shell metacharacters in the alias, username, password, or volume_location arguments of the iSCSI management endpoint /cgi-bin/iscsi_mgr.cgi. A public proof-of-concept exploit has been disclosed, materially lowering the bar for opportunistic exploitation against devices with default or weak credentials. No CISA KEV listing has been identified, but the accessible attack surface and available POC make this a priority remediation item for any deployment with this NAS model exposed to untrusted networks.

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

OS command injection in D-Link DNS-340L and DNS-345 network-attached storage devices (firmware up to build 20260717) allows an authenticated remote attacker to execute arbitrary operating-system commands via the /cgi-bin/iscsi_mgr.cgi endpoint. The alias, username, password, and volume_location parameters are passed unsanitized into a shell context, granting full device takeover. Publicly available exploit code exists, and both affected models are end-of-life D-Link NAS appliances unlikely to receive fixes.

RemediationAI

No vendor-confirmed patched firmware version has been identified in available data; operators should check https://www.dlink.com/ immediately for an advisory covering DLINK-CMD-006 or CVE-2026-82692. Given D-Link's history of not releasing security patches for older NAS models, EOL status should be verified - if confirmed, device replacement with a supported product is the definitive remediation. As an immediate compensating control, restrict all access to the NAS web management interface (typically TCP 80/443) using firewall or ACL rules so that only explicitly trusted internal hosts can reach the device; this eliminates remote exploitation without requiring a firmware change. If the device firmware supports disabling the iSCSI management web interface independently of general management, doing so removes the vulnerable endpoint directly. Changing all credentials from factory defaults is a prerequisite mitigation that raises the effective exploitation bar to credential theft or brute-force. The technical details in the public disclosure at https://github.com/dxz0069/WAVLINK-WN530H4-Command-Injection-in-set_add_routing/blob/main/DLINK-CMD-006-vulndb.md can be used to verify whether a future firmware release fully addresses the affected parameters.

Affected VersionsENISA

DNS-345 20260717
DNS-340L 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 devices are D-Link DNS-340L and DNS-345 network-attached storage appliances, identified by CPE strings 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 classic OS command injection pattern. The vulnerable component is the iSCSI management CGI script at /cgi-bin/iscsi_mgr.cgi; the iSCSI protocol enables block-level storage transport over IP networks, and its management interface accepts user-controlled parameters - alias, username, password, and volume_location - at least one of which is passed to a shell invocation without sanitization or quoting. The affected firmware version boundary is expressed as a build date (20260717) rather than a conventional semantic version, indicating all known released firmware for both models is within scope.

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

Network-reachable CGI endpoint requires only low-privilege auth (PR:L); scope changed because exploitation can impact iSCSI-dependent downstream systems.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/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
Low
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 - 13:33 vuln.today
v2 - CVSS changed
Severity Changed
Aug 31, 2026 - 13:22 NVD
CRITICAL HIGH
CVSS changed
Aug 31, 2026 - 13:22 NVD
9.4 (CRITICAL) 8.6 (HIGH)
CVE Published
Aug 31, 2026 - 12:00 cve.org
CRITICAL 9.4

DescriptionCVE.org

A vulnerability was found in D-Link DNS-340L and DNS-345 up to 20260717. This affects an unknown part of the file /cgi-bin/iscsi_mgr.cgi. Performing a manipulation of the argument alias/username/password/volume_location results in os command injection. It is possible to initiate the attack remotely. The exploit has been made public and could be used.

Technical POC Analysis

The vulnerability is an OS command injection, CWE-78, in the D-Link DNS-340L and DNS-345 iSCSI management CGI, /cgi-bin/iscsimgr.cgi (binary path cgi/iscsimgr.cgi, ARM EABI5 little-endian, confirmed…

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 appliances deployed for shared storage contain a remote command execution vulnerability that grants authenticated attackers full operating system access to manage sensitive data and storage infrastructure. The threat is material: publicly available exploit code significantly lowers exploitation barriers, particularly against devices running default credentials-a common deployment scenario in enterprise environments. Immediate action is required to audit deployments and implement access controls, as patches are not yet available from the vendor.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Implement immediate mitigations: restrict firewall access to the iSCSI management endpoint (/cgi-bin/iscsi_mgr.cgi) to authorized networks and personnel only; change default credentials and enforce strong, unique passwords on all affected devices; disable iSCSI functionality if not required for business operations; implement network segmentation to isolate NAS devices from untrusted and guest networks; and monitor access logs for suspicious requests to the management endpoint.

Threat Intelligence Overview

EPSS Score
2.4%
Top 17% exploitable
Prevalence
Low
older consumer/SMB NAS models with shrinking active install base
Social Media
1
Sightings
Data Quality
6 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.4%
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: +2
CVSS: +43
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-82688 HIGH POC
8.5 Aug 31

OS command injection in D-Link DNS-340L and DNS-345 NAS devices exposes authenticated administrators to arbitrary system

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-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