Add Flowise CSV Agent Prompt Injection RCE module (CVE-2026-41264)#21407
Open
Takahiro-Yoko wants to merge 5 commits into
Open
Add Flowise CSV Agent Prompt Injection RCE module (CVE-2026-41264)#21407Takahiro-Yoko wants to merge 5 commits into
Takahiro-Yoko wants to merge 5 commits into
Conversation
| version = flowise_get_version | ||
| return CheckCode::Unknown('Could not retrieve Flowise version.') unless version | ||
|
|
||
| return CheckCode::Appears("Flowise version #{version} detected") if version <= Rex::Version.new('3.0.13') |
Contributor
There was a problem hiding this comment.
Is there a lower bound?
Contributor
Author
There was a problem hiding this comment.
Thanks! Although this has not been explicitly tested (yet), there appears to be no lower bound.
Contributor
Author
| fail_with(Failure::Unknown, 'Failed to create a chatflow.') unless res.code == 200 | ||
| @id = res.get_json_document['id'] | ||
|
|
||
| send_request_cgi({ |
Contributor
There was a problem hiding this comment.
Do we need to check the response here?
Co-authored-by: msutovsky-r7 <martin_sutovsky@rapid7.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


CVE-2026-41264
GHSA-3hjv-c53m-58jj
Vulnerable Application
This vulnerability allows remote attackers to execute arbitrary code on affected installations of FlowiseAI Flowise.
Authentication is not required to exploit this vulnerability.
The specific flaw exists within the run method of the CSV_Agents class.
The issue results from the lack of proper sandboxing when evaluating an LLM generated python script.
An attacker can leverage this vulnerability to execute code in the context of the user running the server.
The vulnerability affects:
This module was successfully tested on:
Installation
docker run --name flowise -p 3000:3000 flowiseai/flowise:3.0.13On an attacker machineCreate API Key (need chatflows:create permission for exploit to work)Verification Steps
use exploit/multi/http/flowise_auth_rce_cve_2026_41264.rbrun lhost=<lhost> rhost=<rhost> apikey=<apikey> ollamaapiuri=<ollamaapiuri> model=<model>Scenarios
cmd/linux/http/x64/meterpreter_reverse_tcp