Summary
CVE-2026-18614 is an unauthenticated command injection vulnerability in the GL.iNet GL-MT3000 (Beryl AX) router. A flaw in the s2s.so native plugin allows a remote, unauthenticated attacker to inject operating-system commands through the router’s web management interface, resulting in code execution as root. The issue is rated Critical.
Technical details
- Root cause: The
s2s.enable_echo_servermethod validates theportargument only by passing it throughatoi()for a numeric range check (1–65534).atoi()stops parsing at the first non-digit character, so the original unsanitized string is retained and then passed intosnprintf()andsystem(), allowing shell metacharacters to survive validation. - Trigger conditions: An attacker sends a POST request to
/cgi-bin/glcinvoking thes2sobject’senable_echo_servermethod with a craftedportargument (e.g. a value combining a valid leading number with appended shell metacharacters). No authentication is required. - Attack vector: Network — the vulnerable endpoint is reachable over the device’s HTTP management interface.
- Impact: Full unauthenticated remote command execution with root privileges, leading to complete compromise of the device.
Affected software
- GL.iNet GL-MT3000 (Beryl AX) firmware versions 4.4.0 through 4.4.5
Severity
- CVSS v4.0 base score: 9.3 (Critical) —
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - 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
Mitigation and recommended actions
- Immediate: Upgrade GL-MT3000 firmware to a fixed release beyond 4.4.5 once published by the vendor; consult GL.iNet security updates for the corresponding patched version.
- If no patch is available: Do not expose the router’s web management interface to the internet. Restrict access to the management interface (including
/cgi-bin/glc) to trusted local networks via firewall rules, and disable remote 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

