All vulnerabilities

Servers and applications

GHSA-3hg9-2v8h-4vjh

Snippet Content Disclosure via Query Metadata Template Tags

Severity
Medium
Published
27 May 2026
Last changed
27 May 2026
Added to UpHeron
3 Nov 2026
Fixed in
1.54.23
Sources
Project advisories (GitHub)

Description

An authenticated user can view any code saved to a snippet via a snippet-id template tag, even if that user lacks permissions to the snippet. Snippet content can potentially expose sensitive SQL logic or internal schema details.

The metadata-resolution path for native queries dereferenced a caller-supplied snippet identifier in template tags and attached the corresponding snippet content to its response. Read authorization on the snippet itself wasn’t evaluated during that lookup.

The exposure is limited to the stored text of the snippet and doesn’t directly return data from an underlying database (though the snippet text may reveal schema details, embedded literals, or query logic).

The fix adds a permission check so that metadata lookups only return snippet content the requesting user is allowed to read.

From metabase/metabase's security advisory.

Affected software

SoftwareAffected versions
MetabaseServers and applications · github:metabase/metabase
  • Version 1.60.0
  • Version 1.59.0
  • Version 1.58.0
  • Version 1.57.0
All 7 release lines
  • From 1.54.0 before 1.54.23
  • Version 1.55.0
  • Version 1.56.0
  • Version 1.57.0
  • Version 1.58.0
  • Version 1.59.0
  • Version 1.60.0

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