Root command execution via read-role daemon launch
Published Jul 12, 2026 · Updated Jul 12, 2026
Command injection in OpenWrt LuCI allows remote authenticated users with Samba read access to execute commands as root through rpcd. The luci-app-samba4 read ACL authorizes unrestricted file.exec on /usr/sbin/smbd, and rpcd passes caller-controlled arguments that set Samba global options such as message command. Exploitation requires luci-app-samba4 and samba4-server, an authenticated delegated session with the read ACL, and SMB1 message-path support; a triggered SMB message runs the supplied command as root.
Summary
What happened
Command injection in OpenWrt LuCI allows remote authenticated users with Samba read access to execute commands as root through rpcd. The luci-app-samba4 read ACL authorizes unrestricted file.exec on /usr/sbin/smbd, and rpcd passes caller-controlled arguments that set Samba global options such as message command. Exploitation requires luci-app-samba4 and samba4-server, an authenticated delegated session with the read ACL, and SMB1 message-path support; a triggered SMB message runs the supplied command as root.
The record
- CVE
- CVE-2026-59260
- Published
- Jul 12, 2026
- Updated
- Jul 12, 2026
- Vendor
- OpenWrt
- Product
- LuCI
- Classifications
- CWE-863, CWE-269, T1068
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 12, 2026CVE publishedPublication date reported by the CVE source.
- Jul 12, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Affected versions are unavailable in this record. Check the vendor advisory for version and patch details.
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-vx64-mmp7-h36c attached demonstration packageproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo