Summary
CVE-2026-18613 is an unauthenticated injection vulnerability in the GL.iNet GL-MT3000 (Beryl AX) router. The plugins.set_config method exposed by the plugins.so native plugin at the /cgi-bin/glc endpoint fails to neutralize attacker-supplied input, allowing a remote, unauthenticated attacker to inject a malicious software feed source and ultimately achieve remote code execution as root. The issue is rated critical.
Technical details
- Root cause: The
plugins.set_configmethod (served by/usr/lib/oui-httpd/rpc/plugins.sovia the/cgi-bin/glcendpoint) writes user-supplied opkg feed sources to/etc/opkg/customfeeds.confwithout validating the URL scheme, verifying the domain, filtering shell metacharacters, or enforcing authentication (CWE-74 / CWE-707, improper neutralization / injection). - Trigger conditions: An attacker sends an unauthenticated HTTP POST to
/cgi-bin/glcwith a JSON payload invokingobject: plugins,method: set_config, supplying attacker-controllednameandurlfeed entries. No session, credentials, or user interaction are required. - Attack vector: Network. The endpoint is reachable and exploitable remotely with no authentication.
- Impact: The injected feed enables a chain of
update_repositoryfollowed byinstall_package, installing an attacker-controlled package whose preinst/postinst scripts execute as root — resulting in full device compromise (confidentiality, integrity, and availability all impacted).
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. - CVSS v4.0 base score: 9.3 (Critical) — vector
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.
Mitigation and recommended actions
- Immediate: Upgrade GL-MT3000 devices to a vendor firmware release later than 4.4.5 as soon as a fixed build is available from GL.iNet, and monitor the GL.iNet security advisories for the corrected version.
- If no patch: Do not expose the router’s web/management interface (including
/cgi-bin/glc) to the internet or untrusted networks. Restrict administrative access to trusted management segments or VPN, block inbound access to the HTTP management port at the network edge, and monitor for unexpected requests to/cgi-bin/glcand unexpected changes to/etc/opkg/customfeeds.conf.
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

