Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Unrated

OS Command Injection in LMS (LAN Management System)

IdentifiersCVE-2026-40456CWE-78

CVE-2026-40456 is an OS command injection vulnerability in LMS (LAN Management System) affecting versions before commit 9fcb4de. The flaw is caused by an IP address parameter being passed to the PHP exec() function without proper validation or sanitization. Because user-controlled input reaches an operating system command execution sink, an attacker can inject shell metacharacters or additional command content and cause arbitrary commands to be executed by the underlying OS in the security context of the LMS application.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows arbitrary operating system command execution on the host running LMS. This can result in full compromise of the application context, including unauthorized access to sensitive data, modification of system or application state, deployment of additional tooling or malware, and disruption of service availability. The supporting content indicates high impact to confidentiality, integrity, and availability.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, restrict access to the vulnerable LMS functionality to trusted administrators and trusted networks only. Reduce exposure of the LMS application, especially any feature that accepts the affected IP address parameter. Add compensating input validation or filtering to enforce strict IP address syntax, monitor for anomalous command execution, and harden the runtime environment to limit the privileges available to the LMS process until the fix is deployed.

Remediation

Patch, then assume compromise.

Update LMS to a version that includes the fix introduced after commit 9fcb4de, or apply the corresponding patch/code change. Remediation should ensure that the affected IP address parameter is strictly validated against an allowlist format for legitimate IP addresses and is never passed unsafely into exec(). Where command execution is necessary, avoid shell invocation, use safer APIs that do not invoke a shell, and ensure any arguments are properly separated and escaped.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
LmsLmsapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity1

Community discussion across Reddit, Mastodon, and other social sources.