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.
CVE-2026-49986
This high-severity CVE scores 7.1 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.1%, top 98% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.1
- EG Score
- 7.1(medium)
- EG Risk
- 48(Track*)EG Risk 48/100SSVC: Track*
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity71% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Watch closely — could escalate to Attend. - EPSS PROB
- 0%
- EPSS %ILE
- 2%
- KEV
- Not listed
Published
July 1, 2026
Last Modified
August 17, 2026
Advisory Details (3)
Auto-updated Aug 14, 2026advisory-database/vulns/neuro-cortex-memory/PYSEC-2026-2676.yaml at main · pypa/advisory-database · GitHub
https://github.com/pypa/advisory-database/tree/main/vulns/neuro-cortex-memory/PYSEC-2026-2676.yamlv3.17.1 — Security: GHSA-gvpp-v77h-5w8g (untrusted dev-source ACE)
Patch available: cdeust/Cortex v3.17.1
https://github.com/cdeust/Cortex/releases/tag/v3.17.1Untrusted Project Bootstrap Code Execution via `CLAUDE_PROJECT_DIR` · Advisory · cdeust/Cortex · GitHub
https://github.com/cdeust/Cortex/security/advisories/GHSA-gvpp-v77h-5w8gVendor Advisories for CVE-2026-49986(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| neuro-cortex-memory | 2.0.0 ... 3.9.1 (36 versions) | 3.18.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 12× in last 7d / 25× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-25 16:17 UTCEG score recompute
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-24 22:59 UTCEG score recompute
- 2026-08-24 10:51 UTCEG score recompute
- 2026-08-23 08:02 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 07:00 UTCEG score recompute
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 05:07 UTCEG score recompute
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 04:38 UTCEG score recompute
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-18 20:57 UTCEG score recompute
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 20:31 UTCEG score recompute
- 2026-08-17 19:50 UTCEG score recompute
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-16 18:18 UTCEG score recompute
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 06:09 UTCEG score recompute
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-14 17:44 UTCEG score recompute
- 2026-08-14 16:44 UTCEG score recompute▲ 7.10
- 2026-08-14 16:44 UTCMITRE cvelistV5CVSS v3 → 7.1 · CVSS v4 → 7.1
- 2026-08-01 07:24 UTCEG score recompute
Show 3 moreShow fewer
- 2026-07-26 13:15 UTCEG score recompute
- 2026-07-23 03:18 UTCEG score recompute
- 2026-07-01 19:02 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-829
- CVE-2021-41037EG 10.0CRITICAL
- CVE-2022-1161EG 10.0EPSS p92CRITICAL
- CVE-2020-4561EG 10.0CRITICAL
- CVE-2022-24119EG 9.8CRITICAL
- CVE-2020-16152EG 9.8EPSS p98CRITICAL
- CVE-2021-21804EG 9.8CRITICAL
- CVE-2020-25414EG 9.8CRITICAL
- CVE-2020-3794EG 9.8EPSS p94CRITICAL
- CVE-2020-8128EG 9.8CRITICAL
- CVE-2012-4919EG 9.8CRITICAL
Frequently asked(5)
What is CVE-2026-49986?
When was CVE-2026-49986 disclosed?
Is CVE-2026-49986 actively exploited?
What is the CVSS score of CVE-2026-49986?
How do I remediate CVE-2026-49986?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-49986
Is Your Infrastructure Affected by CVE-2026-49986?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.