Description
Budibase is an open-source low-code platform. Prior to 3.38.3, removeSecrets at packages/server/src/sdk/workspace/datasources/datasources.ts masks only datasource config fields whose schema type is DatasourceFieldType.PASSWORD. The Snowflake integration types its privateKey field as SENSITIVE_LONGFORM, which the filter skips. GET /api/datasources/:datasourceId lives on authorizedRoutes guarded by PermissionType.TABLE + PermissionLevel.READ. An authenticated BASIC user with any app role and call the endpoint and receive the full Snowflake PEM in plaintext. This vulnerability is fixed in 3.38.3.
Published: 2026-05-27
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An authenticated user with BASIC level permissions can invoke the /api/datasources/:datasourceId endpoint and receive the full Snowflake PEM private key in plaintext because the masking filter only excludes fields marked as PASSWORD. The privateKey field is labeled as SENSITIVE_LONGFORM, which is not processed by the existing filter. This flaw allows the accidental disclosure of highly sensitive credentials that could grant full access to the associated Snowflake account if compromised.

Affected Systems

Budibase is affected for all releases prior to 3.38.3. The vulnerability exists in the server component of the platform where the GET /api/datasources/:datasourceId route is authorized by PermissionType.TABLE and PermissionLevel.READ, and allows BASIC users to read all datasource configurations.

Risk and Exploitability

The CVSS score of 7.7 indicates a high-severity vulnerability. Although the EPSS score is not available and the vulnerability is not listed in CISA KEV, the attack path is straightforward: an attacker only needs to be authenticated as a BASIC user. Because the endpoint is reachable from the frontend, the risk of exploitation is significant and the impact is irreversible once the private key is exposed.

Generated by OpenCVE AI on May 27, 2026 at 19:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Budibase to version 3.38.3 or later, which removes the masking bug for Snowflake private keys
  • Revoke or restrict PermissionType.TABLE READ access on the /api/datasources endpoint for BASIC users so they cannot retrieve datasource configurations
  • Audit application logs for unexpected calls to the datasource API and investigate any suspicious usage

Generated by OpenCVE AI on May 27, 2026 at 19:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 28 May 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 28 May 2026 03:45:00 +0000

Type Values Removed Values Added
First Time appeared Budibase
Budibase budibase
Vendors & Products Budibase
Budibase budibase

Wed, 27 May 2026 17:45:00 +0000

Type Values Removed Values Added
Description Budibase is an open-source low-code platform. Prior to 3.38.3, removeSecrets at packages/server/src/sdk/workspace/datasources/datasources.ts masks only datasource config fields whose schema type is DatasourceFieldType.PASSWORD. The Snowflake integration types its privateKey field as SENSITIVE_LONGFORM, which the filter skips. GET /api/datasources/:datasourceId lives on authorizedRoutes guarded by PermissionType.TABLE + PermissionLevel.READ. An authenticated BASIC user with any app role and call the endpoint and receive the full Snowflake PEM in plaintext. This vulnerability is fixed in 3.38.3.
Title Budibase: Snowflake private key returned unmasked from datasource API to BASIC users
Weaknesses CWE-200
References
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N'}


Subscriptions

Budibase Budibase
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-05-28T15:05:53.244Z

Reserved: 2026-05-13T22:18:22.829Z

Link: CVE-2026-46427

cve-icon Vulnrichment

Updated: 2026-05-28T15:05:41.450Z

cve-icon NVD

Status : Deferred

Published: 2026-05-27T18:16:26.600

Modified: 2026-06-17T10:53:39.910

Link: CVE-2026-46427

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-28T03:30:05Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor