Skip to main content

Budibase EUVDEUVD-2026-136578

| CVE-2026-137496 HIGH
Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336)
2026-11-26 VulnCheck
7.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privilege table-read user
  2. Delivery
    Inject {{ js }} Handlebars helper into search filter value
  3. Exploit
    enrichSearchContext runs base64 JS in isolated-vm sandbox
  4. Execution
    Read user context ($user.oauth2 tokens)
  5. Impact
    Exfiltrate SSO OAuth2 access/refresh tokens

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
Exploitation Conditions

Requires an authenticated Budibase account holding TABLE READ permission on a table, and a default deployment where JavaScript helpers are enabled - i.e. the NO_JS environment variable is NOT set (the default) and setJSRunner() has initialized the JS runner at startup, so the Handlebars 'js' helper is active even when noHelpers is true. The attacker sends a POST to the row search endpoint (/api/<TABLE_ID>/search) with a query filter value containing {{ js "<base64>" }}. Limiting factors: exploitation is gated behind valid authentication plus table-read authorization (not anonymous); the highest-value outcome - theft of OAuth2 access/refresh tokens - only applies to environments with SSO/OAuth2 users whose bindings populate user context; code execution is confined to an isolated-vm sandbox; and DoS is bounded by JS_RUNNER_MEMORY_LIMIT and JS_PER_INVOCATION_TIMEOUT_MS. Deployments that set NO_JS are not exploitable via this path.

Impact

This is a moderate, authentication-gated priority rather than an internet-wide emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N, VC:H/VI:L/VA:L, base 7.2) and the vendor evidence agree on mechanism: a network-reachable, low-complexity flaw that requires authenticated access (PR:L) - specifically a user holding TABLE READ permission - so it is not exploitable by anonymous attackers. The vuln.today decision label is 'this_week' and VulnCheck is the reporting source, which signals meaningful but not top-tier urgency. No EPSS score is provided and there is no CISA KEV listing, so there is no evidence of mass or automated exploitation; the SSTI executes inside an isolated-vm sandbox, which caps the technical impact to data disclosure (OAuth2 access/refresh tokens for SSO users) and limited DoS rather than full host RCE. A detailed public PoC reference exists in the GHSA advisory (HTTP request plus base64 payloads), which raises practical exploitability for anyone with a valid low-privilege account. Net: treat as a real but access-limited priority - patch within the vendor/priority window, prioritizing instances that use SSO/OAuth2 and allow many low-trust users to hold table read rights.

Exploit ScenarioDerived

An authenticated Budibase user who only holds TABLE READ permission submits a crafted row-search request whose filter value contains a Handlebars js helper (e.g. {{ js "<base64>" }}), which enrichSearchContext() evaluates server-side in an isolated-vm sandbox. The injected JavaScript reads the template context via $("user.oauth2.accessToken"), exfiltrating OAuth2 access/refresh tokens of SSO users, or runs a busy loop to cause denial of service. A working-looking PoC with base64 timing and context-access payloads is published in the GHSA advisory, lowering the bar to reproduce.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 26, 2026

Budibase Server deployments prior to 4.0.0 expose a server-side template injection path in the row search endpoint: any authenticated account holding TABLE READ permission on a table can place {{ js "<base64>" }} into a search filter value, and the value is rendered as a Handlebars template with the js helper active, so base64-encoded JavaScript runs inside the server's isolated-vm sandbox. From that sandbox context an attacker can reach user bindings including OAuth2 access and refresh tokens for SSO users, and can also burn CPU up to the configured runner memory and per-invocation time limits, making denial of service possible but bounded. Exploitation is gated behind a valid login plus table-read authorization, and is not reported as actively exploited (no CISA KEV listing); the vendor advisory itself documents a working proof-of-concept request, but it is not verified as distributed exploit code, and the priority call is this_week rather than emergency.

RemediationAI

Upgrade to Budibase 4.0.0 or later, which is the vendor-released patch for this issue (npm @budibase/server 4.0.0); the advisory at https://github.com/Budibase/budibase/security/advisories/GHSA-w7m4-jhq6-jmrg tracks the fix. If upgrading cannot happen immediately, set the NO_JS environment variable on the server, which makes isJSAllowed() return false and causes processJS() to throw before any payload is decoded or executed; the trade-off is that every legitimate JavaScript binding, automation and custom query relying on the js helper stops working until the variable is removed, so this suits environments that do not use JS-backed bindings but is disruptive elsewhere. Tightening the blast radius independently is worthwhile: review which accounts hold TABLE READ permission and remove it from users who do not need it (this reduces the population of accounts that can reach the vulnerable path but does not close the flaw), and for SSO-heavy deployments rotate OAuth2 access and refresh tokens and review third-party OAuth2 provider logs for use of tokens tied to Budibase user bindings, since those credentials are the primary data at risk. Administrators should also review the configured JS_RUNNER_MEMORY_LIMIT and JS_PER_INVOCATION_TIMEOUT_MS values, which bound but do not prevent the denial-of-service component, and validate the NO_JS setting explicitly rather than assuming the default on instances configured by others.

Affected VersionsENISA

Server 0 <4.0.0

Affected Packages

euvd server fix: 4.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw sits in Budibase's string-templates package and its interaction with the row search controller. In src/packages/server/src/api/controllers/row/utils/utils.ts, enrichSearchContext() walks the user-supplied search query object and passes every string value through processStringSync() with noEscaping and escapeNewlines set, and with helpers enabled (noHelpers: !helpers). Because the js helper is registered through registerMinimum() as part of the HELPERS array, it remains available even if helper suppression were requested. The js helper calls processJS(), which base64-decodes the supplied payload and executes it via IsolatedVM.execute(); isJSAllowed() returns true unless the NO_JS environment variable is set, and the runner is wired at startup via setJSRunner() in startup/index.ts, so a stock deployment has JavaScript execution enabled. The Helper class wrapper hands info.data.root - the template context, which the search controller populates with sdk.users.getUserContextBindings(ctx.user) - into processJS() as the sandbox context, which is why $("user.email") or $("user.oauth2.accessToken") resolve inside the injected script. The root cause class is CWE-1336, improper neutralization of special elements used in a template engine: user-controlled data reaches a template evaluator rather than being treated as an inert filter literal. Containment comes only from the isolated-vm sandbox, which is bounded by JS_RUNNER_MEMORY_LIMIT and JS_PER_INVOCATION_TIMEOUT_MS; the sandbox limits blast radius but does not prevent the token exposure, which stems from what the context object contains rather than from a sandbox escape.

Know when Budibase gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.2 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 7.6 HIGH

Network-reachable search endpoint (AV:N/AC:L) but requires an authenticated table-read user (PR:L); sandboxed JS yields high confidentiality (OAuth2 token theft) with only limited integrity and bounded DoS impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 26, 2026 - 17:02 EUVD
CVE Published
Nov 26, 2026 - 16:01 cve.org
HIGH 7.2

DescriptionCVE.org

Budibase before 4.0.0 contains a server-side template injection vulnerability that allows authenticated users with table read permission to execute JavaScript by injecting Handlebars js helpers into row search query values. Attackers can submit base64-encoded JavaScript through the search endpoint, which enrichSearchContext() runs in an isolated-vm sandbox, to read OAuth2 access and refresh tokens of SSO users or cause denial of service.

Technical POC Analysis

CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine) - server-side template injection in Budibase's own row-search enrichment.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-137496 is a high-severity server-side template injection vulnerability in Budibase Server versions prior to 4.0.0. Any authenticated user with basic table-read permissions can potentially execute arbitrary JavaScript within the server's sandbox, risking exposure of OAuth2 tokens for SSO users and enabling bounded denial-of-service. While not currently known to be actively exploited, the availability of a working proof-of-concept and the low privilege barrier make this a priority for remediation this week.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting access to Budibase Server to trusted networks, enforcing strict least-privilege on table read permissions, and monitoring for anomalous requests to row search endpoints. Disabling the Handlebars js helper if feasible, though this may impact functionality.

Threat Intelligence Overview

EPSS Score
0.6%
Top 59% exploitable
Prevalence
Low
self-hosted open-source low-code platform, niche deployment footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2026-27702 CRITICAL POC
9.9 Feb 25

Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal

CVE-2026-73300 CRITICAL POC
9.6 Aug 12

SQL injection in Budibase's MySQL integration (all versions prior to 3.40.0) lets attackers execute arbitrary, stacked S

CVE-2026-31816 CRITICAL POC
9.1 Mar 09

Authorization bypass in Budibase 3.31.4 and earlier. The authorized() middleware can be bypassed, enabling injection att

CVE-2026-41428 CRITICAL POC
9.1 Apr 24

Authentication bypass in Budibase low-code platform (versions prior to 3.35.4) allows remote unauthenticated attackers t

CVE-2026-25040 HIGH POC
8.8 Jan 29

Budibase is a low code platform for creating internal tools, workflows, and admin panels. [CVSS 8.8 HIGH]

CVE-2026-122247 HIGH POC
8.2 Nov 20

Unauthenticated remote attackers can defeat the one-time initialization lock on self-hosted, single-tenant Budibase depl

CVE-2026-73406 HIGH POC
7.5 Aug 12

Unauthenticated user enumeration and metadata disclosure in Budibase prior to 3.39.32 exposes tenant identifiers, email

CVE-2026-31818 CRITICAL
9.9 Apr 03

Server-Side Request Forgery (SSRF) in Budibase's REST datasource connector (versions prior to 3.33.4) allows authenticat

CVE-2026-73308 MEDIUM POC
5.7 Aug 12

OAuth2 access and refresh token theft in Budibase's automation testing pipeline exposes SSO-authenticated builder creden

CVE-2022-3225 MEDIUM POC
5.7 Sep 16

Improper Control of Dynamically-Managed Code Resources in GitHub repository budibase/budibase prior to 1.3.20. Rated med

CVE-2026-30240 CRITICAL
9.6 Mar 09

Path traversal in Budibase low-code platform 3.31.5 and earlier allows attackers to read arbitrary files through the app

CVE-2026-82244 CRITICAL
9.4 Aug 28

Remote code execution in Budibase self-hosted server before 3.41.3 lets authenticated administrators run arbitrary JavaS

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy