CVE-2026-18482: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Klarso GmbH neo-mjs
CVE-2026-18482 is a command injection vulnerability in Klarso GmbH's neo-mjs product. The flaw exists in the FileSystemService.mjs component of the ai/mcp/server/file-system MCP server, specifically in the checkSyntax() and runPlaywrightTest() functions. These functions unsafely interpolate user-controlled absolutePath values into shell commands, allowing an attacker to execute arbitrary OS commands if an AI agent is tricked into invoking these functions. A commit identified as 88c77fc addresses and fixes this vulnerability.
AI Analysis
Technical Summary
The vulnerability CVE-2026-18482 in neo-mjs arises from improper neutralization of special elements used in OS commands (CWE-78). The FileSystemService.mjs component's checkSyntax() and runPlaywrightTest() functions incorporate caller-controlled absolutePath parameters directly into shell commands without proper sanitization. This unsafe interpolation enables an attacker to execute arbitrary operating system commands if they can induce an AI agent to call these functions with crafted input. The issue has been fixed in commit 88c77fc.
Potential Impact
Successful exploitation allows arbitrary OS command execution on the affected system, which could lead to full system compromise depending on the privileges of the executing process. This could enable attackers to manipulate files, execute malicious code, or disrupt service. There are no known exploits in the wild at this time.
Mitigation Recommendations
A fix is available and has been implemented in commit 88c77fc. Users of neo-mjs should apply this official fix to remediate the vulnerability. No additional mitigation guidance is provided or required beyond applying the patch.
CVE-2026-18482: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Klarso GmbH neo-mjs
Description
CVE-2026-18482 is a command injection vulnerability in Klarso GmbH's neo-mjs product. The flaw exists in the FileSystemService.mjs component of the ai/mcp/server/file-system MCP server, specifically in the checkSyntax() and runPlaywrightTest() functions. These functions unsafely interpolate user-controlled absolutePath values into shell commands, allowing an attacker to execute arbitrary OS commands if an AI agent is tricked into invoking these functions. A commit identified as 88c77fc addresses and fixes this vulnerability.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-18482 in neo-mjs arises from improper neutralization of special elements used in OS commands (CWE-78). The FileSystemService.mjs component's checkSyntax() and runPlaywrightTest() functions incorporate caller-controlled absolutePath parameters directly into shell commands without proper sanitization. This unsafe interpolation enables an attacker to execute arbitrary operating system commands if they can induce an AI agent to call these functions with crafted input. The issue has been fixed in commit 88c77fc.
Potential Impact
Successful exploitation allows arbitrary OS command execution on the affected system, which could lead to full system compromise depending on the privileges of the executing process. This could enable attackers to manipulate files, execute malicious code, or disrupt service. There are no known exploits in the wild at this time.
Mitigation Recommendations
A fix is available and has been implemented in commit 88c77fc. Users of neo-mjs should apply this official fix to remediate the vulnerability. No additional mitigation guidance is provided or required beyond applying the patch.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- certcc
- Date Reserved
- 2026-07-31T12:46:16.513Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a86f8a8acd9273b499fec2e
Added to database: 08/20/2026, 12:52:56 UTC
Last enriched: 08/20/2026, 13:08:15 UTC
Last updated: 08/20/2026, 13:12:08 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.