Skip to main content

CVE-2026-27877 — Vulnerability in github.com/grafana/grafana

MEDIUM

Grafana public dashboards disclose all direct mode datasources

Published March 27, 2026Updated September 10, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.46%). Schedule for your next planned update.

Does your project use an affected github.com/grafana/grafana version?

Paste your go.sum to check it for CVE-2026-27877 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my go.sum

Summary

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.

Advisory Timeline

  • First published March 27, 2026 (244 days ago).
  • Last revised September 10, 2026 — 167 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/grafana/grafana to 1.9.2-0.20260325055210-3522153e07b4 or later
go get github.com/grafana/grafana@v1.9.2-0.20260325055210-3522153e07b4

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (6)

Affects 1 ecosystem: Go (1).

PackageFixed In
github.com/grafana/grafana Go · Affected: All versionsRange-based data available
github.com/grafana/grafana Go · Affected: All versions1.9.2-0.20260325055210-3522153e07b4
github.com/grafana/grafana Go · Affected: All versionsRange-based data available
github.com/grafana/grafana Go · Affected: All versionsRange-based data available
github.com/grafana/grafana Go · Affected: All versionsRange-based data available
github.com/grafana/grafana Go · Affected: All versionsRange-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-200
    Information ExposureMITRE
  • CWE-312
    Cleartext Storage of Sensitive InformationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 6.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Frequently Asked Questions

What is CVE-2026-27877?
Grafana public dashboards disclose all direct mode datasources. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.5/10).
How do I check if my project is affected by CVE-2026-27877?
CVE-2026-27877 affects github.com/grafana/grafana. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-27877 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
6.5

Exploitation requires specific conditions, or the impact is limited.

EPSS Score (30-day exploit probability)
0.46%
EPSS percentile: 32.1

This is a below-median EPSS score — only 32.1% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-3q27-7qjq-p9c5
BIT-grafana-2026-27877
GO-2026-5095

Related CVEs

  • CVE-2020-12459

    Grafana world readable configuration files in github.com/grafana/grafana

  • CVE-2020-24303

    Grafana XSS via a query alias for the ElasticSearch datasource in github.com/grafana/grafana

  • CVE-2020-11110

    Grafana stored XSS in github.com/grafana/grafana

  • CVE-2024-1442

    Grafana's users with permissions to create a data source can CRUD all data sources in github.com/grafana/grafana

  • CVE-2019-19499

    Arbitrary file read in github.com/grafana/grafana

  • CVE-2024-1313

    Grafana: Users outside an organization can delete a snapshot with its key in github.com/grafana/grafana

  • CVE-2026-33381

    Grafana: Users can generate Service Account tokens after permissions removal in github.com/grafana/grafana

  • CVE-2026-21727

    Grafana legacy correlations allow cross-tenant disclosure and deletion in github.com/grafana/grafana

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my go.sum