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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.9
- **CVSS:** 9.9 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.68% (percentile 48, 2026-11-26)
- **CWE:** CWE-20, CWE-94, CWE-95
- **Aliases:** GHSA-rvhr-26g4-p2r8
- **Published:** 2026-02-25T15:11:16.324Z
- **Modified:** 2026-06-17T10:27:32.633Z

## Who should check

- Projects that depend on npm package budibase (\< 3.30.4)
- Anyone running budibase \< 3.30.4

## 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.

## Affected and fixed versions

- npm `budibase`: affected \< 3.30.4; fixed 3.30.4 (osv)
- budibase: \< 3.30.4 (cvelist)

## Mitigation

- Upgrade budibase to 3.30.4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-27702. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-27702.md
Affected: budibase < 3.30.4
Fixed in: 3.30.4

Steps:
1. Search this machine and project for budibase (npm), budibase: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-27702 being exploited?

There is no confirmed exploitation: CVE-2026-27702 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.68% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-27702?

Critical: CVSS 9.9 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-27702?

budibase \< 3.30.4.

### Is there a fix for CVE-2026-27702?

Yes. Fixed in 3.30.4. Upgrade budibase to 3.30.4 or later.

### How do I check if I'm affected by CVE-2026-27702?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/Budibase/budibase/security/advisories/GHSA-rvhr-26g4-p2r8>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-27702>
- patch: <https://github.com/Budibase/budibase/pull/18087>
- patch: <https://github.com/Budibase/budibase/commit/348659810cf930dda5f669e782706594c547115d>
- other: <https://github.com/Budibase/budibase/releases/tag/3.30.4>
- other: <https://github.com/Budibase/budibase>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-27702>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-rvhr-26g4-p2r8> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-27702> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-27702>
