CVE-2026-127142: Remote Code Execution in LMS
LMS (Lan Management System) is vulnerable to Remote Code Execution via unrestricted upload of dangerous file types in the service ticket feature of the client panel. The application does not verify the type or name of files attached to service tickets. An authenticated attacker can upload an .htaccess file to bypass the access restrictions on the storage directory, together with a PHP script. Visiting the uploaded PHP file's URL leads to arbitrary code execution with the privileges of the web server.
This issue was fixed in commit 89dd3f7.
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
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker must be authenticated and able to use the client panel's service ticket feature to attach files.
What does an attacker need to upload to achieve code execution?
The attacker uploads an .htaccess file to bypass storage-directory access restrictions and a PHP script. Code execution occurs when someone visits the uploaded PHP file's URL.
What privileges would executed code have?
The uploaded PHP code executes with the privileges of the web server.
How can I determine whether the issue has been fixed?
The issue was fixed in commit 89dd3f75168a99f1a0a3539957d08715bb86ab4f.