CVE-2026-40456
Received Received - Intake
OS Command Injection in LMS Before Commit 9fcb4de

Publication date: 2026-06-18

Last updated on: 2026-06-18

Assigner: CERT.PL

Description
An OS Command Injection vulnerability exists in LMS (LAN Management System) before commit 9fcb4de due to an IP address parameter being passed to the "exec()" function without proper validation, allowing attackers to execute arbitrary operating system commands.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-18
Last Modified
2026-06-18
Generated
2026-06-19
AI Q&A
2026-06-18
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
chilek lms to 9fcb4de (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability is an OS Command Injection in the LMS (LAN Management System) software before a specific commit. It occurs because an IP address parameter is passed to the exec() function without proper validation. This lack of validation allows attackers to execute arbitrary operating system commands by injecting malicious input through the IP address parameter.

The issue was fixed by adding an IP address validation check in the backend scripts, ensuring that only properly formatted IP addresses are accepted before executing commands.

Impact Analysis

This vulnerability can allow an attacker with limited privileges to execute arbitrary operating system commands on the server running the LMS software. This could lead to unauthorized access, data compromise, system disruption, or further exploitation of the affected system.

Detection Guidance

This vulnerability involves an OS Command Injection through an IP address parameter passed without proper validation to the exec() function in LMS. Detection can focus on monitoring for unusual or unexpected command executions originating from the LMS application, especially those involving IP address parameters.

You can check logs for suspicious commands or attempts to inject commands via IP address inputs. Additionally, inspecting the LMS backend scripts for unvalidated IP parameters can help identify vulnerable versions.

  • Use network monitoring tools to detect unusual outbound commands or traffic from the LMS server.
  • Review LMS logs for entries where IP address parameters are passed to backend scripts.
  • Run commands to verify the LMS version or check for the presence of the security fix commit (9fcb4de). For example, check the version or commit hash in the LMS installation directory.
Mitigation Strategies

To mitigate this vulnerability, immediately update the LMS software to include the security fix introduced in commit 9fcb4de. This update adds proper IP address validation to prevent command injection.

If an immediate update is not possible, restrict access to the LMS application to trusted users and networks to reduce the risk of exploitation.

Additionally, review and harden input validation in any custom scripts or integrations that interact with LMS, ensuring that IP addresses are properly validated before being used in system commands.

Compliance Impact

The vulnerability allows attackers to execute arbitrary operating system commands due to improper validation of an IP address parameter. This can lead to unauthorized access or control over the system, potentially resulting in exposure or manipulation of sensitive data.

Such unauthorized access and potential data compromise can negatively impact compliance with common standards and regulations like GDPR and HIPAA, which require protection of personal and sensitive information against unauthorized access and breaches.

Therefore, if exploited, this vulnerability could lead to violations of these regulations by failing to ensure data confidentiality and integrity.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-40456. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart