CVE-2026-45719 Budibase: CouchDB Reduce Injection via Unsanitized Calculation Parameter in V1 Views API
A user with Builder permissions can inject arbitrary JavaScript into CouchDB views via the V1 Views API, leading to remote code execution.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-45719?
CVE-2026-45719 is a medium-severity code injection vulnerability in budibase, published on 27 May 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Budibase is an open-source low-code platform. Prior to 3.38.1, the V1 Views API (POST /api/views) accepts a calculation parameter from the request body that is interpolated directly into a CouchDB reduce function definition without validation. Although an internal SCHEMA_MAP object defines the valid calculation types (sum, count, stats), no actual validation is performed against this map before the value is used in string interpolation. A user with Builder permissions can inject arbitrary JavaScript code that will be executed within the CouchDB JavaScript engine when the view is queried. This vulnerability is fixed in 3.38.1.
Weakness: CWE-94
Which versions are affected by CVE-2026-45719?
2 open source packages ship an affected version, including @budibase/server.
| Package | Affected | Fixed in |
|---|---|---|
@budibase/server npm | All versions | 3.38.1 |
@budibase/server npm | All versions | 3.38.1 |
How do I fix CVE-2026-45719?
Upgrade @budibase/server to 3.38.1 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-45719 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45719 exists.
Sources
Also known as GHSA-363w-hvwh-w7m6.