CVE-2026-35216
Budibase: Unauthenticated Remote Code Execution via Webhook Trigger and Bash Automation Step
Budibase is an open-source low-code platform. Prior to version 3.33.4, an unauthenticated attacker can achieve Remote Code Execution (RCE) on the Budibase server by triggering an automation that contains a Bash step via the public webhook endpoint. No authentication is required to trigger the exploit. The process executes as root inside the container. This issue has been patched in version 3.33.4.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
9.1
Budibase: Unauthenticated Remote Code Execution via Webhook Trigger and Bash Automation Step
Budibase is an open-source low-code platform. Prior to version 3.33.4, an unauthenticated attacker can achieve Remote Code Execution (RCE) on the Budibase server by triggering an automation that contains a Bash step via the public webhook endpoint. No authentication is required to trigger the exploit. The process executes as root inside the container. This issue has been patched in version 3.33.4.
- Record
CVE-2026-35216- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-78
- Updated
- 2026-11-02
EUVDEUVD-2026-18795
9.1
Budibase is an open-source low-code platform. Prior to version 3.33.4, an unauthenticated attacker can achieve Remote Code Execution (RCE) on the Budibase server by triggering an automation that contains a Bash step via the public webhook endpoint. No authentication is required to trigger the exploit. The process executes as root inside the container. This issue has been patched in version 3.33.4.
- Record
EUVD-2026-18795- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-fcm4-4pj2-m5hf
9.0
Budibase: Unauthenticated Remote Code Execution via Webhook Trigger and Bash Automation Step
Summary
An unauthenticated attacker can achieve Remote Code Execution (RCE) on the Budibase server by triggering an automation that contains a Bash step via the public webhook endpoint. No authentication is required to trigger the exploit. The process executes as root inside the container.
Details
Vulnerable endpoint — packages/server/src/api/routes/webhook.ts line 13:
// this shouldn't have authorisation, right now its always public
publicRoutes.post("/api/webhooks/trigger/:instance/:id", controller.trigger)
The webhook trigger endpoint is registered on publicRoutes with no authentication
middleware. Any unauthenticated HTTP client can POST to this endpoint.
Vulnerable sink — packages/server/src/automations/steps/bash.ts lines 21–26:
const command = processStringSync(inputs.code, context)
stdout = execSync(command, { timeout: environment.QUERY_THREAD_TIMEOUT }).toString()
The Bash automation step uses Handlebars template processing (processStringSync) on
inputs.code, substituting values from the webhook request body into the shell command
string before passing it to execSync().
Attack chain:
HTTP POST /api/webhooks/trigger/{appId}/{webhookId} ← NO AUTH
↓
controller.trigger() [webhook.ts:90]
↓
triggers.externalTrigger()
↓ webhook fields flattened into automation context
automation.steps[EXECUTE_BASH].run() [actions.ts:131]
↓
processStringSync("{{ trigger.cmd }}", { cmd: "ATTACKER_PAYLOAD" })
↓
execSync("ATTACKER_PAYLOAD") ← RCE AS ROOT
Precondition: An admin must have created and published an automation containing:
- A Webhook trigger
- A Bash step whose
codefield uses a trigger field template (e.g.,{{ trigger.cmd }})
This is a legitimate and documented workflow. Such configurations may exist in production deployments for automation of server-side tasks.
Note on EXECUTE_BASH availability: The bash step is only registered when
SELF_HOSTED=1 (actions.ts line 129), which applies to all self-hosted deployments:
// packages/server/src/automations/actions.ts line 126-132
// don't add the bash script/definitions unless in self host
if (env.SELF_HOSTED) {
ACTION_IMPLS["EXECUTE_BASH"] = bash.run
BUILTIN_ACTION_DEFINITIONS["EXECUTE_BASH"] = automations.steps.bash.definition
}
Webhook context flattening (why {{ trigger.cmd }} works):
In packages/server/src/automations/triggers.ts lines 229–239, for webhook automations
the params.fields are spread directly into the trigger context:
// row actions and webhooks flatten the fields down
else if (sdk.automations.isWebhookAction(automation)) {
params = {
...params,
...params.fields, // { cmd: "PAYLOAD" } becomes top-level
fields: {},
}
}
This means a webhook body {"cmd": "id"} becomes accessible as {{ trigger.cmd }}
in the bash step template.
PoC
Environment
Target: http://TARGET:10000 (any self-hosted Budibase instance)
Tester: Any machine with curl
Auth: Admin credentials required for SETUP PHASE only
Zero auth required for EXPLOITATION PHASE
PHASE 1 — Admin Setup (performed once by legitimate admin)
Note: This phase represents normal Budibase usage. Any admin who creates a webhook automation with a bash step using template variables creates this exposure.
Step 1 — Authenticate as admin:
curl -c cookies.txt -X POST http://TARGET:10000/api/global/auth/default/login \
-H "Content-Type: application/json" \
-d '{
"username": "[email protected]",
"password": "adminpassword"
}'
# Expected response:
# {"message":"Login successful"}
Step 2 — Create an application:
curl -b cookies.txt -X POST http://TARGET:10000/api/applications \
-H "Content-Type: application/json" \
-d '{
"name": "MyApp",
"useTemplate":…
- Record
GHSA-fcm4-4pj2-m5hf- CVSS 3.1
- 9.0 Critical
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-78
- Updated
- 2026-11-02
NVD
9.0
Budibase is an open-source low-code platform. Prior to version 3.33.4, an unauthenticated attacker can achieve Remote Code Execution (RCE) on the Budibase server by triggering an automation that contains a Bash step via the public webhook endpoint. No authentication is required to trigger the exploit. The process executes as root inside the container. This issue has been patched in version 3.33.4.
- Record
CVE-2026-35216- CVSS 3.1
- 9.0 Critical
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-78
- Updated
- 2026-11-02
OSV
9.0
Budibase: Unauthenticated Remote Code Execution via Webhook Trigger and Bash Automation Step
Budibase is an open-source low-code platform. Prior to version 3.33.4, an unauthenticated attacker can achieve Remote Code Execution (RCE) on the Budibase server by triggering an automation that contains a Bash step via the public webhook endpoint. No authentication is required to trigger the exploit. The process executes as root inside the container. This issue has been patched in version 3.33.4.
- Record
CVE-2026-35216- CVSS 3.1
- 9.0 Critical
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-78
- Updated
- 2026-11-02
OSVGHSA-fcm4-4pj2-m5hf
9.0
Budibase: Unauthenticated Remote Code Execution via Webhook Trigger and Bash Automation Step
Summary
An unauthenticated attacker can achieve Remote Code Execution (RCE) on the Budibase server by triggering an automation that contains a Bash step via the public webhook endpoint. No authentication is required to trigger the exploit. The process executes as root inside the container.
Details
Vulnerable endpoint — packages/server/src/api/routes/webhook.ts line 13:
// this shouldn't have authorisation, right now its always public
publicRoutes.post("/api/webhooks/trigger/:instance/:id", controller.trigger)
The webhook trigger endpoint is registered on publicRoutes with no authentication
middleware. Any unauthenticated HTTP client can POST to this endpoint.
Vulnerable sink — packages/server/src/automations/steps/bash.ts lines 21–26:
const command = processStringSync(inputs.code, context)
stdout = execSync(command, { timeout: environment.QUERY_THREAD_TIMEOUT }).toString()
The Bash automation step uses Handlebars template processing (processStringSync) on
inputs.code, substituting values from the webhook request body into the shell command
string before passing it to execSync().
Attack chain:
HTTP POST /api/webhooks/trigger/{appId}/{webhookId} ← NO AUTH
↓
controller.trigger() [webhook.ts:90]
↓
triggers.externalTrigger()
↓ webhook fields flattened into automation context
automation.steps[EXECUTE_BASH].run() [actions.ts:131]
↓
processStringSync("{{ trigger.cmd }}", { cmd: "ATTACKER_PAYLOAD" })
↓
execSync("ATTACKER_PAYLOAD") ← RCE AS ROOT
Precondition: An admin must have created and published an automation containing:
- A Webhook trigger
- A Bash step whose
codefield uses a trigger field template (e.g.,{{ trigger.cmd }})
This is a legitimate and documented workflow. Such configurations may exist in production deployments for automation of server-side tasks.
Note on EXECUTE_BASH availability: The bash step is only registered when
SELF_HOSTED=1 (actions.ts line 129), which applies to all self-hosted deployments:
// packages/server/src/automations/actions.ts line 126-132
// don't add the bash script/definitions unless in self host
if (env.SELF_HOSTED) {
ACTION_IMPLS["EXECUTE_BASH"] = bash.run
BUILTIN_ACTION_DEFINITIONS["EXECUTE_BASH"] = automations.steps.bash.definition
}
Webhook context flattening (why {{ trigger.cmd }} works):
In packages/server/src/automations/triggers.ts lines 229–239, for webhook automations
the params.fields are spread directly into the trigger context:
// row actions and webhooks flatten the fields down
else if (sdk.automations.isWebhookAction(automation)) {
params = {
...params,
...params.fields, // { cmd: "PAYLOAD" } becomes top-level
fields: {},
}
}
This means a webhook body {"cmd": "id"} becomes accessible as {{ trigger.cmd }}
in the bash step template.
PoC
Environment
Target: http://TARGET:10000 (any self-hosted Budibase instance)
Tester: Any machine with curl
Auth: Admin credentials required for SETUP PHASE only
Zero auth required for EXPLOITATION PHASE
PHASE 1 — Admin Setup (performed once by legitimate admin)
Note: This phase represents normal Budibase usage. Any admin who creates a webhook automation with a bash step using template variables creates this exposure.
Step 1 — Authenticate as admin:
curl -c cookies.txt -X POST http://TARGET:10000/api/global/auth/default/login \
-H "Content-Type: application/json" \
-d '{
"username": "[email protected]",
"password": "adminpassword"
}'
# Expected response:
# {"message":"Login successful"}
Step 2 — Create an application:
curl -b cookies.txt -X POST http://TARGET:10000/api/applications \
-H "Content-Type: application/json" \
-d '{
"name": "MyApp",
"useTemplate":…
- Record
GHSA-fcm4-4pj2-m5hf- CVSS 3.1
- 9.0 Critical
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-78
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
@budibase/servernpm |
before 3.33.4 | 3.33.4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-35216 is a critical vulnerability (CVSS 9.1) in Budibase, published April 3, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 10.9%, the 95th percentile. Fixed in @budibase/server 3.33.4.
References
github.com/Budibase/budibase/security/advisories/GHSA-fcm4-4pj2-m5hf
github.com/Budibase/budibase/pull/18238
github.com/Budibase/budibase/commit/f0c731b409a96e401445a6a6030d2994ff4ac256
github.com/Budibase/budibase/releases/tag/3.33.4
nvd.nist.gov/vuln/detail/CVE-2026-35216
github.com/advisories/GHSA-fcm4-4pj2-m5hf
github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35216.json
github.com/Budibase/budibase
Left out here: the rest of 2 source descriptions. The JSON record has them.