CVE-2026-45719
MEDIUMBudibase: CouchDB Reduce Injection via Unsanitized Calculation Parameter in V1 Views API
Title source: cnaDescription
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.
References (2)
Core 2
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/Budibase/budibase/security/advisories/GHSA-363w-hvwh-w7m6
X_Refsource_Misc x_refsource_misc
https://github.com/Budibase/budibase/releases/tag/3.38.1
Scores
CVSS v3
6.5
EPSS
0.0026
EPSS Percentile
17.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-94
Status
published
Products (2)
Budibase/budibase
< 3.38.1
budibase/server
0 - 3.38.1npm
Published
May 27, 2026
Tracked Since
May 27, 2026