Skip to main content

CVE-2022-31107 — Vulnerability in github.com/grafana/grafana

Grafana account takeover via OAuth vulnerability in github.com/grafana/grafana

Published June 5, 2024Updated February 4, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (1.36%). 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-2022-31107 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

Grafana account takeover via OAuth vulnerability in github.com/grafana/grafana.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: github.com/grafana/grafana from v5.3.0 before v8.3.10, from v8.4.0 before v8.4.10, from v8.5.0 before v8.5.9, from v9.0.0 before v9.0.3.

Advisory Timeline

  • First published June 5, 2024 (904 days ago).
  • Last revised February 4, 2026 — 608 days after initial publication.

Affected Packages (1)

Affects 1 ecosystem: Go (1).

PackageFixed In
github.com/grafana/grafana Go · Affected: All versionsRange-based data available

Frequently Asked Questions

What is CVE-2022-31107?
Grafana account takeover via OAuth vulnerability in github.com/grafana/grafana. This vulnerability has been assigned a severity rating of Unknown.
How do I check if my project is affected by CVE-2022-31107?
CVE-2022-31107 affects github.com/grafana/grafana. It has a 1.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-31107 and 200,000+ other known vulnerabilities.

Severity & Exploitability

EPSS Score (30-day exploit probability)
1.36%
EPSS percentile: 71.8

This is an above-median EPSS score — 71.8% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.

Also Known As

GO-2024-2852
BIT-grafana-2022-31107
GHSA-mx47-6497-3fv2

Related CVEs

  • CVE-2023-3128
    CRITICAL

    Grafana vulnerable to Authentication Bypass by Spoofing

  • CVE-2021-41244
    CRITICAL

    Grafana Fine-grained access control vulnerability

  • CVE-2026-42129
    HIGH

    Grafana Loki datasource plugin's callResource handler contains a path traversal vulnerability.

  • CVE-2025-1088
    LOW

    Grafana long dashboard title or panel name causes unresponsives

  • CVE-2025-4123

    Grafana Cross-Site-Scripting (XSS) via custom loaded frontend plugin in github.com/grafana/grafana

  • CVE-2025-3260

    Grafana vulnerable to authenticated users bypassing dashboard, folder permissions in github.com/grafana/grafana

  • CVE-2025-3454

    Grafana's datasource proxy API allows authorization checks to be bypassed in github.com/grafana/grafana

  • CVE-2025-1088

    Grafana long dashboard title or panel name causes unresponsives in github.com/grafana/grafana

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my go.sum