Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-31621: n/a

0
High
VulnerabilityCVE-2024-31621cvecve-2024-31621
Published: Mon Apr 29 2024 (04/29/2024, 00:00:00 UTC)
Source: CVE Database V5

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/26/2026, 12:41:11 UTC

Technical Analysis

CVE-2024-31621 is a remote code execution (RCE) vulnerability identified in FlowiseAI Inc's Flowise software, specifically versions 1.6.2 and earlier. The vulnerability resides in the api/v1 component, where insufficient validation or sanitization of input scripts allows an attacker to inject and execute arbitrary code remotely. This is categorized under CWE-94, which involves improper control of code injection, a common vector for RCE attacks. The attacker needs network access and low-level privileges but does not require user interaction, making exploitation feasible in many scenarios where the API is exposed. The CVSS 3.1 base score of 7.6 reflects a high severity due to the ease of exploitation (low attack complexity), no user interaction, and the potential for significant integrity impact by executing arbitrary code. Confidentiality impact is limited, and availability impact is low but present. No patches or exploit code are currently publicly available, but the vulnerability poses a serious risk to environments running vulnerable Flowise versions, especially those exposing the API endpoint to untrusted networks. The lack of patch links suggests that a fix may be forthcoming or that users must apply mitigations manually. This vulnerability can lead to full system compromise if exploited, as arbitrary code execution often allows attackers to escalate privileges or move laterally within a network.

Potential Impact

The impact of CVE-2024-31621 on organizations worldwide can be severe. Successful exploitation allows remote attackers to execute arbitrary code on systems running vulnerable versions of Flowise, potentially leading to unauthorized control over affected systems. This can compromise the integrity of AI workflows, data processed by Flowise, and the underlying infrastructure. Attackers could manipulate AI models, inject malicious payloads, or disrupt AI services, impacting business operations and trust in AI outputs. Although confidentiality impact is limited, the integrity and availability of AI services can be significantly affected, leading to operational downtime or corrupted AI outputs. Organizations relying on Flowise for AI development or deployment may face increased risk of targeted attacks, especially if the API is exposed to external networks without proper access controls. The absence of known exploits in the wild currently reduces immediate risk but does not eliminate the threat, as attackers may develop exploits rapidly once details are public. Industries with high AI adoption, including technology, finance, healthcare, and government sectors, could face heightened risk due to the critical nature of AI services.

Mitigation Recommendations

To mitigate CVE-2024-31621, organizations should implement the following specific measures: 1) Immediately restrict access to the api/v1 endpoint of Flowise to trusted internal networks only, using network segmentation and firewall rules to prevent exposure to untrusted sources. 2) Implement strict input validation and sanitization on all scripts or commands sent to the API to prevent injection of malicious code. 3) Monitor API logs for unusual or suspicious script submissions that could indicate exploitation attempts. 4) Apply the latest patches or updates from FlowiseAI as soon as they become available; if no official patch exists, consider temporarily disabling or isolating the vulnerable API component. 5) Employ runtime application self-protection (RASP) or web application firewalls (WAF) with custom rules to detect and block malicious payloads targeting the API. 6) Conduct regular security assessments and penetration testing focused on API security to identify and remediate weaknesses. 7) Educate developers and administrators about secure coding practices related to script execution and API security to prevent similar vulnerabilities in future releases.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
mitre
Date Reserved
2024-04-05T00:00:00.000Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6dd4b7ef31ef0b58ef95

Added to database: 2/25/2026, 9:47:00 PM

Last enriched: 2/26/2026, 12:41:11 PM

Last updated: 4/12/2026, 7:55:33 AM

Views: 12

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses