Graphiti vulnerable to Cypher Injection via unsanitized node_labels in search filters
CVE-2026-32247 · GHSA-gg5m-55jj-8m5g · published 2026-03-12 · updated 2026-03-13
- Severity
- High
- CVSS score
- 8.1
- Chance of exploitation (EPSS)
- 0.42%
- Fixed in
- 0.28.2
- Exploitation No known exploitation
- Automatable No
- Technical impact Total
- CISA SSVC
Successful exploitation could allow arbitrary Cypher execution within the privileges of the configured graph database connection, including: reading graph data outside the intended search scope modifying graph data deleting graph data bypassing logical group isolation enforced at the query layer
Upgrade graphiti-core to 0.28.2 or later.
0.28.2
Upgrade to 0.28.2 or later. Version 0.28.2 added: validation of SearchFilters.node_labels defense-in-depth label validation in shared search-filter constructors validation of entity node labels in persistence query builders validation of group_ids in shared search fulltext helpers If you cannot upgrade immediately: do not expose Graphiti MCP tools to untrusted users or to LLM workflows that process untrusted prompt content avoid passing untrusted values into SearchFilters.node_labels or MCP entity_types restrict graph database credentials to the minimum privileges required
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| graphiti-core | PyPI | <= 0.28.1 | 0.28.2 |
- CriticalLiteLLM has SQL Injection in Proxy API key verificationlitellmExploited
- Criticaln8n Vulnerable to Remote Code Execution via Expression Injectionn8nExploited
- HighLiteLLM has a sandbox escape in custom-code guardraillitellmExploited
- HighLangflow affected by Remote Code Execution via validate_code() exec()langflowExploited
- Criticalgit_add runs submodule filter commands when gitlink mode is not 160000mcp-server-git
- Criticalmcp-server-git: unexpandable sparse index lets submodule filter drivers runmcp-server-git
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.