CVE-2026-18482

CVE-2026-18482

Published Aug 20, 2026 CVSS 3.1 · 9.8 Critical EPSS 3.4% KEV · Not listed
Description
Neo.mjs contains a command injection vulnerability within the FileSystemService.mjs component of the ai/mcp/server/file-system MCP server, where the checkSyntax() and runPlaywrightTest() functions unsafely interpolate caller-controlled absolutePath values into shell commands, enabling arbitrary OS command execution when an AI agent is induced to invoke these tools. Commit 88c77fc fixes these vulnerabilities.

Analysis

AI-generated

Technical impact

Neo.mjs contains a command injection flaw in the FileSystemService.mjs component of the ai/mcp/server/file-system MCP server. The checkSyntax() and runPlaywrightTest() routines use caller-provided absolutePath values directly inside shell commands without proper sanitization, allowing an attacker to inject arbitrary shell commands. This weakness opens the possibility for an attacker to execute any OS command on the underlying host when an AI agent is forced to call these tools, compromising confidentiality, integrity, and availability of the system.

Affected Systems

The vulnerability affects Klarso GmbH’s Neo.mjs product, specifically the MCP file system service module. No explicit version range is listed, so any deployment of Neo.mjs that includes the affected FileSystemService.mjs code at the time of the referenced commits is potentially vulnerable.

Risk and Exploitability

The analysis indicates that exploitation requires the ability to influence the AI agent to invoke the vulnerable functions, which could be achieved through client-controlled data or crafted requests. The CVSS score of 9.8 classifies the flaw as critical, and the EPSS score of 3% indicates a low but nonzero likelihood of exploitation. Although not listed in the CISA KEV catalog, the command injection nature of the flaw presents a high potential impact. The availability of a patch commit (88c77fc) suggests that the vulnerability has been recognized and mitigated by the vendor.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest patch that includes commit 88c77fc to mitigate the command injection vulnerability
  • If a patch cannot be applied immediately, disable or restrict the AI agent’s ability to invoke the checkSyntax() and runPlaywrightTest() functions in the file‑system service
  • Implement input validation or sanitization for absolutePath parameters at the API gateway or within the FileSystemService.mjs code to eliminate unsanitized shell command construction

Generated by OpenCVE AI on October 25, 2026 at 17:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Klarso Gmbh
Klarso Gmbh neo-mjs
Vendors & Products Klarso Gmbh
Klarso Gmbh neo-mjs
Type Values Removed Values Added
Weaknesses CWE-78
Type Values Removed Values Added
Description Neo.mjs contains a command injection vulnerability within the FileSystemService.mjs component of the ai/mcp/server/file-system MCP server, where the checkSyntax() and runPlaywrightTest() functions unsafely interpolate caller-controlled absolutePath values into shell commands, enabling arbitrary OS command execution when an AI agent is induced to invoke these tools. Commit 88c77fc fixes these vulnerabilities.
Title CVE-2026-18482
References
Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
certcc
Published
Updated
Aug 27, 2026, 5:41 PM
Reserved
Jul 31, 2026, 12:46 PM
Status
Awaiting Analysis
Published
Aug 20, 2026, 1:16 PM
Modified
Sep 3, 2026, 5:42 PM