CVE-2026-59260
Received Received - Intake

luci-app-samba4 ACL Command Execution in OpenWrt

Vulnerability report for CVE-2026-59260, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-12

Last updated on: 2026-07-12

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-12
Last Modified
2026-07-12
Generated
2026-07-12
AI Q&A
2026-07-12
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
openwrt luci-app-samba4 *
openwrt luci-app-samba4 to 2.11.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-269 The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-59260 is a vulnerability in the OpenWrt luci-app-samba4 package where a read ACL incorrectly grants authenticated users permission to execute the Samba daemon (smbd) via the rpcd file.exec function.

This means that a delegated user with read-only Samba access can execute arbitrary commands as root by passing controlled command-line arguments to smbd, which accepts runtime configuration overrides such as --option=message command=....

When combined with an SMB message request, this triggers the configured command, leading to root command execution. The root cause is that the ACL treats smbd execution as a read-only operation, but smbd's design allows caller-controlled configuration that can execute commands.

Exploitation requires an authenticated session with the vulnerable ACL; unauthenticated remote access is not possible.

Impact Analysis

This vulnerability allows an authenticated attacker with delegated read-only Samba access to escalate privileges and execute arbitrary commands as root on the affected system.

Such command execution can lead to complete system compromise, allowing attackers to control the system, access sensitive data, or disrupt services.

Because the Samba daemon runs with root privileges, the impact is severe and can affect the confidentiality, integrity, and availability of the system.

Detection Guidance

Detection of this vulnerability involves verifying if the OpenWrt luci-app-samba4 package grants read ACL permissions that include file.exec on /usr/sbin/smbd, allowing authenticated users to execute the Samba daemon with caller-controlled arguments.

Since the exploit requires an authenticated session, monitoring SMB sessions for unusual command-line arguments passed to smbd or unexpected execution of smbd with runtime configuration overrides may help detect exploitation attempts.

Specific commands to detect this vulnerability are not provided in the available resources.

Mitigation Strategies

The recommended immediate mitigation is to remove the /usr/sbin/smbd exec permission from the read ACL in the luci-app-samba4 configuration.

Avoid granting file.exec permissions to daemons like smbd that accept configurable command-line options.

Applying any available patches or updates from OpenWrt that address this vulnerability is also advised.

Compliance Impact

The vulnerability in OpenWrt luci-app-samba4 allows authenticated users to execute arbitrary commands as root, leading to potential complete system compromise.

Such a security flaw can impact compliance with common standards and regulations like GDPR and HIPAA because unauthorized command execution and privilege escalation can lead to unauthorized access, modification, or disclosure of sensitive data.

This undermines the confidentiality, integrity, and availability requirements mandated by these regulations, potentially resulting in data breaches or system integrity violations.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-59260. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart