Skip to main content

LudusMCP CVE-2026-19047

| EUVDEUVD-2026-54087 LOW
Command Injection (CWE-77)
2026-08-06 VulDB GHSA-grhp-mc55-jxg8
1.9
CVSS 4.0 · Vendor: VulDB

Severity by source

Vendor (VulDB) PRIMARY
1.9 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
5.3 MEDIUM

Local attack vector and low privileges required to invoke the MCP tool; no scope change, with limited impact confined to the MCP server process.

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

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

3
Severity Changed
Aug 06, 2026 - 16:22 NVD
MEDIUM LOW
CVSS changed
Aug 06, 2026 - 16:22 NVD
4.8 (MEDIUM) 1.9 (LOW)
Analysis Generated
Aug 06, 2026 - 16:19 vuln.today

DescriptionCVE.org

A vulnerability was detected in NocteDefensor LudusMCP up to 1.0.24. This affects the function executeArbitraryCommand/executeCommand of the file src/ludusMCP/cliWrapper.ts of the component ludus_cli_execute. Performing a manipulation of the argument command/args results in command injection. The attack needs to be approached locally. The project was informed of the problem early through an issue report but has not responded yet.

AnalysisAI

Command injection in NocteDefensor LudusMCP through version 1.0.24 allows a local attacker with low privileges to execute arbitrary OS commands by supplying crafted input to the command or args parameters of the executeArbitraryCommand and executeCommand functions in src/ludusMCP/cliWrapper.ts. A proof-of-concept exploit is publicly referenced (CVSS 4.0 E:P; GitHub issue at gongyaugugyy/public_exp), and the vendor has not responded to the coordinated disclosure. No active exploitation has been confirmed via CISA KEV, but the public POC lowers the exploitation barrier for any local attacker on systems running this MCP server.

Technical ContextAI

LudusMCP is a Model Context Protocol (MCP) server that wraps the Ludus cyber range CLI, enabling AI agents to invoke Ludus operations as MCP tools. The vulnerable component ludus_cli_execute exposes the executeArbitraryCommand and executeCommand functions in src/ludusMCP/cliWrapper.ts. CWE-77 (Improper Neutralization of Special Elements used in a Command) identifies the root cause: user-controlled values in the command or args parameters are passed to an OS command execution API without sanitization or parameterization, allowing shell metacharacters or command separators to be interpreted by the underlying shell. CPE cpe:2.3:a:noctedefensor:ludusmcp:*:*:*:*:*:*:*:* confirms the scope spans all releases of the product. Because MCP tool arguments can originate from AI agent calls, exploitation may be possible through prompt manipulation against any agent that has access to this tool.

RemediationAI

No vendor-released patch has been identified at time of analysis. The vendor has not responded to the coordinated disclosure filed via GitHub issue https://github.com/NocteDefensor/LudusMCP/issues/3. Monitor the upstream repository at https://github.com/NocteDefensor/LudusMCP/ for a patched release. As an immediate compensating control, restrict local system access to the host running LudusMCP to trusted users only, reducing the pool of principals who can invoke ludus_cli_execute; note that this does not eliminate the vulnerability but limits who can reach it. If the ludus_cli_execute tool is not operationally required, disabling it entirely removes the attack surface with no impact on other MCP tools. For deployments where the tool must remain active, implement an input validation wrapper that enforces an allowlist of permitted command values and rejects any argument containing shell metacharacters (;, &, |, ` `, $, etc.) before passing input to executeArbitraryCommand or executeCommand`; this workaround requires ongoing maintenance as the allowed command set evolves.

Share

CVE-2026-19047 vulnerability details – vuln.today

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