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

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

- **Severity:** Medium 6.5 (`CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 27 Mar 2026
- **Updated:** 27 Aug 2026
- **Also known as:** ALSA-2026:10223, ALSA-2026:10226, BIT-grafana-2026-27877, CLSA-2026-1777944610, CLSA-2026-1792076604, GHSA-3q27-7qjq-p9c5, GO-2026-5095, MINI-3fhm-x233-6x3j, MINI-44wc-35g7-h623, MINI-56cx-f3cr-g546, MINI-5pc4-qg32-jr28, MINI-5pw7-2fxp-5w7m, MINI-5w86-f926-ww62, MINI-9j3x-f9hv-7p69, MINI-f5pm-2vp3-g948, MINI-f79x-m2c9-fr73, MINI-j742-q8vp-x6hq, MINI-qf7j-wfcc-x8xm, MINI-r2m8-xp7p-mv5m, MINI-r2pw-m2vr-8fwq, MINI-vjqw-fc94-wh7v, MINI-wf4g-mp9x-vqff, MINI-wmgh-7jgq-j4gg, RHSA-2026:10223, RHSA-2026:10226, RHSA-2026:11416, RHSA-2026:11417, RLSA-2026:10223, RLSA-2026:10226, UBUNTU-CVE-2026-27877

## 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 (Insertion of Sensitive Information Into Sent Data), CWE-312 (Cleartext Storage of Sensitive Information)

## 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.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `github.com/grafana/grafana` | Go | All versions | None |
| `github.com/grafana/grafana` | Go | From 1.9.2-0.20221116104934-4ee83a5f2bf4 | 1.9.2-0.20260325055210-3522153e07b4 |
| `github.com/grafana/grafana` | Go | From 1.9.2-0.20221116104934-4ee83a5f2bf4 | 1.9.2-0.20260325055210-3522153e07b4 |
| `github.com/grafana/grafana` | Go | From 12.0.0 | None |
| `github.com/grafana/grafana` | Go | From 12.0.0 | None |
| `github.com/grafana/grafana` | Go | From 12.2.0 | None |
| `github.com/grafana/grafana` | Go | From 12.2.0 | None |
| `github.com/grafana/grafana` | Go | From 12.3.0 | None |
| `github.com/grafana/grafana` | Go | From 12.3.0 | None |
| `github.com/grafana/grafana` | Go | From 12.4.0 | None |
| `github.com/grafana/grafana` | Go | From 12.4.0 | None |
| `github.com/grafana/grafana` | Go | From 9.3.0 | None |
| `github.com/grafana/grafana` | Go | From 9.3.0 | None |
| `grafana` | Bitnami | From 9.3.0 | 11.6.14, 12.1.10, 12.2.8, 12.3.6, 12.4.2 |
| `grafana` | AlmaLinux:10 | All versions | 10.2.6-24.el10_1 |
| `grafana-selinux` | AlmaLinux:10 | All versions | 10.2.6-24.el10_1 |
| `grafana` | AlmaLinux:9 | All versions | 10.2.6-20.el9_7 |
| `grafana-selinux` | AlmaLinux:9 | All versions | 10.2.6-20.el9_7 |
| `grafana` | Red Hat:enterprise_linux:10.1 | All versions | 0:10.2.6-24.el10_1 |
| `grafana-debuginfo` | Red Hat:enterprise_linux:10.1 | All versions | 0:10.2.6-24.el10_1 |
| `grafana-debugsource` | Red Hat:enterprise_linux:10.1 | All versions | 0:10.2.6-24.el10_1 |
| `grafana-selinux` | Red Hat:enterprise_linux:10.1 | All versions | 0:10.2.6-24.el10_1 |
| `grafana` | Red Hat:enterprise_linux:9::appstream | All versions | 0:10.2.6-20.el9_7 |
| `grafana-debuginfo` | Red Hat:enterprise_linux:9::appstream | All versions | 0:10.2.6-20.el9_7 |
| `grafana-debugsource` | Red Hat:enterprise_linux:9::appstream | All versions | 0:10.2.6-20.el9_7 |
| `grafana-selinux` | Red Hat:enterprise_linux:9::appstream | All versions | 0:10.2.6-20.el9_7 |
| `grafana` | Red Hat:enterprise_linux_eus:10.0 | All versions | 0:10.2.6-23.el10_0 |
| `grafana-debuginfo` | Red Hat:enterprise_linux_eus:10.0 | All versions | 0:10.2.6-23.el10_0 |
| `grafana-debugsource` | Red Hat:enterprise_linux_eus:10.0 | All versions | 0:10.2.6-23.el10_0 |
| `grafana-selinux` | Red Hat:enterprise_linux_eus:10.0 | All versions | 0:10.2.6-23.el10_0 |
| `grafana` | Red Hat:rhel_eus:9.6::appstream | All versions | 0:10.2.6-20.el9_6 |
| `grafana-debuginfo` | Red Hat:rhel_eus:9.6::appstream | All versions | 0:10.2.6-20.el9_6 |
| `grafana-debugsource` | Red Hat:rhel_eus:9.6::appstream | All versions | 0:10.2.6-20.el9_6 |
| `grafana-selinux` | Red Hat:rhel_eus:9.6::appstream | All versions | 0:10.2.6-20.el9_6 |
| `grafana` | Rocky Linux:10 | All versions | 0:10.2.6-24.el10_1 |
| `grafana` | Rocky Linux:9 | All versions | 0:10.2.6-20.el9_7 |

Products: 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.

## Other vulnerabilities in Grafana Grafana

- [CVE-2021-43798](https://insights.sbomify.com/CVE-2021-43798/): Grafana Path Traversal (high 7.5, exploited in the wild)
- [CVE-2025-41115](https://insights.sbomify.com/CVE-2025-41115/): Incorrect privilege assignment (critical 10.0)
- [CVE-2022-39328](https://insights.sbomify.com/CVE-2022-39328/): Grafana vulnerable to race condition allowing privilege escalation (critical 9.8)
- [CVE-2022-28660](https://insights.sbomify.com/CVE-2022-28660/): Auth bypass in n/a (critical 9.8)
- [CVE-2022-26148](https://insights.sbomify.com/CVE-2022-26148/): Information disclosure in n/a (critical 9.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-27877 and fix it if it is affected.

What it is: 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.
Exploitation: There is no known exploitation of CVE-2026-27877 in the wild and no public exploit code.

Affected packages and fixed versions:
- github.com/grafana/grafana (Go): affected all versions; no fix listed
- github.com/grafana/grafana (Go): affected from 1.9.2-0.20221116104934-4ee83a5f2bf4; fixed in 1.9.2-0.20260325055210-3522153e07b4
- github.com/grafana/grafana (Go): affected from 1.9.2-0.20221116104934-4ee83a5f2bf4; fixed in 1.9.2-0.20260325055210-3522153e07b4
- github.com/grafana/grafana (Go): affected from 12.0.0; no fix listed
- github.com/grafana/grafana (Go): affected from 12.0.0; no fix listed
- github.com/grafana/grafana (Go): affected from 12.2.0; no fix listed
- github.com/grafana/grafana (Go): affected from 12.2.0; no fix listed
- github.com/grafana/grafana (Go): affected from 12.3.0; no fix listed
- github.com/grafana/grafana (Go): affected from 12.3.0; no fix listed
- github.com/grafana/grafana (Go): affected from 12.4.0; no fix listed
- github.com/grafana/grafana (Go): affected from 12.4.0; no fix listed
- github.com/grafana/grafana (Go): affected from 9.3.0; no fix listed

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-27877/ (Markdown: https://insights.sbomify.com/CVE-2026-27877/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-27877
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-27877
- OSV: https://osv.dev/vulnerability/CVE-2026-27877

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-27877/
Summaries are generated and may contain mistakes; the official description above is the record.
