Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-18482
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 01:58 UTC · Revision 1
Source evidence
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.
osv:CVE-2026-18482
Complete source record
{
"id": "2bc84dc0578447edc49dc4f7832a8e636a4b235b9cc16a9b7d43c80d2ded8c8a",
"url": "https://osv.dev/vulnerability/CVE-2026-18482",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2026-18482",
"summary": "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.",
"evidence": "osv:CVE-2026-18482",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2026-18482",
"aliases": [
"CVE-2026-18482"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/neomjs/neo",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "5acc564ea1b278bca5fab1f8f397a6ba9b849d75"
},
{
"fixed": "88c77fc4"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "5acc564ea1b278bca5fab1f8f397a6ba9b849d75"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "88c77fc4"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-18482.json"
}
}
],
"modified": "2026-10-28T02:30:32.402145470Z",
"provider": "osv",
"references": [
"https://novice-22.com/posts/neo-mjs/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/18xxx/CVE-2026-18482.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-18482",
"https://github.com/neomjs/neo/commit/5acc564ea1b278bca5fab1f8f397a6ba9b849d75",
"https://github.com/neomjs/neo/commit/88c77fc4"
],
"provider_metadata": {
"cna_assigner": "certcc",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "88c77fc4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/18xxx/CVE-2026-18482.json"
}
},
"related_cves": [
{
"value": "CVE-2026-18482",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 499515,
"published_at": "2026-08-20T12:36:40.567+00:00"
}