Description
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.
Published: 2026-07-12
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is an instance of improper privilege management (CWE-269) in the luci-app-samba4 package, where the file /usr/sbin/smbd is granted file.exec permission, allowing a delegated user to run the binary with arbitrary command‑line options. The process runs as root, meaning that a successful exploitation results in arbitrary command execution with system privileges.

Affected Systems

All OpenWrt devices that include the luci-app-samba4 package and have not applied the latest patch are affected. The specific affected firmware releases are not enumerated in the current advisory, so any unpatched installation of luci-app-samba4 should be considered vulnerable.

Risk and Exploitability

With a High CVSS base score of 8.7 the vulnerability presents a serious risk. The EPSS score is < 1%, indicating a low but nonzero likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Attackers would need authenticated access to the device and the ability to send SMB traffic that triggers global options. By controlling the message command option they can cause the privileged smbd process to execute arbitrary commands, effectively compromising the entire system.

Generated by OpenCVE AI on August 1, 2026 at 11:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest security update for luci-app-samba4 provided by OpenWrt.
  • Restrict the file permissions on /usr/sbin/smbd to remove exec rights for non‑root users, ensuring only the intended system account can run it.
  • Limit SMB protocol traffic to the device by configuring firewall rules or VLAN segregation so that only trusted hosts can attempt to authenticate.

Generated by OpenCVE AI on August 1, 2026 at 11:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 14 Jul 2026 22:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:openwrt:luci:*:*:*:*:*:*:*:*

Mon, 13 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sun, 12 Jul 2026 13:45:00 +0000

Type Values Removed Values Added
First Time appeared Openwrt
Openwrt luci
Vendors & Products Openwrt
Openwrt luci

Sun, 12 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Description 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.
Title OpenWrt luci-app-samba4 read ACL remote code execution via smbd
Weaknesses CWE-269
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-14T22:03:27.226Z

Reserved: 2026-07-04T12:17:14.302Z

Link: CVE-2026-59260

cve-icon Vulnrichment

Updated: 2026-07-13T15:10:11.778Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T11:15:03Z

Weaknesses
  • CWE-269

    Improper Privilege Management