CVE-2026-27876: A chained attack via SQL Expressions and a Grafana Enterprise plugin can lead to a remote arbitrary code execution impact (RCE).

Critical CVSS 9.1

CVE id
CVE-2026-27876
Published
Last modified

Affected packages

PackageAffected versionsFixed in
Grafana
Runtimes and servers
< 11.6.0
>= 11.6.14, < 12.0.0
>= 12.1.10, < 12.2.0
>= 12.2.8, < 12.3.0
>= 12.3.6, < 12.4.0
11.6.0, 12.0.0, 12.2.0, 12.3.0, 12.4.0

How to fix it

Upgrade Grafana to the fixed release of the line you run: 11.6.0, 12.0.0, 12.2.0, 12.3.0, 12.4.0.

grafana-server -v
  • Upgrade Grafana (the grafana/grafana image tag or packages) to the patched release.

A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.

Details

A chained attack via SQL Expressions and a Grafana Enterprise plugin can lead to a remote arbitrary code execution impact (RCE). This is enabled by a feature in Grafana (OSS), so all users are always recommended to update to avoid future attack vectors going this path.

Only instances with the sqlExpressions feature toggle enabled are vulnerable.

Only instances in the following version ranges are affected:

  • 11.6.0 (inclusive) to 11.6.14 (exclusive): 11.6.14 has the fix. 11.5 and below are not affected.
  • 12.0.0 (inclusive) to 12.1.10 (exclusive): 12.1.10 has the fix. 12.0 did not receive an update, as it is end-of-life.
  • 12.2.0 (inclusive) to 12.2.8 (exclusive): 12.2.8 has the fix.
  • 12.3.0 (inclusive) to 12.3.6 (exclusive): 12.3.6 has the fix.
  • 12.4.0 (inclusive) to 12.4.2 (exclusive): 12.4.2 has the fix. 13.0.0 and above also have the fix: no v13 release is affected.

References

Am I affected?

Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.

or paste its content

Needed when you paste. package.json and pyproject.toml only have version ranges: use the lockfile next to them.

Only package names and versions are checked; the file itself is not kept. We use your email to send this report and nothing else unless you tick the box above. Privacy policy.

About this data

Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.