Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. budibase
  4. ›
  5. CVE-2026-27702

CVE-2026-27702: Budibase: Remote Code Execution via Unsafe eval() in View Filter Map Function (Budibase Cloud)

February 25, 2026

A critical unsafe eval() vulnerability in Budibase’s view filtering implementation allows any authenticated user (including free tier accounts) to execute arbitrary JavaScript code on the server. This vulnerability ONLY affects Budibase Cloud (SaaS) - self-hosted deployments use native CouchDB views and are not vulnerable. The vulnerability exists in packages/server/src/db/inMemoryView.ts where user-controlled view map functions are directly evaluated without sanitization.

The primary impact comes from what lives inside the pod’s environment: the app-service pod runs with secrets baked into its environment variables, including INTERNAL_API_KEY, JWT_SECRET, CouchDB admin credentials, AWS keys, and more. Using the extracted CouchDB credentials, we verified direct database access, enumerated all tenant databases, and confirmed that user records (email addresses) are readable.

References

  • github.com/Budibase/budibase
  • github.com/Budibase/budibase/commit/348659810cf930dda5f669e782706594c547115d
  • github.com/Budibase/budibase/pull/18087
  • github.com/Budibase/budibase/releases/tag/3.30.4
  • github.com/Budibase/budibase/security/advisories/GHSA-rvhr-26g4-p2r8
  • github.com/advisories/GHSA-rvhr-26g4-p2r8
  • nvd.nist.gov/vuln/detail/CVE-2026-27702

Code Behaviors & Features

Detect and mitigate CVE-2026-27702 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.30.4

Fixed versions

  • 3.30.4

Solution

Upgrade to version 3.30.4 or above.

Impact 9.9 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-94: Improper Control of Generation of Code ('Code Injection')
  • CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Source file

npm/budibase/CVE-2026-27702.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:17:24 +0000.