All vulnerabilities

Servers and applications

CVE-2026-41274

Cypher Injection in GraphCypherQAChain

Severity
Critical 9.3
Published
15 Apr 2026
Last changed
26 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
3.1.0
Exploit chance
0.5% in the next 30 daysHigher than 43% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
NoSQL injection (CWE-943)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Also known as
GHSA-28g4-38q8-3cwc
Sources
NVD, Project advisories (GitHub)

Description

The GraphCypherQAChain node forwards user-provided input directly into the Cypher query execution pipeline without proper sanitization. An attacker can inject arbitrary Cypher commands that are executed on the underlying Neo4j database, enabling data exfiltration, modification, or deletion.

To exploit this vulnerability, the following conditions must be met:

  • Neo4j Database: A Neo4j instance must be connected to the Flowise server
  • Vulnerable Chatflow Configuration:
  • A chatflow containing the Graph Cypher QA Chain node
  • Connected to a Chat Model (e.g., ChatOpenAI)
  • Connected to a Neo4j Graph node with valid credentials
  • API Access: Access to the chatflow's prediction endpoint (/api/v1/prediction/{flowId})

In GraphCypherQAChain.ts, the run method passes user input directly to the chain without sanitization:

An attacker with access to a vulnerable chatflow can:

From FlowiseAI/Flowise's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
FlowiseServers and applications · cpe:a:flowiseai:flowise
  • Every version before 3.1.0
FlowiseServers and applications · github:flowiseai/flowise
  • Every version before 3.1.0

About Flowise

Build AI Agents, Visually

From its GitHub repository.
Archived
Yes, no longer maintainedGitHub
Weekly downloads (npm)
6,604npm, 15 Nov 2026
Docker Hub pulls
7,390,661Docker Hub, 15 Nov 2026
GitHub stars
55,573GitHub, 15 Nov 2026
Forks
25,094GitHub, 15 Nov 2026
Latest release
[email protected]GitHub, 15 Nov 2026
Released
29 Jul 2026GitHub
First published on GitHub
31 Mar 2023GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-41274
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-41274
  • GitHub Advisory Database https://github.com/advisories/GHSA-28g4-38q8-3cwc
  • github.com https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-28g4-38q8-3cwc