CVE-2026-18482: Neo.mjs - Command Injection
- Cve: CVE-2026-18482
- Name: Neo.mjs - Command Injection
- 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.
- Impact: AI agents can execute arbitrary OS commands, potentially leading to full system compromise.
- Remediation: Apply commit 88c77fc or update to the fixed version containing this commit.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirements: AI agent must invoke vulnerable functions
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.03431
- Epss percentile: 0.89251
- Assignee: [email protected]
- Published at: 2026-08-20T13:16:58Z
- Age in days: 96
- Modified at: 2026-09-03T17:42:23Z
- References total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-18482
- Nvd status: awaiting_analysis
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
References
Same in every row:
- Source: nvd
- Tags:
| Url |
|---|
| https://github.com/neomjs/neo/commit/5acc564ea1b278bca5fab1f8f397a6ba9b849d75 |
| https://github.com/neomjs/neo/commit/88c77fc4 |
| https://novice-22.com/posts/neo-mjs/ |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| neomjs/neo | commit | yes | /v1/repositories/neomjs/neo |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts