All vulnerabilities

Servers and applications

GHSA-8xr5-pggf-26jq

Arbitrary local file read via external `$ref` resolution in OpenAPI/Swagger datasource import (POST /api/queries/import/info)

Severity
Critical 9.6
Published
10 Sept 2026
Last changed
10 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
3.45.0
Weakness
Information exposure (CWE-200)Insufficiently protected credentials (CWE-522)CWE-610CWE-829
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Sources
Project advisories (GitHub)

Description

Budibase's REST-datasource OpenAPI/Swagger import parses an attacker-supplied API specification and, during schema validation, resolves external JSON $ref pointers with the filesystem resolver enabled. Any user with a builder session can embed {"$ref":"file:///etc/passwd"} (or any other file:// path) inside the spec and have the Budibase server read an arbitrary local file and return its contents in the import response.

Pointing the reference at file:///proc/self/environ returns the server process environment, which contains the instance-wide JWT_SECRET, INTERNAL_API_KEY, CouchDB admin URL/password, MinIO access & secret keys, Redis password, and several other secrets - a full compromise of the deployment's trust material. The leaked JWT_SECRET is the single key Budibase uses to sign session tokens, so an attacker can forge a token for any user and escalate a builder to global admin, or impersonate any account.

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