All vulnerabilities

Servers and applications

CVE-2026-46427

Snowflake private key returned unmasked from datasource API to BASIC users

Severity
High 7.7
Published
14 May 2026
Last changed
14 May 2026
Added to UpHeron
3 Nov 2026
Fixed in
3.38.3
Exploit chance
0.2% in the next 30 daysHigher than 13% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Information exposure (CWE-200)
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
Also known as
GHSA-qv26-4hvj-m7fv
Sources
Project advisories (GitHub)

Description

removeSecrets at packages/server/src/sdk/workspace/datasources/datasources.ts:259-266 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. Bob, an authenticated BASIC user with any app role, calls the endpoint and receives the full Snowflake PEM in plaintext.

The masking function:

The Snowflake schema:

The SENSITIVE_LONGFORM type exists specifically for long secret values (the Snowflake private key is a multi-line PEM). It was introduced as a separate display type for long textarea inputs, and the masking code was never updated to cover it.

Route binding:

authorizedRoutes applies authorized(PermissionType.TABLE, PermissionLevel.READ) (lines 8-17). Any user with READ on any table in the app passes that gate.

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

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