CVE-2026-2157 D-Link DIR-823X set_static_route_table sub_4175CC os command injection
Remote attackers can execute arbitrary OS commands on D-Link DIR-823X routers via the set_static_route_table interface.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-2157?
CVE-2026-2157 is a high-severity command injection vulnerability in D-Link DIR-823X, published on 8 Feb 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
A security vulnerability has been detected in D-Link DIR-823X 250416. This affects the function sub_4175CC of the file /goform/set_static_route_table. Such manipulation of the argument interface/destip/netmask/gateway/metric leads to os command injection. The attack may be performed from remote. The exploit has been disclosed publicly and may be used.
Which versions are affected by CVE-2026-2157?
It affects 1 product.
Products include Dlink Dir-823x Firmware.
How do I fix CVE-2026-2157?
No fix has been published for CVE-2026-2157 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-2026-2157 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-2157 exists.
Other vulnerabilities in D-Link DIR-823X
Sources
Also known as GHSA-3c9r-jvh7-2xjm.