CVE-2026-18482: OS Command Injection

Published Aug 20, 2026
·
Updated

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.

Affected Software

1 affected component
Neo.mjs ai/mcp/server/file-system MCP server

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 88c77fc
  2. Configuration

    Update the ai/mcp/server/file-system MCP server’s FileSystemService.mjs implementation so caller-controlled absolutePath values are not unsafely interpolated into shell commands in checkSyntax() and runPlaywrightTest(); apply commit 88c77fc.

    ai/mcp/server/file-system (FileSystemService.mjs) command interpolation in checkSyntax() and runPlaywrightTest() = no shell/unsafe interpolation

Event History

Aug 20, 2026
CVE Published
via MITRE·12:36 PM
Data Sourced
via MITRE·12:36 PM
DescriptionWeakness

Frequently Asked Questions

1

Which tool operations are affected?

The affected operations are checkSyntax() and runPlaywrightTest() in FileSystemService.mjs of the ai/mcp/server/file-system MCP server.

2

What does an attacker need in order to exploit this issue?

An attacker needs to induce an AI agent to invoke one of the affected tools with a caller-controlled absolutePath value. That value is unsafely interpolated into a shell command, allowing arbitrary operating-system command execution.

3

What remediation is identified?

The vulnerability is fixed by commit 88c77fc4.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203