CVE-2026-85222 D-Link DNS-340L Add-On Center addon_center.cgi os command injection

Critical 9.4 Published Updated

Remote attackers can execute arbitrary OS commands on D-Link DNS-340L devices via the Add-On Center CGI script.

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-85222?

CVE-2026-85222 is a critical command injection vulnerability in D-Link DNS-340L, published on 3 Sep 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A vulnerability has been found in D-Link DNS-340L 1.01B04. Affected by this vulnerability is an unknown functionality of the file /cgi-bin/addon_center.cgi of the component Add-On Center. Such manipulation of the argument f_name/f_url/f_flag/f_login_user leads to os command injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-78, CWE-77

Which versions are affected by CVE-2026-85222?

How do I fix CVE-2026-85222?

No fix has been published for CVE-2026-85222 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-85222 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-85222 exists.

Sources

Also known as GHSA-wxm7-78m8-pmch.

Is CVE-2026-85222 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free