CVE-2024-31621 Flowise vulnerable to code injection via api/v1
Remote attackers can execute arbitrary code in Flowise via crafted scripts, requiring immediate upgrades to secure the application.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-31621?
CVE-2024-31621 is a high-severity code injection vulnerability in Flowiseai Flowise, published on 29 Apr 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
An issue in FlowiseAI Inc Flowise v.1.6.2 and before allows a remote attacker to execute arbitrary code via a crafted script to the api/v1 component.
Weakness: CWE-94
Which versions are affected by CVE-2024-31621?
2 open source packages ship an affected version, including flowise. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
flowise npm | All versions | 1.8.1 |
flowise npm | All versions | 1.8.1 |
Products include Flowiseai Flowise.
How do I fix CVE-2024-31621?
Upgrade flowise to 1.8.1 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-31621 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-31621 exists.
Public exploit code: 1 Exploit-DB entry and 1 Nuclei template.
Other vulnerabilities in Flowiseai Flowise
- CVE-2025-71338 Flowise through 2.2.7 - Arbitrary File Write to Remote Code Execution via document-store API
- CVE-2026-40933 Flowise: Authenticated RCE Via MCP Adapters
- CVE-2025-61913 Flowise is vulnerable to arbitrary file read, arbitrary file write
- CVE-2025-59528 Flowise has Remote Code Execution vulnerability
- CVE-2026-52098 Code injection in n/a
Sources
Also known as GHSA-6wp6-22x5-rr3w.