Skip to main content

luci-app-uhttpd EUVDEUVD-2026-129152

| CVE-2026-130752 MEDIUM
Incorrect Permission Assignment for Critical Resource (CWE-732)
2026-11-18 disclosure@vulncheck.com GHSA-hjjj-g65r-fwmf
6.0
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as delegated read-only LuCI account
  2. Exploit
    Invoke ubus file read on /etc/shadow via /* grant
  3. Execution
    Harvest root hash, TLS key and SSH keys
  4. Impact
    Crack hash offline for full device root

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V13 - Configuration Permission assignment review
Exploitation Conditions

Requires (1) an OpenWrt device with luci-app-uhttpd installed on an affected branch (master, openwrt-24.10 or openwrt-25.12; 23.05 and earlier are not affected), and (2) the operator to have created a restricted/delegated LuCI account via luci-app-acl that is granted 'read' on luci-app-uhttpd. The attacker must authenticate as that delegated account (PR:L) and then issue an ubus file read call; no user interaction and no non-default service tweaking beyond the shipped ACL is needed. The key limiting factor is the delegated-account deployment model: on a standard single-admin install where the only LuCI user is already root, the flaw grants no privilege the user lacks. Exploitation is bounded to reads - the same session's write and exec calls are correctly denied - so impact is confidentiality-only.

Impact

Signals are moderate and partly conflicting. The input CVSS 4.0 vector scores 6.0 using AT:P, while the vendor GHSA advisory scores the same metrics at 7.1 using AT:N - the mechanism described (a delegated account directly invoking ubus call file read) involves no race, timing or attacker-uncontrolled precondition, so AT:N is better justified and the discrepancy should be noted. PR:L is the pivotal metric: this is not remote-unauthenticated exposure but a privilege-boundary flaw that requires an already-provisioned restricted LuCI account. No EPSS score and no CISA KEV entry are present in the input, so there is no evidence of active or at-scale exploitation; the vuln.today Decision label is 'this_month' (not act_now/emergency). Against that, the vendor advisory contains a demonstrated, reproduced PoC (reading /etc/shadow and /etc/config/wireless on OpenWrt 24.10.8), and confidentiality impact is total (VC:H / C:H) with trivial complexity once an account exists. Net: this is a genuine but condition-gated priority - meaningful for OpenWrt deployments that use delegated non-root LuCI accounts, and largely inert on default single-admin installs where the only LuCI user is already root. Treat as an important hardening fix on a this-month cadence rather than an emergency.

Exploit ScenarioDerived

An operator uses luci-app-acl to create a restricted LuCI account granting only read access to luci-app-uhttpd, intending to let a junior admin view and restart the web server. That account instead calls ubus call file read and, because the ACL grants '/*':['read'], retrieves any root-owned file - /etc/shadow, /etc/uhttpd.key, /etc/config/* credentials and /etc/dropbear keys. The vendor advisory includes a working PoC demonstrating the /etc/shadow and wireless-PSK reads; it is a reproduced demonstration, not packaged standalone exploit code.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

Delegated LuCI accounts on OpenWrt devices carrying the luci-app-uhttpd package can read arbitrary files as root, because the package's rpcd ACL declares a filesystem-wide read scope of "/*" that rpcd's fnmatch-based matcher (no FNM_PATHNAME) expands across directory separators. An attacker who authenticates as a restricted account granted only read access to this one application can therefore pull /etc/shadow, every /etc/config/* file (wireless PSKs, PPPoE/VPN credentials), the admin interface's TLS private key /etc/uhttpd.key, and /etc/dropbear/* keys; the same session's write and exec calls are correctly denied, so impact is confidentiality-only. The flaw is present on master (d12d5537), openwrt-25.12 (8125d128) and openwrt-24.10 (24db9bf8) and absent from 23.05 and earlier; it is not listed in CISA KEV, a proof-of-concept walkthrough is published in the vendor advisory, and the practical exposure is limited to deployments that actually use luci-app-acl to create non-root LuCI users, since on a single-admin install the only LuCI user is already root.

RemediationAI

Fixed upstream in commit d38658bedbdd811b798da16b49301478c6cf21af, which drops the "/*": ["read"] grant from the read scope of luci-app-uhttpd.json; because LuCI app versions are derived from git rather than PKG_VERSION, the fix reaches users through a rebuilt luci-app-uhttpd package from any tree that includes that commit on master, openwrt-24.10 or openwrt-25.12 - there is no tagged release number to cite, so verify the installed ACL file content rather than a version string. Patch status: upstream fix available (commit); a released patched package version is not independently confirmed in the supplied data. Where immediate package update is not possible, edit /usr/share/rpcd/acl.d/luci-app-uhttpd.json on the device and remove the "/*": ["read"] line from the read scope (leaving "uci": ["uhttpd"] and the correctly pinned "/etc/init.d/uhttpd restart": ["exec"] entry intact), then restart rpcd so sessions are re-evaluated; the advisory states this costs no functionality because the frontend makes no fs.read, fs.list or fs.stat calls, and restarting rpcd will terminate active LuCI sessions, requiring users to log in again. If a read path is genuinely needed for a certificate view, narrow it to /etc/uhttpd.crt and deliberately not /etc/uhttpd.key. As a supplementary measure, audit delegated accounts in /etc/config/rpcd and remove 'read' delegation on luci-app-uhttpd for any non-root user until the ACL is corrected - this reduces exposure but leaves the underlying grant in place. The advisory also flags luci-app-dockerman, luci-app-filebrowser, luci-app-filemanager and luci-base as packages carrying depth-0 wildcard paths at commit d12d5537; the file-manager packages arguably need broad access by design and luci-base grants only list, but luci-app-dockerman's comparable "/*": ["list","read"] grant warrants review. Given the this_month priority label rather than an act_now signal, schedule the update or ACL edit within the normal monthly cycle, prioritising devices that use delegated LuCI accounts. Advisory: https://github.com/openwrt/luci/security/advisories/GHSA-4h7q-j9hv-2536.

Affected VersionsENISA

luci 0 <d38658bedbdd811b798da16b49301478c6cf21af

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

OpenWrt's LuCI web frontend delegates privileged operations to rpcd, which enforces per-application permissions from JSON ACL files under /usr/share/rpcd/acl.d/. Each ACL has read and write scopes containing uci, file and ubus grants; file grants are evaluated in rpcd's session.c with fnmatch(pattern, path, FNM_NOESCAPE). Because FNM_PATHNAME is not passed, '*' is not stopped by '/', so the pattern '/*' matches every absolute path on the device. The luci-app-uhttpd ACL shipped with '/*': ['read'] in its read scope - a leftover from commit 678657bebb ("migrate to js", 2023-06-20), which introduced the wildcard for both read and write; the write scope was later tightened to three explicit paths (/etc/luci-uploads/*, /etc/uhttpd.key, /etc/uhttpd.crt) while the read side was never fixed. This is CWE-732 (incorrect permission assignment for a critical resource), with CWE-200 as the resulting information exposure: a delegated account sees root-level read of the whole filesystem through the ubus file read method of rpcd-mod-file. The grant is functionally unnecessary - the application's frontend contains no fs.read, fs.list or fs.stat call, and its only rpcd file operations are two fs.exec('/etc/init.d/uhttpd', ['restart']) calls (view/uhttpd/uhttpd.js:117 and :136), which are already covered by the separately pinned "/etc/init.d/uhttpd restart": ["exec"] entry in the same ACL. The vulnerability is a breadth-of-grant defect, not an ACL bypass: control tests in the advisory confirm writes and arbitrary command execution are refused for the same session. Trigger conditions are the presence of the package on an affected branch plus an operator-created restricted account granted read on luci-app-uhttpd; the deeper mechanism of file-read privilege escalation beyond that is not described in the available sources.

Know when Openwrt gets its next vulnerability

  • 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

Vendor (vulncheck) PRIMARY 6.0 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 7.7 HIGH

PR:L for the required delegated account, AC:L with no special attack requirement, S:C because a restricted account reads root-owned files beyond its authority, and confidentiality-only impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

OpenWrt LuCI luci-app-uhttpd before commit d38658bedbdd811b798da16b49301478c6cf21af grants '/*' file read in its rpcd read ACL, which rpcd's fnmatch matching applies to every path. Users delegated only luci-app-uhttpd read access can read any file as root, including /etc/shadow, /etc/config/* credentials, /etc/uhttpd.key, and /etc/dropbear keys.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Medium
popular open-source router/embedded firmware, common but not universally deployed
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2024-20017 CRITICAL POC
9.8 Mar 04

In wlan service, there is a possible out of bounds write due to improper input validation. Rated critical severity (CVSS

CVE-2026-61876 CRITICAL POC
9.4 Jul 12

Stored cross-site scripting in OpenWrt's LuCI web interface lets an adjacent-network attacker inject executable HTML/Jav

CVE-2020-7982 HIGH POC
8.1 Mar 16

An issue was discovered in OpenWrt 18.06.0 to 18.06.6 and 19.07.0, and LEDE 17.01.0 to 17.01.7. Rated high severity (CVS

CVE-2019-15513 HIGH POC
7.5 Aug 23

An issue was discovered in OpenWrt libuci (aka Library for the Unified Configuration Interface) before 15.05.1 as used o

CVE-2018-19630 MEDIUM POC
6.1 Nov 28

cgi_handle_request in uhttpd in OpenWrt through 18.06.1 and LEDE through 17.01 has unauthenticated reflected XSS via the

CVE-2025-20654 CRITICAL
9.8 Apr 07

In wlan service, there is a possible out of bounds write due to an incorrect bounds check. Rated critical severity (CVSS

CVE-2019-5102 MEDIUM POC
5.9 Nov 18

An exploitable information leak vulnerability exists in the ustream-ssl library of OpenWrt, versions 18.06.4 and 15.05.1

CVE-2019-5101 MEDIUM POC
5.9 Nov 18

An exploitable information leak vulnerability exists in the ustream-ssl library of OpenWrt, versions 18.06.4 and 15.05.1

CVE-2025-20674 CRITICAL
9.8 Jun 02

Remote privilege escalation in Android WLAN AP driver via packet injection.

CVE-2025-20683 CRITICAL
9.8 Jul 08

In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local es

CVE-2025-20682 CRITICAL
9.8 Jul 08

In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local es

CVE-2025-20681 CRITICAL
9.8 Jul 08

In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local es

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy