Skip to main content

LMS lmsd CVE-2026-127143

| EUVDEUVD-2026-128821 CRITICAL
Inclusion of Functionality from Untrusted Control Sphere (CWE-829)
2026-11-18 CERT-PL GHSA-q4q6-34c6-vw58
9.4
CVSS 4.0 · Vendor: CERT-PL
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain web process or DB write access
  2. Delivery
    Register malicious library path in LMS database
  3. Exploit
    Trigger lmsd configuration reload
  4. Execution
    lmsd loads untrusted library as root
  5. Impact
    Execute 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

LMS 0 <89dd3f7

Affected Packages

euvd lms fix: 89dd3f7

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

Vendor (CERT-PL) PRIMARY 9.4 CRITICAL
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
vuln.today AI 9.9 CRITICAL

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (CERT-PL).

CVSS VectorVendor: CERT-PL

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Low
niche open-source ISP/network management system, industry-specific deployment
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +47
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Lms

View all
CVE-2018-1000535 HIGH POC
7.5 Jun 26

lms version <= LMS_011123 contains a Local File Disclosure vulnerability in File reading functionality in LMS module tha

CVE-2026-129961 CRITICAL
9.5 Nov 18

Unauthenticated remote code execution in the e-mail-based Helpdesk ticket intake of LMS (Lan Management System) lets a r

CVE-2026-39405 CRITICAL
9.4 May 20

Path traversal in Frappe Learning Management System (LMS) versions 2.50.0 and below allows authenticated users with cour

CVE-2026-40456 HIGH
8.6 Jun 18

OS command injection in LMS (LAN Management System) before commit 9fcb4de allows authenticated adjacent attackers to exe

CVE-2026-127142 HIGH
8.7 Nov 18

Authenticated users of Lan Management System installations lacking commit 89dd3f7 can achieve remote code execution thro

CVE-2026-40455 HIGH
8.6 Jun 18

Error-based SQL injection in LMS (LAN Management System) before commit 4cb30a7 allows authenticated attackers to extract

CVE-2026-39385 HIGH
7.1 Jul 20

Payment validation bypass in Frappe LMS 2.51.0 and earlier lets an authenticated user enroll in paid courses for free by

CVE-2026-27404 HIGH
7.1 Jul 02

Reflected Cross-Site Scripting in the designthemes LMS WordPress theme (versions 9.7 and earlier) allows unauthenticated

CVE-2026-78532 HIGH
7.1 Oct 10

Unauthenticated reflected cross-site scripting in the Designthemes LMS WordPress theme versions 8.3 and earlier allows r

CVE-2026-75582 HIGH
7.1 Nov 24

Missing authorization scoping in Frappe LMS before 2.65.0 lets an authenticated user holding the Batch Evaluator role re

CVE-2026-34606 MEDIUM
6.9 Apr 02

Stored cross-site scripting (XSS) in Frappe Learning Management System versions 2.27.0 through 2.47.x allows unauthentic

CVE-2026-96777 LOW POC
2.1 Sep 24

SQL injection in Forma LMS up to and including version 4.1.43 allows an attacker with an authenticated session on the ad

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy