Safeguard
Vulnerability Analysis•

CVE-2026-41274: Critical Cypher Injection in Flowise GraphCypherQAChain

CVE-2026-41274 is a Cypher query injection in the Flowise GraphCypherQAChain node before 3.1.0, exposing Neo4j data. Upgrade flowise to 3.1.0 or later.

Safeguard Security Team
2 min read

CVE-2026-41274 is a critical injection flaw (CVSS 9.8) in the Flowise GraphCypherQAChain node. Before 3.1.0, user input goes into the Cypher query pipeline without sanitization, so an attacker can read, change or delete data in the connected Neo4j database. Fixed in 3.1.0.

What's affected

The GitHub advisory lists the npm packages flowise and flowise-components at 3.0.13 and earlier, with 3.1.0 as the patched version. Only chatflows that use the GraphCypherQAChain node and a Neo4j database are in scope.

How to check if you're exposed

npm ls flowise flowise-components

For containers, check the image tag. Then list the flows that use the GraphCypherQAChain node and note which Neo4j database and account each one connects to. The account's privileges decide the damage: a read-only user limits an attacker to reading, while an admin user can change or drop data.

What to do now

  1. Upgrade Flowise to 3.1.0 or later.
  2. Give each Flowise flow a dedicated Neo4j user with the least privileges it needs, ideally read-only.
  3. Disable public access to flows that touch sensitive graph data until you have upgraded.
  4. Review Neo4j query logs for statements you do not recognise.
  5. Take a backup of graph data before any cleanup so you can compare later.

Why it matters

The record lists CWE-943, improper neutralization of special elements in a data query logic. It is the graph database cousin of SQL injection.

The advisory says the node forwards user input into query execution without sanitization. In an LLM chain, the user's words are turned into a query, often by the model itself, so input control and query control blur together. Treat model written queries as untrusted, run them with a low privilege account and prefer parameterized, fixed query shapes where you can. The record does not flag this CVE as known exploited.

Quick check

Does a read-only Neo4j user make this safe?

It limits the damage to reading, which can still expose sensitive data. Upgrade as well.

Sources

Last reviewed: 19 October 2026.

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.