Budibase Vulnerable to Remote Code Execution via Unsafe eval() in View Filter Map Function (Budibase Cloud)
Description
Budibase is a low code platform for creating internal tools, workflows, and admin panels. Prior to version 3.30.4, an 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. Version 3.30.4 contains a patch.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
budibasenpm | < 3.30.4 | 3.30.4 |
Affected products
2Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-rvhr-26g4-p2r8ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-27702ghsaADVISORY
- github.com/Budibase/budibase/commit/348659810cf930dda5f669e782706594c547115dghsax_refsource_MISCWEB
- github.com/Budibase/budibase/pull/18087ghsax_refsource_MISCWEB
- github.com/Budibase/budibase/releases/tag/3.30.4ghsax_refsource_MISCWEB
- github.com/Budibase/budibase/security/advisories/GHSA-rvhr-26g4-p2r8ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.