All vulnerabilities

Servers and applications

GHSA-433r-hw2v-rv9g

Query Context Trusted from Client Bypasses Data Access Controls

Severity
Medium 6.5
Published
27 May 2026
Last changed
27 May 2026
Added to UpHeron
3 Nov 2026
Fixed in
1.55.23, 1.56.23, 1.57.17, 1.58.12, 1.59.6, 1.60.1
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:U/C:H/I:N/A:N
Sources
Project advisories (GitHub)

Description

An authenticated, low-privilege user could read data from databases or tables they were not permitted to access. Exploitation requires a logged-in session but not admin privileges.

Two related paths in query handling trusted client-supplied fields in the request body:

  • A query with a permitted source-table could wrap a source-query whose embedded SQL fragment was executed by thedriver without the outer permission check inspecting it.
  • The card creation pipeline accepted a client-supplied permission context attached to dataset_query and honored it during execution instead of deriving the requesting user'sactual authorization from group memberships and sandboxing configuration.

In both cases the caller could execute native SQL against tables or databases outside their granted scope. The fix re-derives the query context on the server and validates query

parameters at the API boundary so that the embedded SQL and the permission context are no longer read from the request.

From metabase/metabase's security advisory.

Affected software

SoftwareAffected versions
MetabaseServers and applications · github:metabase/metabase
  • From 1.60.0 before 1.60.1
  • From 1.59.0 before 1.59.6
  • From 1.58.0 before 1.58.12
  • From 1.57.0 before 1.57.17
All 7 release lines
  • From 1.54.0 before 1.54.23
  • From 1.55.0 before 1.55.23
  • From 1.56.0 before 1.56.23
  • From 1.57.0 before 1.57.17
  • From 1.58.0 before 1.58.12
  • From 1.59.0 before 1.59.6
  • From 1.60.0 before 1.60.1

About Metabase

database analytics software

From Wikidata, CC0 1.0.
Companies using it
100,000+Metabase
Docker Hub pulls
279,862,006Docker Hub, 15 Nov 2026
GitHub stars
50,335GitHub, 15 Nov 2026
Forks
7,010GitHub, 15 Nov 2026
Latest release
v0.65.4GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
Developer
MetabaseWikidata
License
Affero General Public LicenseWikidata
Written in
ClojureWikidata
First published on GitHub
2 Feb 2015GitHub

Release lines

ReleaseLatestSecurity fixes
650.65.4.4Until 1 Jan 2027
64 (LTS)LTS0.64.6.2Until 1 Dec 2027
630.63.22.3Ended 1 Nov 2026
620.62.19.5Ended 1 Sept 2026
610.61.21.1Ended 1 Sept 2026
600.60.27Ended 1 Sept 2026

From endoflife.date.

References