CVE-2026-46427

Budibase: Snowflake private key returned unmasked from datasource API to BASIC users

Published May 27, 2026 CVSS 3.1 · 7.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Budibase
Budibase budibase
Vendors & Products Budibase
Budibase budibase
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'}

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 28, 2026, 3:05 PM
Reserved
May 13, 2026, 10:18 PM
Status
Deferred
Published
May 27, 2026, 6:16 PM
Modified
Jun 17, 2026, 10:53 AM