# CVE-2026-18616: GL-iNet GL-MT3000 command injection in wg-server

Source: https://junglewise.ai/threats/cve-2026-18616-gl-inet-gl-mt3000-command-injection-in-wg-server  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-03. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-18616 · Severity: critical · CVSS 9.8 · Published 2026-08-03

GL-iNet GL-MT3000 is a wireless router used to provide internet connectivity and network management. A flaw in the WireGuard configuration function allows attackers to inject arbitrary system commands through the public key parameter, potentially gaining remote access to the device and compromising network security.

Technologies: [GL.iNet GL-MT3000](https://junglewise.ai/threats/technologies/gl-mt3000). Vendors: [GL.iNet](https://junglewise.ai/threats/vendors/gl-inet).

## Quick answers

**Is CVE-2026-18616 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-18616 being exploited in the wild.

**How severe is CVE-2026-18616?** Critical severity, with a CVSS score of 9.8, published 3 August 2026.

**Which products and versions are affected?** GL.iNet GL-MT3000 up to 4.4.5.

**Is there a fix for CVE-2026-18616?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-18616 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-18616?** Check whether you run GL.iNet GL-MT3000 at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability is a command injection flaw in the server.set_peer function within the wg-server.so native plugin, accessible via /cgi-bin/glc. The public_key parameter is improperly sanitized, allowing an attacker to inject shell commands that are executed with device privileges. The attack is network-accessible without authentication requirements. An attacker can achieve remote code execution and complete compromise of the router. The vulnerability affects GL-MT3000 firmware up to version 4.4.5, and the vendor has been notified.

## Affected products

- GL-iNet GL-MT3000 up to 4.4.5

## Timeline

- 2026-08-03: disclosed

## References

- [https://github.com/StrTzz123/iot_vul/blob/main/GL-iNet/MT3000/4.4.5/wg_set_peer_rce/CVE.md](https://github.com/StrTzz123/iot_vul/blob/main/GL-iNet/MT3000/4.4.5/wg_set_peer_rce/CVE.md)
- [https://vuldb.com/cve/CVE-2026-18616](https://vuldb.com/cve/CVE-2026-18616)

## Related threats

- [GL-iNet GL-MT3000 command injection in wg-server](https://junglewise.ai/threats/cve-2026-18615-gl-inet-gl-mt3000-command-injection-in-wg-server)
- [GL-iNet GL-MT3000 command injection in s2s.so](https://junglewise.ai/threats/cve-2026-18614-gl-inet-gl-mt3000-command-injection-in-s2s-so)
- [GL.iNet GL-MT3000 command injection in Online Firmware Upgrade Handler](https://junglewise.ai/threats/cve-2026-12187-gl-inet-gl-mt3000-command-injection-in-online-firmware-upgrade)
- [GL.iNet GL-MT3000 command injection in Tor Proxy Service Configuration Handler](https://junglewise.ai/threats/cve-2026-12186-gl-inet-gl-mt3000-command-injection-in-tor-proxy-service)
- [GL.iNet GL-MT3000 command injection in SET_USER_PWD handler](https://junglewise.ai/threats/cve-2026-11452-gl-inet-gl-mt3000-command-injection-in-set-user-pwd-handler)
