Skip to main content

luci-app-samba4 CVE-2026-59260

| EUVDEUVD-2026-43233 HIGH
Improper Privilege Management (CWE-269)
2026-07-12 VulnCheck GHSA-7pqv-wj3v-fcq3
8.7
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 user
  2. Delivery
    Invoke smbd via file.exec ACL
  3. Exploit
    Pass malicious 'message command' global option
  4. Execution
    Root smbd processes SMB message
  5. Impact
    Arbitrary command executes as root

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must possess a valid authenticated LuCI/ubus account assigned the delegated 'read' ACL role (PR:L) on a device running the vulnerable luci-app-samba4 package with the smbd file.exec grant present. The concrete requirement is the ability to invoke /usr/sbin/smbd via that ACL and supply Samba global options (e.g. 'message command'); command execution then fires when an SMB protocol message is processed by the root smbd. Limiting factors: exploitation is not possible for fully unauthenticated attackers, requires the samba4 app and its delegated-user model to be deployed (not a default single-admin OpenWrt setup), and requires network reachability to the management/SMB interface.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H) scores 8.7 High and is internally consistent: network reachable, low complexity, but requires an authenticated delegated (low-privileged) account (PR:L), yielding full confidentiality/integrity/availability compromise. This is a genuine privilege-escalation priority in any deployment that hands out delegated LuCI accounts, because it converts a read-only operator into root. However real-world urgency is tempered by the PR:L precondition - an attacker must already possess a valid delegated login - so this is not a pre-auth mass-exploitation bug. No EPSS score, KEV entry, or public POC is present in the provided data, so likelihood signals are weak/absent; treat exploitation as plausible-but-not-observed. The subsequent-system metrics (SC/SI/SA:N) and CVSS 4.0's non-scope model understate that the practical effect crosses a trust boundary from a restricted role to root, so the operational impact is arguably higher than the 'no scope change' framing suggests.

Exploit ScenarioDerived

An attacker holding a delegated OpenWrt account with only the 'read' role authenticates to the LuCI/ubus interface over the network, then uses the improperly granted file.exec permission to launch /usr/sbin/smbd with a crafted global option such as 'message command=<attacker shell command>'. When an SMB message is processed, the root smbd executes the supplied command, giving the low-privileged user full root code execution on the router. No public POC is identified at this time, but low attack complexity makes weaponization straightforward.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.7% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 12, 2026

Privilege escalation to root in OpenWrt's luci-app-samba4 (LuCI web interface) lets authenticated delegated users invoke the root-owned Samba daemon with attacker-controlled arguments. The package's 'read' ACL improperly grants file.exec permission on /usr/sbin/smbd, so a low-privileged operator can launch smbd with global options like 'message command' and achieve arbitrary command execution as root when SMB messages are processed. Reported by VulnCheck with a GHSA advisory published; no public exploit identified at time of analysis and it is not listed in CISA KEV.

RemediationAI

Apply the fix from the OpenWrt LuCI security advisory GHSA-vx64-mmp7-h36c (https://github.com/openwrt/luci/security/advisories/GHSA-vx64-mmp7-h36c); a patch is available per that vendor advisory, but a released, tagged fixed version is not independently confirmed in the available data, so update luci-app-samba4 to the corrected package once your feed publishes it (opkg/apk update then upgrade). As an immediate compensating control, remove or tighten the offending ACL by editing the samba4 ACL definition (under /usr/share/rpcd/acl.d/) to strip the file.exec grant on /usr/sbin/smbd from the 'read' role - trade-off: delegated read users may lose intended UI functions tied to that ACL. Additionally, revoke or avoid issuing delegated LuCI accounts to untrusted users and restrict access to the LuCI/ubus interface (bind management to a trusted VLAN or firewall the HTTP/HTTPS admin port) until patched; the side effect is reduced remote manageability for legitimate low-privilege operators.

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

The affected component is LuCI, the OpenWrt web configuration framework, specifically the luci-app-samba4 management app. OpenWrt implements delegation through named ACL groups that map roles (like 'read') to permitted RPC/ubus operations and file actions. Here the 'read' ACL bundles a file.exec permission targeting /usr/sbin/smbd - the Samba 4 file-sharing daemon that normally runs as root. This is a textbook CWE-269 (Improper Privilege Management): a permission intended to be low-trust (read) is over-scoped to allow executing a privileged binary. Because smbd honors command-line/global configuration overrides such as 'message command' (which specifies a shell command executed on receipt of a Windows WinPopup/SMB message), controlling smbd's arguments is equivalent to controlling root shell execution.

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 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.8 HIGH

Network-reachable LuCI/ubus with low complexity but requires an authenticated delegated account (PR:L); execution as root yields full C/I/A impact.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

OpenWrt luci-app-samba4 read ACL grants file.exec permission on /usr/sbin/smbd, allowing authenticated delegated users to execute the Samba daemon with caller-controlled command-line arguments. Attackers can pass arbitrary Samba global options such as message command to a root smbd process, triggering command execution when SMB protocol messages are processed.

Executive ViewAI

Why It Matters

A privilege escalation vulnerability in OpenWrt's LuCI web interface for Samba4 configuration allows authenticated administrators to gain root-level command execution on affected network devices, enabling complete compromise of file sharing services and potentially the broader network infrastructure. Although no public exploit code has been identified to date, the vulnerability is trivial to exploit by any operator with LuCI access. Organizations deploying OpenWrt with delegated administrative access face immediate risk of insider threats or compromised accounts leading to full system compromise.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict LuCI administrative access to authorized personnel only with network-level access control; (2) Disable luci-app-samba4 on non-critical systems; (3) Implement network segmentation to isolate affected devices from sensitive business systems; (4) Enable SMB server logging and configure alerts for suspicious message command usage or configuration changes; (5) Conduct quarterly administrative access reviews for OpenWrt systems.

Threat Intelligence Overview

EPSS Score
0.7%
Top 51% exploitable
Prevalence
Low
optional Samba UI package on niche router OS with delegated users
Social Media
5
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 HIGH
CISA KEV No
Public POC No
EPSS 0.7%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

Affected Products (CPE)CVE.org

cpe:2.3:a:openwrt:luci:*:*:*:*:*:*:*:*
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