Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain LuCI credentials
-
DeliveryAuthenticate to OpenWrt web interface
-
ExploitSend crafted rpcd JSON-RPC request
-
ExecutionInject shell metacharacters in name parameter
-
PersistExecute arbitrary commands as root
-
ImpactFull router compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid authenticated session on the OpenWrt LuCI web interface with at minimum low-privilege (PR:L) access - an attacker must possess valid router credentials. The luci-app-https-dns-proxy package must be installed (it is not part of the default OpenWrt image and requires explicit installation). The rpcd daemon must be running and the luci.https-dns-proxy endpoint must be accessible, which is the case in any standard installation of this plugin. Exploitation is limited by the requirement for prior authentication; the attack cannot be performed without router credentials. Single-admin home deployments are effectively unexploitable unless credentials are separately compromised. |
| Impact | CVSS 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) is internally consistent: the attack is low-complexity and network-reachable via the LuCI web interface, but requires a valid authenticated session (PR:L), which meaningfully limits the exposed attack surface to users with LuCI credentials. Full C/I/A impact is accurate for a root-equivalent command injection on a router. EPSS of 0.18% at the 7th percentile is low, and no CISA KEV listing exists, both consistent with a plugin that has a narrow deployment footprint. A public exploit exists at a GitHub repository (referenced as CVE-2026-46368 in the repo name - a discrepancy warranting verification). Real-world risk is elevated for any OpenWrt deployment where the https-dns-proxy plugin is installed and where low-privilege LuCI accounts are granted to untrusted users; it is negligible in single-administrator home deployments where the router admin is the only account holder. |
| Exploit ScenarioDerived | An attacker with a valid LuCI web-interface session (e.g., a low-privilege account on a shared router, or credentials obtained through phishing) sends a crafted JSON-RPC request to the luci.https-dns-proxy rpcd endpoint with a name parameter containing shell metacharacters such as a backtick or semicolon-delimited command. The rpcd shell script passes the parameter to a shell command without sanitization, executing the injected command as the rpcd service user - typically root on OpenWrt - giving the attacker full control of the router. A public exploit repository is available at github.com/iwallplace/CVE-2026-46368-OpenWrt-Exploit, though it is listed under a different CVE identifier. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 01, 2026
Command injection in luci-app-https-dns-proxy on OpenWrt allows authenticated web-interface users to execute arbitrary shell commands on the router as the rpcd service account (typically root) by supplying shell metacharacters in the name parameter to the setInitAction RPC endpoint. The vulnerability exists in versions preceding the 2026-01-17 PR #15 fix across both the stangri and mossdef-org forks. A public exploit repository is available, though EPSS remains low (0.18%) and no CISA KEV listing exists, suggesting limited observed in-the-wild exploitation at time of analysis.
RemediationAI
Update luci-app-https-dns-proxy to a build incorporating PR #15 from the upstream repository (https://github.com/stangri/luci-app-https-dns-proxy/pull/15 or the mossdef-org equivalent). The fix adds a strict equality guard - if the supplied name does not match the expected packageName, the request is rejected and logged before any shell execution. No exact package version is tagged; administrators should verify the fix is present by inspecting the deployed script for the validation block. As a compensating control, restrict LuCI access to trusted administrator accounts only and consider blocking LuCI access from untrusted network segments using firewall rules (e.g., limit access to the LAN interface and disable remote WAN access to port 80/443 on the router). Removing the luci-app-https-dns-proxy package entirely eliminates the attack surface if DNS-over-HTTPS is not required.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
luci-app-https-dns-proxy is an OpenWrt LuCI web-interface plugin for the https-dns-proxy daemon, which provides DNS-over-HTTPS forwarding on embedded routers. The plugin exposes an rpcd RPC endpoint at /usr/libexec/rpcd/luci.https-dns-proxy. The setInitAction function in that script passes a caller-controlled name parameter directly into shell command execution without sanitization or validation - a textbook CWE-78 (OS Command Injection) flaw. The fix in PR #15 enforces strict equality between the supplied name and the expected packageName variable before any shell execution occurs, rejecting and logging all other values. OpenWrt's rpcd runs with elevated privileges, so successful injection yields root-level code execution on the router. Affected CPE strings are published as n/a placeholders in NVD; the canonical upstream repository is github.com/stangri/luci-app-https-dns-proxy.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable via LuCI web interface (AV:N), low complexity, but requires valid authenticated session (PR:L); command injection yields full C/I/A on the router device.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
An issue was discovered in luci-app-https-dns-proxy on OpenWrt PR #15 (< 2026-01-17). The setInitAction function in /usr/libexec/rpcd/luci.https-dns-proxy allows authenticated users to execute arbitrary shell commands via shell metacharacters in the name parameter
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
A command injection vulnerability in luci-app-https-dns-proxy on OpenWrt enables authenticated users to execute arbitrary commands with root privileges. Publicly available exploit code exists, creating immediate risk for exposed router deployments and potentially compromising network infrastructure and all connected devices.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict web-interface access to trusted networks via firewall configuration, disable remote administration if not operationally required, disable the https-dns-proxy service if not critical to network operations, and establish monitoring for official patch releases from vendor repositories.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
EUVD-2026-67101
GHSA-fg7r-8jq7-f2g6
NVD
CVE.org
EPSS
Exploit-DB