CVE Database›CVE-2022-31107

CVE-2022-31107

grafana: OAuth account takeover

Loading…

Severity

Important

Red Hat Product Security

7.1

CVSS 3.1

Review impact separately from score.

Published · July 14, 2022

Updated · August 5, 2026

Description

A flaw was found in Grafana. This flaw allows a malicious user with the authorization to log into a Grafana instance via a configured OAuth IdP to take over an existing Grafana account under certain conditions.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

As a workaround, it is possible to disable any OAuth login or ensure that all users authorized to log in via OAuth have a corresponding user account in Grafana linked to their email address.

CVSS / CWE

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

CWE-287 · Improper Authentication