CVE-2026-12186 Details
Description
A weakness has been identified in GL.iNet GL-MT3000 up to 4.4.5. Affected is the function replace_country in the library /usr/lib/oui-httpd/rpc/tor of the component Tor Proxy Service Configuration Handler. This manipulation causes command injection. The attack can be initiated remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 4.7 is able to address this issue. It is recommended to upgrade the affected component. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.
A command injection vulnerability has been identified in the GL.iNet GL-MT3000 router, specifically in versions prior to 4.4.5. The issue resides in the Tor Proxy Service Configuration Handler, within the function 'replace_country' of the library '/usr/lib/oui-httpd/rpc/tor'. This vulnerability allows authenticated attackers to inject shell metacharacters into the 'countries' parameter, which are then executed as arbitrary commands with root privileges when the Tor service is activated. The vulnerability can be exploited remotely, and a public exploit is available.
Users are advised to upgrade to GL.iNet GL-MT3000 version 4.7 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 14, 2026CISA-ADP
Assessed Jun 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://fw.gl-inet.com/firmware/mt3000/release/mt3000-4.8.1-0819-1755615825.tar | [email protected] | Broken LinkVendor |
| https://github.com/StrTzz123/iot_vul/blob/main/GL-iNet/MT3000/4.4.5/tor_set_config/Readme.md | [email protected] | ExploitTechnical Analysis |
| https://vuldb.com/cve/CVE-2026-12186 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/815579 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/370832 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/370832/cti | [email protected] | AdvisoryPermission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| GL.iNet GL-MT3000 | <= 4.4.5 (semver) |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 14, 2026 | New CVE Received | [email protected] |
Volerion