Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @budibase/server
  4. ›
  5. GHSA-mqhr-6j6h-74p5

GHSA-mqhr-6j6h-74p5: Budibase: Unauthenticated REST Datasource Credential Theft via Cross-Origin Auth Leak

July 24, 2026

Budibase attaches a REST datasource’s stored credentials (Bearer/Basic tokens and static headers) to an outgoing request before it decides which host the request goes to, and never checks that the destination host matches the datasource. A query’s request path can be pointed at any host (via an absolute URL or a user-supplied {{ parameter }}), so the stored credentials are delivered to an attacker-chosen server. Because a query can be published with the PUBLIC role, this is reachable by a fully unauthenticated attacker with one HTTP request. The credentials are masked (--secret-value--) everywhere in the API, yet this recovers them in cleartext. This is a bypass of GHSA-3gp5 (which fixed the base-URL rewrite vector but added no same-origin check; the query-path vector remains, now unauthenticated).

References

  • github.com/Budibase/budibase/commit/8b1bca71501b11c68310351ef4f2c3028b2d5f08
  • github.com/Budibase/budibase/pull/19239
  • github.com/Budibase/budibase/releases/tag/3.40.1
  • github.com/Budibase/budibase/security/advisories/GHSA-mqhr-6j6h-74p5
  • github.com/advisories/GHSA-mqhr-6j6h-74p5

Code Behaviors & Features

Detect and mitigate GHSA-mqhr-6j6h-74p5 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 up to 3.38.1

Solution

Unfortunately, there is no solution available yet.

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

npm/@budibase/server/GHSA-mqhr-6j6h-74p5.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 08 Aug 2026 00:18:52 +0000.