CVE-2026-27877 — grafana
MEDIUMCVE-2026-27877 is a medium-severity (CVSS 6.5) CWE-312 vulnerability in github.com/grafana/grafana. A fix is available for github.com/grafana/grafana — see the affected versions and patch details below.
Public dashboards discloses all direct mode datasources
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-27877.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/grafana/grafana🐹github.com/grafana/grafana🐹github.com/grafana/grafana🐹github.com/grafana/grafana🐹github.com/grafana/grafana🐹github.com/grafana/grafanaReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/grafana/grafana | ≥ 9.3.0 | No fix |
| 🐹Go | github.com/grafana/grafana | ≥ 12.0.0 | No fix |
| 🐹Go | github.com/grafana/grafana | ≥ 12.2.0 | No fix |
| 🐹Go | github.com/grafana/grafana | ≥ 12.3.0 | No fix |
| 🐹Go | github.com/grafana/grafana | ≥ 12.4.0 | No fix |
| 🐹Go | github.com/grafana/grafana | ≥ 1.9.2-0.20221116104934-4ee83a5f2bf4&&< 1.9.2-0.20260325055210-3522153e07b4 | 1.9.2-0.20260325055210-3522153e07b4go get github.com/grafana/grafana@v1.9.2-0.20260325055210-3522153e07b4 |
Affected Products
grafanagrafanaDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/grafana/grafana, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
A fix is available for CVE-2026-27877; check the affected-versions list above or the advisory for the patched release of github.com/grafana/grafana, then make sure no transitive dependency still pins the vulnerable range.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.Source: Red Hat security advisory for CVE-2026-27877 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Enterprise Linux 10 | grafana-0:10.2.6-24.el10_1 | RHSA-2026:10223 |
| Red Hat Enterprise Linux 10 | grafana-0:10.2.6-26.el10_2 | RHSA-2026:19134 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | grafana-0:10.2.6-23.el10_0 | RHSA-2026:11417 |
| Red Hat Enterprise Linux 9 | grafana-0:10.2.6-20.el9_7 | RHSA-2026:10226 |
| Red Hat Enterprise Linux 9 | grafana-0:10.2.6-22.el9_8 | RHSA-2026:19352 |
| Red Hat Enterprise Linux 9.6 Extended Update Support | grafana-0:10.2.6-20.el9_6 | RHSA-2026:11416 |
Frequently Asked Questions
Is CVE-2026-27877 in your dependencies?
Find it across Go, including transitive dependencies.