CVE-2026-49986
Last modified
CVE-2026-49986 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. The Cortex MCP server (`neuro-cortex-memory`), a cross-platform persistent memory MCP, prior to version 3.17.1 treats the `CLAUDE_PROJECT_DIR` environment variable — automatically set by Claude Code to the currently open project directory — as a trusted Cortex developer checkout. When the `open_visualization` tool is invoked, `_find_dev_source()` resolves the user's active project directory as a candidate Cortex source root. EPSS estimates a 0.11% chance of exploitation in the next 30 days.
Description
The Cortex MCP server (`neuro-cortex-memory`), a cross-platform persistent memory MCP, prior to version 3.17.1 treats the `CLAUDE_PROJECT_DIR` environment variable — automatically set by Claude Code to the currently open project directory — as a trusted Cortex developer checkout. When the `open_visualization` tool is invoked, `_find_dev_source()` resolves the user's active project directory as a candidate Cortex source root. The only validation performed by `_is_cortex_root()` is a check for the presence of an `mcp_server/` subdirectory and a `ui/unified-viz.html` file. An attacker who places these two marker files in a malicious repository can cause Cortex to execute an arbitrary `mcp_server/server/visualize_bootstrap.py` from that directory via `subprocess.run([sys.executable, ...])`, achieving code execution with the privileges of the victim's local user process. Version 3.17.1 fixes the issue.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| cdeust | Cortex | < 3.17.1 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-49986?
How severe is CVE-2026-49986?
How do I fix CVE-2026-49986?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-4998A weakness has been identified in Sinaptik AI PandasAI up to…7.3
- CVE-2026-49980Rclone is a command-line program to sync files and directori…9.8
- CVE-2026-49981Twig is a template language for PHP. Prior to 3.27.0, the pe…8.2
- CVE-2026-49982tmp is a temporary file and directory creator for node.js. I…8.2
- CVE-2026-49983Deno is a JavaScript, TypeScript, and WebAssembly runtime. P…5.2
- CVE-2026-49984Kestra is an open-source, event-driven orchestration platfor…7.7
- CVE-2026-49987Repomix is a tool that packs repositories into AI-friendly f…8.8
- CVE-2026-49988Repomix is a tool that packs repositories into AI-friendly f…5.5
- CVE-2026-49989CrateDB is a distributed SQL database. Prior to versions 6.2…7.1
- CVE-2026-4999A security vulnerability has been detected in z-9527 admin u…6.3
- CVE-2026-49991RustFS is a distributed object storage system built in Rust.…8.6
- CVE-2026-49992Kimai is an open-source time tracking application. Versions …6.3
Are you affected by CVE-2026-49986?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
