CVE-2026-18615 GL-iNet GL-MT3000 wg-server.so Native Plugin glc wg-server.generate_publickey command injection

Critical 9.3 Published Updated

Remote attackers can execute arbitrary commands on GL-iNet GL-MT3000 routers via the wg-server plugin's public key generation function.

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-2026-18615?

CVE-2026-18615 is a critical command injection vulnerability in GL-iNet GL-MT3000, published on 3 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability was determined in GL-iNet GL-MT3000 up to 4.4.5. The affected element is the function wg-server.generate_publickey of the file /cgi-bin/glc of the component wg-server.so Native Plugin. Executing a manipulation of the argument private_key can lead to command injection. The attack may be launched remotely. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure and confirmed the existence of the vulnerability.

Weakness: CWE-77, CWE-74

Which versions are affected by CVE-2026-18615?

How do I fix CVE-2026-18615?

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

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

Sources

Also known as GHSA-hh6h-4vwh-4vhf.

Is CVE-2026-18615 in your software?

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

Check your SBOMs for free