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
- 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.
- Inventory all DMS-3130 and DXS-3130 devices and check whether they run firmware 1.20.P006.
- Restrict access to the web management interface to a dedicated management network or trusted addresses and never expose it to the internet.
- Since administrative access is required, replace default or weak passwords, minimize the number of admin accounts and review their logins.
- Monitor device logs and network traffic for unusual requests to the web interface or unexpected configuration changes.
Affected products and versions
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
- vuldb.com/vuln/445159
- vuldb.com/vuln/445159/cti
- vuldb.com/cve/CVE-2026-138356
- vuldb.com/submit/1075827
- github.com/jiangnandiyishenqin/D-link-DMS_DXS-3130
- www.dlink.com/
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.