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

CVE-2026-45716: Budibase: Builder-to-Admin Privilege Escalation via onboardUsers Endpoint Without SMTP Configuration

May 18, 2026 (updated June 8, 2026)

The POST /api/global/users/onboard endpoint is protected by workspaceBuilderOrAdmin middleware, allowing any user with builder permissions to access it. When SMTP email is not configured (the default for self-hosted Budibase instances), this endpoint bypasses the admin-restricted invite flow and directly creates users via bulkCreate, accepting arbitrary admin and builder role assignments from the request body. A builder-level user can create a new global admin account and receive the generated password in the response, achieving full privilege escalation.

References

  • github.com/Budibase/budibase/releases/tag/3.38.1
  • github.com/Budibase/budibase/security/advisories/GHSA-c54j-xp92-wh28
  • github.com/advisories/GHSA-c54j-xp92-wh28
  • nvd.nist.gov/vuln/detail/CVE-2026-45716

Code Behaviors & Features

Detect and mitigate CVE-2026-45716 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 8.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-269: Improper Privilege Management

Source file

npm/@budibase/worker/CVE-2026-45716.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 23 Jun 2026 12:24:55 +0000.