Skip to content
HighVulnerability

GHSA-28g4-38q8-3cwc: Flowise: Cypher Injection in GraphCypherQAChain

Published
Record updated
View JSON
Affected
  • flowise-components <= 3.0.13
  • flowise <= 3.0.13
Fixed in
3.1.0

Summary

The GraphCypherQAChain node in Flowise passes user input directly into the Cypher query pipeline without sanitization, in the run method of packages/components/nodes/chains/GraphCypherQAChain/GraphCypherQAChain.ts (lines 193-219). An attacker with access to a vulnerable chatflow prediction endpoint (/api/v1/prediction/{flowId}) can inject arbitrary Cypher executed against the connected Neo4j database, enabling data exfiltration, modification, deletion, and schema discovery. Exploitation requires a chatflow using the Graph Cypher QA Chain node, a Chat Model, and a Neo4j Graph node with valid credentials.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.