Lookup for vulnerable packages by Package URL.

Purlpkg:pypi/graphiti-core@0.18.8
Typepypi
Namespace
Namegraphiti-core
Version0.18.8
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version0.28.2
Latest_non_vulnerable_version0.28.2
Affected_by_vulnerabilities
0
url VCID-zdvn-y9kr-s3f1
vulnerability_id VCID-zdvn-y9kr-s3f1
summary
Graphiti vulnerable to Cypher Injection via unsanitized node_labels in search filters
### Summary

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

### Affected Versions

- `0.28.1` and earlier

### Fixed Version

- `0.28.2`

### Affected Components

- Graphiti Core search filter construction
- Graphiti MCP Server `search_nodes` when used by an LLM client processing untrusted prompts

### Technical Details

Before `0.28.2`, Graphiti joined `SearchFilters.node_labels` with `|` and inserted the result directly into Cypher label expressions in the shared search-filter constructors used by non-Kuzu providers.

The vulnerable logic was effectively:

- `node_labels = '|'.join(filters.node_labels)`
- `node_label_filter = 'n:' + node_labels`

The same pattern was also used in edge-search filter construction.

In MCP deployments, `search_nodes` accepted an `entity_types` argument and passed it directly to `SearchFilters(node_labels=entity_types)`. An attacker who could influence prompts processed by an LLM client with Graphiti MCP access could use prompt injection to steer the model into invoking `search_nodes` with crafted `entity_types` values containing Cypher syntax. Those values would then be interpolated into Cypher before `0.28.2`.

### Impact

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

### Additional Note on `group_ids`

Separately, the original report also identified a narrower issue in fulltext search query construction for unvalidated `group_ids`. That issue was distinct from the Cypher label-injection path described above and was also mitigated in `0.28.2`.

### Mitigation

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

### Workarounds

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

### Credits

@4n93L for their original report.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-32247
reference_id
reference_type
scores
0
value 0.00018
scoring_system epss
scoring_elements 0.04679
published_at 2026-06-06T12:55:00Z
1
value 0.00018
scoring_system epss
scoring_elements 0.04628
published_at 2026-06-08T12:55:00Z
2
value 0.00018
scoring_system epss
scoring_elements 0.04666
published_at 2026-06-07T12:55:00Z
3
value 0.00018
scoring_system epss
scoring_elements 0.0469
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-32247
1
reference_url https://github.com/getzep/graphiti
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/getzep/graphiti
2
reference_url https://github.com/getzep/graphiti/commit/7d65d5e77e89a199a62d737634eaa26dbb04d037
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-03-13T16:17:48Z/
url https://github.com/getzep/graphiti/commit/7d65d5e77e89a199a62d737634eaa26dbb04d037
3
reference_url https://github.com/getzep/graphiti/pull/1312
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-03-13T16:17:48Z/
url https://github.com/getzep/graphiti/pull/1312
4
reference_url https://github.com/getzep/graphiti/releases/tag/v0.28.2
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-03-13T16:17:48Z/
url https://github.com/getzep/graphiti/releases/tag/v0.28.2
5
reference_url https://github.com/getzep/graphiti/security/advisories/GHSA-gg5m-55jj-8m5g
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-03-13T16:17:48Z/
url https://github.com/getzep/graphiti/security/advisories/GHSA-gg5m-55jj-8m5g
6
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-32247
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-32247
7
reference_url https://github.com/advisories/GHSA-gg5m-55jj-8m5g
reference_id GHSA-gg5m-55jj-8m5g
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-gg5m-55jj-8m5g
fixed_packages
0
url pkg:pypi/graphiti-core@0.28.2
purl pkg:pypi/graphiti-core@0.28.2
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/graphiti-core@0.28.2
aliases CVE-2026-32247, GHSA-gg5m-55jj-8m5g
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-zdvn-y9kr-s3f1
Fixing_vulnerabilities
Risk_score4.0
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:pypi/graphiti-core@0.18.8