Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @budibase/server
  4. ›
  5. CVE-2026-45719

CVE-2026-45719: Budibase: CouchDB Reduce Injection via Unsanitized Calculation Parameter in V1 Views API

May 18, 2026

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.


References

  • github.com/Budibase/budibase/releases/tag/3.38.1
  • github.com/Budibase/budibase/security/advisories/GHSA-363w-hvwh-w7m6
  • github.com/advisories/GHSA-363w-hvwh-w7m6
  • nvd.nist.gov/vuln/detail/CVE-2026-45719

Code Behaviors & Features

Detect and mitigate CVE-2026-45719 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.38.1

Fixed versions

  • 3.38.1

Solution

Upgrade to version 3.38.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/@budibase/server/CVE-2026-45719.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 22 May 2026 00:18:19 +0000.