CVE-2026-32247 Graphiti vulnerable to Cypher Injection via unsanitized node_labels in search filters
Attackers can execute arbitrary Cypher queries via unsanitized node labels in search filters, potentially compromising data integrity and confidentiality.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-32247?
CVE-2026-32247 is a high-severity code injection vulnerability in getzep graphiti, published on 12 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Graphiti is a framework for building and querying temporal context graphs for AI agents. Graphiti versions before 0.28.2 contained a Cypher injection vulnerability in shared search-filter construction for non-Kuzu backends. Attacker-controlled label values supplied through SearchFilters.node_labels were concatenated directly into Cypher label expressions without validation. In MCP deployments, this was exploitable not only through direct untrusted access to the Graphiti MCP server, but also through prompt injection against an LLM client that could be induced to call search_nodes with attacker-controlled entity_types values. The MCP server mapped entity_types to SearchFilters.node_labels, which then reached the vulnerable Cypher construction path. Affected backends included Neo4j, FalkorDB, and Neptune. Kuzu was not affected by the label-injection issue because it used parameterized label handling rather than string-interpolated Cypher labels. This issue was mitigated in 0.28.2.
Weakness: CWE-943
Which versions are affected by CVE-2026-32247?
3 open source packages ship an affected version, including graphiti-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
graphiti-core PyPI | All versions | 0.28.2 |
graphiti-core PyPI | All versions | 0.28.2 |
graphiti-core PyPI | All versions | 0.28.2 |
Products include Getzep Graphiti.
How do I fix CVE-2026-32247?
Upgrade graphiti-core to 0.28.2 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-32247 being exploited?
There is no known exploitation of CVE-2026-32247 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-gg5m-55jj-8m5g, PYSEC-2026-2504.