CVE-2024-31621 Flowise vulnerable to code injection via api/v1

High 7.6 Published Updated

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.

PackageAffectedFixed in
flowise npmAll versions1.8.1
flowise npmAll versions1.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.

All Flowiseai Flowise vulnerabilities

Sources

Also known as GHSA-6wp6-22x5-rr3w.

Is CVE-2024-31621 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free