All vulnerabilities

Servers and applications

GHSA-6mpp-gfg5-x2vv

Datasource secrets stored in STRING typed fields (MongoDB connection string, Firebase private key) are returned unredacted by the datasource read API

Severity
High 7.7
Published
22 Jul 2026
Last changed
28 Aug 2026
Added to UpHeron
3 Nov 2026
Fixed in
3.40.0
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Sources
Project advisories (GitHub)

Description

Budibase stores datasource credentials inside the datasource config and is designed to never return those credentials in API responses. The redaction function removeSecrets replaces secret values with the placeholder "--secret-value--" before a datasource is sent to a client, and the code comment states its purpose plainly: "strip secrets from response, so they don't show in the network request." The redaction only covers fields whose schema type is PASSWORD or SENSITIVE_LONGFORM (plus config.auth and the REST auth configs). Two built in datasources store their credential in a field typed STRING instead, so the redaction skips them and the credential is returned in clear text by the datasource read endpoints:

  • MongoDB: the connectionString field is typed STRING and contains the full URI including username and password, for example mongodb://user:pass@host:27017/db.
  • Firebase / Firestore: the privateKey field is typed STRING and contains the service account private key.
From Budibase/budibase's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
BudibaseServers and applications · github:budibase/budibase
  • Every version before 3.40.0

About Budibase

low-code development platform

From Wikidata, CC0 1.0.
Docker Hub pulls
2,327,272Docker Hub, 15 Nov 2026
GitHub stars
28,419GitHub, 15 Nov 2026
Forks
2,238GitHub, 15 Nov 2026
Latest release
v4.0.0GitHub, 15 Nov 2026
Released
10 Nov 2026GitHub
First published on GitHub
7 Jun 2019GitHub

References