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
Share

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

1
Analysis Generated
Jul 12, 2026 - 12:44 vuln.today

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.

AnalysisAI

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.

Technical ContextAI

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.

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.

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-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

CVE-2026-30872 CRITICAL
9.8 Mar 19

Remote code execution in OpenWrt's mDNS daemon (versions before 24.10.6 and 25.12.1) allows unauthenticated attackers to

Share

CVE-2026-59260 vulnerability details – vuln.today

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