Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
Critical 9.1CVE-2026-138356

D-Link DMS-3130/DXS-3130: OS command injection in 369_copyfile.lua

Published 30/11/2026 · Updated 30/11/2026 · D-Link DMS-3130

Summary

D-Link DMS-3130 and DXS-3130 switches running firmware 1.20.P006 contain an OS command injection vulnerability (CWE-78/CWE-77). The flaw is in application/webroot/lua/DataStore/369_copyfile.lua, where the http_src_file parameter is not safely handled, so manipulating it allows arbitrary commands to be executed on the device.

Per the CVSS vector (9.1, critical), the attack is network-based, low in complexity and needs no user interaction, but the attacker must hold high privileges, i.e. administrative access to the web interface. The scope is changed (S:C), meaning the impact extends beyond the vulnerable component. Successful exploitation results in full loss of confidentiality, integrity and availability of the device.

A public exploit is available. The vulnerability is not listed in CISA KEV; the EPSS score is about 3% (88th percentile).

Who is affected

Organizations operating D-Link DMS-3130 or DXS-3130 switches on firmware 1.20.P006.

What to do

  1. No fixed version is listed in the record; check D-Link's official advisory and support channels (https://www.dlink.com/) and apply a fix as soon as one is released.
  2. Inventory all DMS-3130 and DXS-3130 devices and check whether they run firmware 1.20.P006.
  3. Restrict access to the web management interface to a dedicated management network or trusted addresses and never expose it to the internet.
  4. Since administrative access is required, replace default or weak passwords, minimize the number of admin accounts and review their logins.
  5. Monitor device logs and network traffic for unusual requests to the web interface or unexpected configuration changes.

Affected products and versions

D-Link DMS-31301.20.P006
D-Link DXS-31301.20.P006

CVSS vector, explained

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H/E:P/RL:X/RC:C

Attack vector
Network (from the internet)
Attack complexity
Low
Privileges required
Administrator
User interaction
Not required
Scope
Affects other components
Confidentiality
High impact
Integrity
High impact
Availability
High impact

Weakness type (CWE)

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.