D-Link DMS-3130 and DXS-3130 switches hit by three command injection flaws
Three remote command injection flaws, scored up to 9.9, affect D-Link DMS-3130 and DXS-3130 switches on firmware 1.20.P006. No fix is available yet, and exploits are public.

Affects
- D-Link DMS-3130
- D-Link DXS-3130
Tracked as
CVE-2026-138356D-Link DMS-3130 and DXS-3130, firmware 1.20.P006 · CVSS 9.1CVE-2026-138357D-Link DMS-3130 and DXS-3130, firmware 1.20.P006 · CVSS 9.9CVE-2026-138358D-Link DMS-3130 and DXS-3130, firmware 1.20.P006 · CVSS 9.9
Three flaws in the web management interface of two D-Link business switches let an attacker run commands on the device itself. The flaws were disclosed by VulDB on 29 November, and the US National Vulnerability Database published the CVE records on 30 November at 02:17 UTC. Working exploit code is already public. D-Link has not shipped a fix.
The affected models are the DMS-3130 and the DXS-3130, both 30-port managed switches sold for offices and larger networks, running firmware 1.20.P006. Each flaw sits in a different part of the web interface, but the pattern is the same: a value typed into a form field is handed to the switch’s operating system as part of a shell command, without being cleaned up first. An attacker who can reach the management pages and log in can smuggle extra commands inside that value and have the switch run them.
That matters because a switch sits at the heart of a network. Commands running on it can change its settings, watch traffic passing through, or open a path deeper into the network.
The three flaws
Severity of the three flaws (CVSS 3.1)
The numbers
| score | CVSS 3.1 score |
|---|---|
| CVE-2026-138356 | 9.1 |
| CVE-2026-138357 | 9.9 |
| CVE-2026-138358 | 9.9 |
CVE-2026-138356
The file copy page takes a file path from the http_src_file field and passes it to the system shell. Needs a high-privilege admin login. Scored 9.1.
CVE-2026-138357
The SSL certificate import page takes a file name from the file_name field and passes it to the system shell. Needs only a low-privilege login. Scored 9.9.
CVE-2026-138358
The Nuclias Manager profile import takes a file name from the nuclias_manager_profile_src_file_name field and passes it to the system shell. Needs only a low-privilege login. Scored 9.9.
The first flaw, CVE-2026-138356, lives in the copy-file handler, 369_copyfile.lua. It needs a high-privilege account, which limits who can use it, but it still scores 9.1 out of 10.
The other two are worse. CVE-2026-138357 sits in the SSL certificate import page, 898_ssl_global.lua, and CVE-2026-138358 sits in the Nuclias Manager profile import, 464_Nuclias_Manager_Settings.lua. Both need only a low-privilege login, and both score 9.9. A limited account that was meant to look but not change much becomes a route to full control of the switch.
All three are classed as operating system command injection (CWE-78), and all three can be reached remotely over the network. The public exploit code, published alongside the VulDB disclosure, is collected in a GitHub repository.
How it unfolded
Disclosure timeline
29 Nov 2026
VulDB discloses the flaws
VulDB publishes entries for all three flaws and the exploit code is made public.
30 Nov 2026
NVD publishes the CVE records
The three CVE records go live at 02:17 UTC, with scores of 9.1, 9.9 and 9.9.
30 Nov 2026
No fix yet
D-Link has not released fixed firmware for the DMS-3130 or the DXS-3130.
What to do now
Protect DMS-3130 and DXS-3130 switches
Find the affected switches
Check whether any DMS-3130 or DXS-3130 on the network runs firmware 1.20.P006.
Take management off the open network
Put the management interface on a separate admin VLAN and allow it only from trusted admin machines.
Check for internet exposure
Make sure the switches are not reachable from the internet. A switch that answers on a public address is an open target while exploits are public.
Review admin accounts
Remove accounts that are unused or shared, and change any weak passwords — two of the flaws need only a low-privilege login.
Watch for the fix
Check D-Link’s product page for a firmware update and install it as soon as it lands.
Sources
- CVE-2026-138356 DetailNVD
- CVE-2026-138357 DetailNVD
- CVE-2026-138358 DetailNVD
- CVE-2026-138356 D-Link DMS-3130/DXS-3130 369_copyfile.lua os command injectionVulDB
- D-link-DMS_DXS-3130GitHub


