---
id: CVE-2026-137496
title: >-
  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
summary: >-
  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…
severity: high
cvss: 7.6
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L'
cwe:
  - CWE-1336
published: '2026-11-26'
updated: '2026-11-30'
sourceUpdated: '2026-11-30T15:17:18.910'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-137496'
references:
  - url: >-
      https://github.com/Budibase/budibase/security/advisories/GHSA-w7m4-jhq6-jmrg
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/budibase-before-4.0.0-ssti-via-enrichsearchcontext-in-row-search
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/Budibase/budibase/security/advisories/GHSA-w7m4-jhq6-jmrg
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
epss: 0.00575
epssPercentile: 0.48879
ingestedAt: '2026-11-26T16:18:45.851Z'
vendor: budibase
product: server
affected:
  - server < 4.0.0
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-30T14:52:51.158457Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
