CVE-2026-33380 SQL Expressions Read File From Disk

Medium 6.3 Published Updated

An authenticated attacker can read arbitrary files from the Grafana server filesystem when the sqlExpressions feature toggle is enabled.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-33380?

CVE-2026-33380 is a medium-severity path traversal vulnerability in Grafana Grafana, published on 13 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability in SQL Expressions allows an authenticated attacker to read arbitrary files from the Grafana server's filesystem. Only instances with the sqlExpressions feature toggle enabled are vulnerable.

Weakness: CWE-552

Which versions are affected by CVE-2026-33380?

4 open source packages ship an affected version, including github.com/grafana/grafana and grafana. It affects 1 product.

PackageAffectedFixed in
github.com/grafana/grafana GoAll versionsNone
github.com/grafana/grafana GoAll versions1.9.2-0.20260513165311-fb7336fc36c1
github.com/grafana/grafana GoAll versions1.9.2-0.20260513165311-fb7336fc36c1
grafana BitnamiFrom 11.6.011.6.14, 12.2.8, 12.3.6, 12.4.3, 13.0.1

Products include Grafana Grafana.

How do I fix CVE-2026-33380?

Upgrade github.com/grafana/grafana to 1.9.2-0.20260513165311-fb7336fc36c1 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-33380 being exploited?

There is no known exploitation of CVE-2026-33380 in the wild and no public exploit code.

All Grafana Grafana vulnerabilities

Sources

Also known as BIT-grafana-2026-33380, GHSA-gxcp-jjxh-rwp4, GO-2026-5409, MINI-3xm6-fq2v-7v9r, MINI-3xmw-7r3x-c3x5, MINI-7cq8-873h-cchr and 10 more.

Is CVE-2026-33380 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free