CVE-2026-127143: Privilege Escalation in LMS
LMS (Lan Management System) is vulnerable to privilege escalation in the lmsd daemon. The daemon loads the libraries listed in the LMS database without checking that they come from a trusted location. An attacker with access to the web server process or with write access to the LMS database can register a malicious library and trigger a configuration reload, causing lmsd to load and execute it. Because the example systemd unit does not set a separate user, lmsd runs as root, allowing the attacker to execute arbitrary code with root privileges. This issue was fixed in commit 89dd3f7. The lmsd component was removed. For existing installations that use lmsd, the recommended solution is to disable and remove this component.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch 89dd3f7 - Remove
Remove
LMS lmsd daemonfrom your environment.Disable and remove the lmsd component from existing installations.
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs either access to the web server process or write access to the LMS database. They can register a malicious library and trigger a configuration reload.
What level of access could successful exploitation provide?
On systems using the example systemd unit, lmsd runs as root because no separate user is configured. A malicious library loaded by lmsd can therefore execute arbitrary code with root privileges.
What should operators do if they still use lmsd?
Disable and remove the lmsd component. The component was removed in the fix associated with commit 89dd3f7.