CVE-2026-27877 Public dashboards discloses all direct mode datasources

Medium 6.5 Published Updated

Attackers can view passwords for all direct mode datasources via public dashboards, exposing sensitive credentials.

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-27877?

CVE-2026-27877 is a medium-severity vulnerability in Grafana Grafana, published on 27 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

When using public dashboards and direct data-sources, all direct data-sources' passwords are exposed despite not being used in dashboards.

No passwords of proxied data-sources are exposed. We encourage all direct data-sources to be converted to proxied data-sources as far as possible to improve your deployments' security.

Weakness: CWE-201, CWE-312

Which versions are affected by CVE-2026-27877?

14 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 GoFrom 1.9.2-0.20221116104934-4ee83a5f2bf41.9.2-0.20260325055210-3522153e07b4
github.com/grafana/grafana GoFrom 1.9.2-0.20221116104934-4ee83a5f2bf41.9.2-0.20260325055210-3522153e07b4
github.com/grafana/grafana GoFrom 12.0.0None
github.com/grafana/grafana GoFrom 12.0.0None
github.com/grafana/grafana GoFrom 12.2.0None
8 more packages
github.com/grafana/grafana GoFrom 12.2.0None
github.com/grafana/grafana GoFrom 12.3.0None
github.com/grafana/grafana GoFrom 12.3.0None
github.com/grafana/grafana GoFrom 12.4.0None
github.com/grafana/grafana GoFrom 12.4.0None
github.com/grafana/grafana GoFrom 9.3.0None
github.com/grafana/grafana GoFrom 9.3.0None
grafana BitnamiFrom 9.3.011.6.14, 12.1.10, 12.2.8, 12.3.6, 12.4.2
Linux distribution packages (22)
grafana AlmaLinux:10All versions10.2.6-24.el10_1
grafana-selinux AlmaLinux:10All versions10.2.6-24.el10_1
grafana AlmaLinux:9All versions10.2.6-20.el9_7
grafana-selinux AlmaLinux:9All versions10.2.6-20.el9_7
grafana Red Hat:enterprise_linux:10.1All versions0:10.2.6-24.el10_1
grafana-debuginfo Red Hat:enterprise_linux:10.1All versions0:10.2.6-24.el10_1
grafana-debugsource Red Hat:enterprise_linux:10.1All versions0:10.2.6-24.el10_1
grafana-selinux Red Hat:enterprise_linux:10.1All versions0:10.2.6-24.el10_1
grafana Red Hat:enterprise_linux:9::appstreamAll versions0:10.2.6-20.el9_7
grafana-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:10.2.6-20.el9_7
grafana-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:10.2.6-20.el9_7
grafana-selinux Red Hat:enterprise_linux:9::appstreamAll versions0:10.2.6-20.el9_7
grafana Red Hat:enterprise_linux_eus:10.0All versions0:10.2.6-23.el10_0
grafana-debuginfo Red Hat:enterprise_linux_eus:10.0All versions0:10.2.6-23.el10_0
grafana-debugsource Red Hat:enterprise_linux_eus:10.0All versions0:10.2.6-23.el10_0
grafana-selinux Red Hat:enterprise_linux_eus:10.0All versions0:10.2.6-23.el10_0
grafana Red Hat:rhel_eus:9.6::appstreamAll versions0:10.2.6-20.el9_6
grafana-debuginfo Red Hat:rhel_eus:9.6::appstreamAll versions0:10.2.6-20.el9_6
grafana-debugsource Red Hat:rhel_eus:9.6::appstreamAll versions0:10.2.6-20.el9_6
grafana-selinux Red Hat:rhel_eus:9.6::appstreamAll versions0:10.2.6-20.el9_6
grafana Rocky Linux:10All versions0:10.2.6-24.el10_1
grafana Rocky Linux:9All versions0:10.2.6-20.el9_7

Products include Grafana Grafana.

How do I fix CVE-2026-27877?

Upgrade github.com/grafana/grafana to 1.9.2-0.20260325055210-3522153e07b4 or later.

Is CVE-2026-27877 being exploited?

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

All Grafana Grafana vulnerabilities

Sources

Also known as ALSA-2026:10223, ALSA-2026:10226, BIT-grafana-2026-27877, CLSA-2026-1777944610, CLSA-2026-1792076604, GHSA-3q27-7qjq-p9c5 and 24 more.

Is CVE-2026-27877 in your software?

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

Check your SBOMs for free