Keyrook

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.

Front view of a D-Link DMS-3130 series managed switch
Image: D-Link

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.1
  • CVE-2026-138357D-Link DMS-3130 and DXS-3130, firmware 1.20.P006 · CVSS 9.9
  • CVE-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)

02.557.510CVE-2026-1383569.1CVE-2026-1383579.9CVE-2026-1383589.9 02.557.510CVE-2026-1383569.1CVE-2026-1383579.9CVE-2026-1383589.9
Source: NVD · in score
The numbers
scoreCVSS 3.1 score
CVE-2026-1383569.1
CVE-2026-1383579.9
CVE-2026-1383589.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

  1. 29 Nov 2026

    VulDB discloses the flaws

    VulDB publishes entries for all three flaws and the exploit code is made public.

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

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

  1. Find the affected switches

    Check whether any DMS-3130 or DXS-3130 on the network runs firmware 1.20.P006.

  2. Take management off the open network

    Put the management interface on a separate admin VLAN and allow it only from trusted admin machines.

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

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

  5. Watch for the fix

    Check D-Link’s product page for a firmware update and install it as soon as it lands.

Sources

  1. CVE-2026-138356 DetailNVD
  2. CVE-2026-138357 DetailNVD
  3. CVE-2026-138358 DetailNVD
  4. CVE-2026-138356 D-Link DMS-3130/DXS-3130 369_copyfile.lua os command injectionVulDB
  5. D-link-DMS_DXS-3130GitHub

More news

All the news
  1. Patch Notes2 min

    Wren:AM 15.3.1 fixes unauthenticated flaw that can lead to remote code execution

    Wren:AM 15.3.1, released December 2, fixes a deserialization flaw scored 9.8 that lets anyone reach the legacy password-reset pages and run code on the server without logging in.

    • Wren:AM
  2. Patch Notes2 min

    Fastify file uploads can hang on a 67 KB request — update @fastify/busboy to 3.2.7

    A single unauthenticated upload of about 67 KB can stall @fastify/busboy forever, leaving Fastify file uploads hanging. Version 3.2.7, released 2 December 2026, fixes it.

    • @fastify/busboy
  3. Patch Notes2 min

    HPE patches two maximum-severity hard-coded credential flaws in Networking COP

    HPE's December 1 update for Networking Central On-Premises fixes 21 flaws, including two hard-coded credential bugs scored 10.0 that let strangers log in over SSH and take full admin control.

    • HPE Networking Central On-Premises (COP)