Home

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.

PUBLISHED Reserved 2026-03-11 | Published 2026-03-12 | Updated 2026-03-13 | Assigner GitHub_M




HIGH: 8.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Problem types

CWE-943: Improper Neutralization of Special Elements in Data Query Logic

Product status

< 0.28.2
affected

References

github.com/...aphiti/security/advisories/GHSA-gg5m-55jj-8m5g

github.com/getzep/graphiti/pull/1312

github.com/...ommit/7d65d5e77e89a199a62d737634eaa26dbb04d037

github.com/getzep/graphiti/releases/tag/v0.28.2

cve.org (CVE-2026-32247)

nvd.nist.gov (CVE-2026-32247)

Download JSON