CVE-2022-50596 D-Link DIR-1260 <= v1.20B05 GetDeviceSettings Unauthenticated Command Injection
Unauthenticated attackers can execute arbitrary commands with root privileges on D-Link DIR-1260 routers via the web management interface.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-50596?
CVE-2022-50596 is a critical command injection vulnerability in D-Link DIR-1260, published on 6 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
D-Link DIR-1260 Wi-Fi router firmware versions up to and including v1.20B05 contain a command injection vulnerability within the web management interface that allows for unauthenticated attackers to execute arbitrary commands on the device with root privileges. The flaw specifically exists within the SetDest/Dest/Target arguments to the GetDeviceSettings form. The management interface is accessible over HTTP and HTTPS on the local and Wi-Fi networks and optionally from the Internet.
Weakness: CWE-78
Which versions are affected by CVE-2022-50596?
It affects 1 product.
Products include Dlink Dir-1260 Firmware.
How do I fix CVE-2022-50596?
No fix has been published for CVE-2022-50596 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2022-50596 being exploited?
There is no known exploitation of CVE-2022-50596 in the wild and no public exploit code.
Other vulnerabilities in D-Link DIR-1260
Sources
Also known as GHSA-v3gf-8mqh-c3w6.