A privilege escalation issue exists in the `lmsd` daemon. The daemon loads libraries listed in the LMS database without verifying if they originate from a trusted location. An attacker with access to the web server process or write access to the LMS database can register a malicious library and trigger a configuration reload, leading the `lmsd` daemon to load and execute the library. Since the example systemd unit does not specify a separate user, the daemon runs as root, enabling the execution of arbitrary code with root privileges.