CVE-2026–58138
The Conductor workflow engine configured its GraalVM script evaluator with unrestricted host access, allowing Java reflection from task input. An unauthenticated attacker could register and run a workflow containing a crafted expression to execute operating system commands.
medium.com
Published on medium.com
Conductor is a workflow orchestration engine that allows users to execute user-defined JavaScript and Python expressions within INLINE tasks. The root cause of this vulnerability lies in a misconfiguration within this execution engine.
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.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The script evaluator set the GraalVM host access policy to allow all host access, so scripts could use Java reflection to reach classes such as Runtime and execute commands.
Impact
An unauthenticated attacker could completely compromise the workflow engine, access connected datastores and move laterally into downstream systems; the proof of concept returned root-level command output.
What the attacker needed
Network access to workflow endpoints; no authentication required
The fix
The issue was fixed in version 3.30.2 by disabling host class loading and hardening the execution engine so host access and class loading are strictly disabled by default.
How it was found
- Register a workflow whose INLINE task expression contains a reflection payload.
- Execute the registered workflow so the GraalVM engine evaluates the expression.
- Read the command output from the task result field.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Conductor lets people write small scripts inside workflows. The engine gave those scripts full access to the underlying Java system, so a script could ask Java to run operating system commands. Because the workflow endpoints needed no login, anyone who could reach them could run commands on the server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.