> CVE-2026-49986 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-08-14 17:18
MODIFIED
2026-08-14 17:18
CVSS_SCORE V3
7.1
EPSS (Prob. Exploit)
0.16%
Top 95.2%
DATA SOURCES:
NVD đź”— 2026-08-14 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-10-25 GITHUB đź”— 2026-10-29 OSV đź”— 2026-09-21

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Local (L)
Exploit nécessite un accès local au système
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-829

> CWE DETAILED DESCRIPTIONS

CWE-829: Inclusion of Functionality from Untrusted Control Sphere - The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere.

> GITHUB SECURITY ADVISORY

GHSA-gvpp-v77h-5w8g HIGH

Cortex has Untrusted Project Bootstrap Code Execution via `CLAUDE_PROJECT_DIR`

AFFECTED PACKAGES:
PIP / neuro-cortex-memory
<= 3.17.0
Fixed in: 3.18.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Cortex has Untrusted Project Bootstrap Code Execution via `CLAUDE_PROJECT_DIR`

AFFECTED PACKAGES:
Unknown / Unknown
15 versions affected
ALIASES:
GHSA-gvpp-v77h-5w8g, PYSEC-2026-2676

> HISTORIQUE DES MODIFICATIONS

Première apparition
14/08/2026 17:18
Source: NVD
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-829: Inclusion of Functionality from Untrusted Control Sphere - The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intende...
Total des modifications: 1 Dernière mise à jour: 2 months ago

> REFERENCES

https://github.com/cdeust/Cortex/releases/tag/v3.17.1
https://github.com/cdeust/Cortex/security/advisories/GHSA-gvpp-v77h-5w8g
https://github.com/pypa/advisory-database/tree/main/vulns/neuro-cortex-memory/PY...
« BACK_TO_HOME