Arbitrary Code Injection Affecting @budibase/server package, versions <3.38.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-BUDIBASESERVER-16759682
  • published19 May 2026
  • disclosed18 May 2026
  • creditMerlijn Witteveen

Introduced: 18 May 2026

NewCVE-2026-45719  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade @budibase/server to version 3.38.1 or higher.

Overview

@budibase/server is a Budibase Web Server

Affected versions of this package are vulnerable to Arbitrary Code Injection via the calculation parameter in the V1 Views API, which is interpolated directly into a CouchDB reduce function without validation. An attacker can execute arbitrary JavaScript code within the CouchDB JavaScript engine by submitting a crafted value for calculation in a POST request to the affected endpoint. This allows access to document data and persistence of malicious code in the database design document.

Note:

This is only exploitable if the attacker has Builder role permissions.

CVSS Base Scores

version 4.0
version 3.1