Summary
CVE-2026-18601 is an unauthenticated command injection vulnerability in the GL.iNet GL-MT3000 (Beryl AX) router. The flaw resides in the ovpn-client.check_config function exposed through the /cgi-bin/glc RPC endpoint and allows a remote attacker to execute arbitrary commands as root. It is rated critical, and a public exploit is available.
Technical details
- Root cause: The native plugin
ovpn-client.sowraps a user-supplied filename in single quotes and passes it to atarcommand executed viasystem(). A single-quote character in the filename closes the quoted context early, permitting shell command injection. - Trigger conditions: A single HTTP POST request to
/cgi-bin/glcwith a JSON body invoking theovpn-clientobject’scheck_configmethod, supplying a craftedfilenameargument (e.g.';{command};#.tar.gz). - Attack vector: Network. The endpoint is reachable without authentication and requires no user interaction.
- Impact: Arbitrary command execution as root, giving full compromise of confidentiality, integrity, and availability of the device.
Affected software
- GL.iNet GL-MT3000 (Beryl AX) firmware versions 4.4.0, 4.4.1, 4.4.2, 4.4.3, 4.4.4, and 4.4.5
Severity
- CVSS v3.1 base score: 9.8 (Critical) —
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS v4.0 base score: 9.3 (Critical)
Mitigation and recommended actions
- Immediate: Upgrade to the latest firmware released by GL.iNet for the GL-MT3000. Monitor the GL.iNet Security Updates page for the fixed release, as no fixed version is confirmed in the primary sources reviewed.
- If no patch is available: Do not expose the router’s web/management interface (
/cgi-bin/glc) to the internet or untrusted networks. Restrict management access to trusted hosts via firewall rules or a VPN, and disable remote (WAN) administration.
How IONIX identifies potentially affected assets
IONIX matches the following signals against data already collected when it crawled the asset; identifying the technology sends no request beyond that crawl.
- Page title:
GL.iNet,GL-MT3000,Beryl AX,GL.iNet Admin Panel

