Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain web process or DB write access
-
DeliveryRegister malicious library path in LMS database
-
ExploitTrigger lmsd configuration reload
-
Executionlmsd loads untrusted library as root
-
ImpactExecute arbitrary code with root privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Trusted source inclusion only
|
| Exploitation Conditions | Exploitation requires that the vulnerable lmsd daemon is deployed and running (the description notes it runs as root because the example systemd unit sets no separate user), and that the attacker already holds either access to the LMS web server process or write access to the LMS database - these are the concrete prerequisites, consistent with CVSS PR:L. The attacker must be able to register a library entry and trigger a configuration reload so lmsd loads the untrusted library. Limiting factors: installations that do not use lmsd, or that run lmsd under a dedicated non-root user with a restricted/trusted library path, materially reduce impact; the fix removes lmsd entirely, and the vendor's recommended action for existing installs is to disable and remove the lmsd component. The required pre-existing privilege (web process or DB write access) is the main constraint on real-world exploitability. |
| Impact | This is a high-priority issue backed by multiple converging signals, though with important caveats. The CVSS 4.0 base score is 9.4 (Critical) with vector AV:N/AC:L/AT:N/PR:L/UI:N and full High impact across both the vulnerable system (VC/VI/VA:H) and subsequent system (SC/SI/SA:H), the latter reflecting escalation from a constrained web/database context to root on the host. The vuln.today decision label is act_now and the issue was reported by CERT-PL, a credible national CERT, which raises confidence that it is a real operational risk rather than a theoretical high-CVSS finding. The PR:L metric indicates exploitation requires some existing privilege (per CVSS, authenticated), consistent with the description's requirement of access to the web server process or write access to the LMS database - so this is not a fully unauthenticated internet-wide mass-exploitation primitive, but rather a potent escalation-to-root path for an attacker who already has a foothold. No EPSS score was provided and there is no CISA KEV listing in the input, so there is no evidence of active exploitation; treat exploitation likelihood as inferred from the decision label and impact, not measured. A notable data conflict: the provided GitHub commit diff (89dd3f75) modifies filename sanitization logic in common.php and helpdesk/functions.php (stripping leading dots from uploaded filenames - a path-traversal-style fix), which does NOT correspond to the described lmsd untrusted-library-loading mechanism; verify the commit/CVE mapping with the vendor. Additionally, a referenced CERT-PL post is numbered CVE-2026-127142, one digit off from this CVE-2026-127143 - the reference may belong to a sibling advisory. |
| Exploit ScenarioDerived | An attacker who has already compromised the LMS web application process, or who otherwise gains write access to the LMS database, inserts a record pointing lmsd at a malicious shared library stored in an attacker-controlled location. They then trigger a configuration reload, causing the root-running lmsd daemon to load and execute the library, yielding arbitrary code execution as root. No public working exploit code is identified in the provided data, but the technique is straightforward given the stated prerequisites. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Privilege escalation to root in the LMS (Lan Management System) lmsd daemon lets an attacker who already controls the LMS web server process, or who has write access to the LMS database, register a malicious library and trigger a configuration reload so that lmsd loads and executes it - and because the shipped example systemd unit sets no dedicated user, that code runs as root. The issue is an untrusted-library-loading flaw (CWE-829) scored 9.4 under CVSS 4.0 / 9.4-equivalent high severity under the assessed CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H), and the practical constraint is the pre-existing foothold it requires: web-process access or database write access, consistent with PR:L. There is no public exploit identified at time of analysis and no KEV listing, but the reporting source is CERT-PL and the priority decision is act_now, because the payoff from that modest foothold is full root code execution and the scope is changed beyond the vulnerable component. The vendor's fix removes lmsd entirely, which tells you how the maintainers rate its trust model.
RemediationAI
Apply the vendor fix at https://github.com/chilek/lms/commit/89dd3f75168a99f1a0a3539957d08715bb86ab4f (patch available from vendor) and confirm the release scope against the CERT-PL advisory at https://cert.pl/posts/2026/11/CVE-2026-127142, because the provided data gives a commit hash rather than a tagged version - no numbered fixed release is enumerated here. Because that commit removes lmsd rather than repairing its library-loading logic, the vendor's recommended action for existing installations is to disable and remove the component outright; doing so eliminates the attack path completely, with the trade-off being loss of whatever functionality depended on lmsd, which should be inventoried first. If removal cannot happen immediately, the interim control is to stop lmsd running as root and confine it: add a dedicated User=/Group= to the systemd unit and restrict the library search path to a root-owned, non-writable directory, which reduces the loading of attacker-supplied libraries from database-named locations to a privilege-separated failure rather than host compromise - this is a partial mitigation only, since the daemon's design still trusts database content. In parallel, tighten who can write the LMS database and what the web process can reach, since either capability is the documented prerequisite; those are containment measures for the pre-condition, not substitutes for removing lmsd.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
LMS is a PHP-based management/billing platform for ISPs, and lmsd is a separate native daemon that accompanies the web application. Instead of loading its libraries from a fixed, root-owned path, lmsd resolves the libraries it should load from records in the LMS database - so the database contents become a code-loading input across a privilege boundary. That is the CWE-829 pattern (inclusion of functionality from an untrusted control sphere): anything able to write those records - the PHP web process itself, or any party with DB write access - can name an arbitrary library, and a subsequent configuration reload causes lmsd to link and execute it. The impact is amplified by the deployment guidance: the example systemd unit defines no User=, so lmsd runs as root, and library loading inside a root process converts an application-layer foothold into host-level code execution; the assessed vector's S:C reflects this crossing from the web/DB tier into the host. The referenced fix commit 89dd3f7 removes the lmsd component rather than hardening its loader, and the vendor's recommendation for existing installations is to disable and remove it - an acknowledgement that the daemon's design, not just one code path, is the problem. Note that the visible excerpt of that commit in the supplied data touches filename sanitisation in lib/common.php and the helpdesk module (stripping repeated leading dots from uploaded filenames), not lmsd removal; the full commit scope should be confirmed against the CERT-PL advisory, whose URL references the sibling identifier CVE-2026-127142, suggesting a paired advisory covering more than one issue.
Know when Lms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Attacker needs existing web-process or DB-write access (PR:L) to register the library; low-privilege context executing code as root is a scope change (S:C) with full High impact.
Primary rating from Vendor (CERT-PL).
CVSS VectorVendor: CERT-PL
DescriptionCVE.org
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.
Executive ViewAI
CVE-2026-127143 is a critical privilege escalation flaw in the LMS (Lan Management System) lmsd daemon that allows an attacker with existing access to the LMS web server process or database to execute arbitrary code as root. This turns a limited foothold into full system compromise, severely impacting confidentiality, integrity, and availability of the affected system. Leadership should prioritize immediate remediation because the vulnerability is remotely exploitable, requires only low privileges, and can lead to complete loss of control over the host.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
lms version <= LMS_011123 contains a Local File Disclosure vulnerability in File reading functionality in LMS module tha
Unauthenticated remote code execution in the e-mail-based Helpdesk ticket intake of LMS (Lan Management System) lets a r
Path traversal in Frappe Learning Management System (LMS) versions 2.50.0 and below allows authenticated users with cour
OS command injection in LMS (LAN Management System) before commit 9fcb4de allows authenticated adjacent attackers to exe
Authenticated users of Lan Management System installations lacking commit 89dd3f7 can achieve remote code execution thro
Error-based SQL injection in LMS (LAN Management System) before commit 4cb30a7 allows authenticated attackers to extract
Payment validation bypass in Frappe LMS 2.51.0 and earlier lets an authenticated user enroll in paid courses for free by
Reflected Cross-Site Scripting in the designthemes LMS WordPress theme (versions 9.7 and earlier) allows unauthenticated
Unauthenticated reflected cross-site scripting in the Designthemes LMS WordPress theme versions 8.3 and earlier allows r
Missing authorization scoping in Frappe LMS before 2.65.0 lets an authenticated user holding the Batch Evaluator role re
Stored cross-site scripting (XSS) in Frappe Learning Management System versions 2.27.0 through 2.47.x allows unauthentic
SQL injection in Forma LMS up to and including version 4.1.43 allows an attacker with an authenticated session on the ad
EUVD-2026-128821
GHSA-q4q6-34c6-vw58
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB