All vulnerabilities

Servers and applications

GHSA-83m5-fvmg-r7xv

SSRF with Internal CouchDB Credential Leakage via Datasource Verify Endpoint

Severity
High 7.6
Published
14 Aug 2026
Last changed
14 Aug 2026
Added to UpHeron
3 Nov 2026
Fixed in
3.41.3
Weakness
Server-side request forgery (CWE-918)
Attack
Over the network · Needs an administrator account · No user action needed
Attacker can
Read data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N
Sources
Project advisories (GitHub)

Description

The datasource verify endpoint (POST /api/datasources/verify) allows a builder-level user to supply an arbitrary URL as a CouchDB datasource configuration. The CouchDB connector makes HTTP requests to this URL without any SSRF blacklist validation, and critically, attaches the internal CouchDB database credentials (from COUCH_DB_USERNAME/COUCH_DB_PASSWORD environment variables) as a Basic Authorization header to the attacker-controlled URL.

The vulnerability exists because:

  • The REST connector checks blacklist.isBlacklisted(url) at packages/server/src/integrations/rest.ts:754 before making outbound requests, but no other HTTP-based connector performs this check.

- When a user submits a CouchDB datasource config with an arbitrary url, the code path is: - packages/server/src/api/controllers/datasource.ts:57 reads ctx.request.body.datasource - packages/server/src/sdk/workspace/datasources/plus.ts:85 passes datasource.config to the CouchDB connector constructor -…

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