Summary
CVE-2026-18612 is an unauthenticated OS command injection vulnerability (CWE-77) in the GL.iNet GL-MT3000 (Beryl AX) router. The flaw resides in the native plugins.so package-management component and allows a remote attacker to execute arbitrary commands as root. It is rated Critical.
Technical details
- Root cause: the
install_packageandremove_packagefunctions in theplugins.sonative plugin (/usr/lib/oui-httpd/rpc/plugins.so) take the user-supplied packagenameand pass it into a shell command string built withsprintfand executed viasystem(), without sanitizing shell metacharacters. - Trigger conditions: an attacker sends a crafted request to the
/cgi-bin/glcendpoint invokingplugins.install_packageorplugins.remove_packagewith anamevalue containing shell metacharacters (for example a semicolon-delimited command). Input validation only blacklists a few private package name prefixes viastrstr(), which does not block metacharacters. - Attack vector: network, unauthenticated, no user interaction required.
- Impact: arbitrary command execution with root privileges, leading to 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)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: upgrade GL-MT3000 firmware to the latest version published by GL.iNet on its security updates portal. No fixed version is stated in the public CVE record; consult the vendor advisory to confirm the patched release before upgrading.
- If no patch can be applied: do not expose the router’s web/management interface (
/cgi-bin/glc) to untrusted or internet-facing networks. Restrict management access to trusted hosts via firewall rules or VLAN segmentation, and disable remote administration until patched.
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

