Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-31107

published high CVSS 3.1 · 7.1

Grafana account takeover via OAuth vulnerability

Published
15 Jul 2022, 12:30:14 UTC
Updated
28 Jan 2026, 04:55:31 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
grafana — grafana>= 5.3, < 8.3.10 · >= 8.4.0, < 8.4.10 · >= 8.5.0, < 8.5.9 · >= 9.0.0, < 9.0.3 Affected Not stated GitHub_M
AlmaLinux 8 grafana Advisory build 7.5.11-3.el8_6 ALSA-2022:5717
Alpine Linux edge grafana Fixed 9.0.3-r0 Package fix record
Oracle Linux 8 grafanaaarch64 Advisory build 0:7.5.11-3.el8_6 ELSA-2022-5717
Red Hat Enterprise Linux RHEL-8 grafanaaarch64 Advisory build 6.3.6-5.el8_2 RHSA-2022:5719
SUSE / openSUSE SLE-15-SP4 grafanaaarch64 Advisory build 8.3.10-150200.3.26.1 SUSE-SU-2022:3765-1
AlmaLinux 9 grafana Advisory build 7.5.11-5.el9_0 ALSA-2022:5716
Alpine Linux v3.16 grafana Fixed 8.5.9-r0 Package fix record
Show 93 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.17 grafana Fixed 9.0.3-r0 Package fix record
Alpine Linux v3.18 grafana Fixed 9.0.3-r0 Package fix record
Alpine Linux v3.19 grafana Fixed 9.0.3-r0 Package fix record
Alpine Linux v3.20 grafana Fixed 9.0.3-r0 Package fix record
Alpine Linux v3.21 grafana Fixed 9.0.3-r0 Package fix record
Alpine Linux v3.22 grafana Fixed 9.0.3-r0 Package fix record
Alpine Linux v3.23 grafana Fixed 9.0.3-r0 Package fix record
Alpine Linux v3.24 grafana Fixed 9.0.3-r0 Package fix record
Oracle Linux 8 grafanax86_64 Advisory build 0:7.5.11-3.el8_6 ELSA-2022-5717
Oracle Linux 9 grafanaaarch64 Advisory build 0:7.5.11-5.el9_0 ELSA-2022-5716
Oracle Linux 9 grafanax86_64 Advisory build 0:7.5.11-5.el9_0 ELSA-2022-5716
Red Hat Enterprise Linux RHEL-8 grafanaaarch64 Advisory build 7.3.6-5.el8_4 RHSA-2022:5718
Red Hat Enterprise Linux RHEL-8 grafanaaarch64 Advisory build 7.5.11-3.el8_6 RHSA-2022:5717
Red Hat Enterprise Linux RHEL-8 grafanappc64le Advisory build 6.2.2-9.el8_1 RHSA-2022:5720
Red Hat Enterprise Linux RHEL-8 grafanappc64le Advisory build 6.3.6-5.el8_2 RHSA-2022:5719
Red Hat Enterprise Linux RHEL-8 grafanappc64le Advisory build 7.3.6-5.el8_4 RHSA-2022:5718
Red Hat Enterprise Linux RHEL-8 grafanappc64le Advisory build 7.5.11-3.el8_6 RHSA-2022:5717
Red Hat Enterprise Linux RHEL-8 grafanas390x Advisory build 6.3.6-5.el8_2 RHSA-2022:5719
Red Hat Enterprise Linux RHEL-8 grafanas390x Advisory build 7.3.6-5.el8_4 RHSA-2022:5718
Red Hat Enterprise Linux RHEL-8 grafanas390x Advisory build 7.5.11-3.el8_6 RHSA-2022:5717
Red Hat Enterprise Linux RHEL-8 grafanasrc Advisory build 6.2.2-9.el8_1 RHSA-2022:5720
Red Hat Enterprise Linux RHEL-8 grafanasrc Advisory build 6.3.6-5.el8_2 RHSA-2022:5719
Red Hat Enterprise Linux RHEL-8 grafanasrc Advisory build 7.3.6-5.el8_4 RHSA-2022:5718
Red Hat Enterprise Linux RHEL-8 grafanasrc Advisory build 7.5.11-3.el8_6 RHSA-2022:5717
Red Hat Enterprise Linux RHEL-8 grafanax86_64 Advisory build 6.2.2-9.el8_1 RHSA-2022:5720
Red Hat Enterprise Linux RHEL-8 grafanax86_64 Advisory build 6.3.6-5.el8_2 RHSA-2022:5719
Red Hat Enterprise Linux RHEL-8 grafanax86_64 Advisory build 7.3.6-5.el8_4 RHSA-2022:5718
Red Hat Enterprise Linux RHEL-8 grafanax86_64 Advisory build 7.5.11-3.el8_6 RHSA-2022:5717
Red Hat Enterprise Linux RHEL-9 grafanaaarch64 Advisory build 7.5.11-5.el9_0 RHSA-2022:5716
Red Hat Enterprise Linux RHEL-9 grafanappc64le Advisory build 7.5.11-5.el9_0 RHSA-2022:5716
Red Hat Enterprise Linux RHEL-9 grafanas390x Advisory build 7.5.11-5.el9_0 RHSA-2022:5716
Red Hat Enterprise Linux RHEL-9 grafanasrc Advisory build 7.5.11-5.el9_0 RHSA-2022:5716
Red Hat Enterprise Linux RHEL-9 grafanax86_64 Advisory build 7.5.11-5.el9_0 RHSA-2022:5716
SUSE / openSUSE SLE-15-SP4 grafanaaarch64 Advisory build 8.5.13-150200.3.29.5 SUSE-SU-2022:4428-1
SUSE / openSUSE SLE-15-SP4 grafanaaarch64 Advisory build 9.5.1-150200.3.41.3 SUSE-SU-2023:2575-1
SUSE / openSUSE SLE-15-SP4 grafanappc64le Advisory build 8.3.10-150200.3.26.1 SUSE-SU-2022:3765-1
SUSE / openSUSE SLE-15-SP4 grafanappc64le Advisory build 8.5.13-150200.3.29.5 SUSE-SU-2022:4428-1
SUSE / openSUSE SLE-15-SP4 grafanappc64le Advisory build 9.5.1-150200.3.41.3 SUSE-SU-2023:2575-1
SUSE / openSUSE SLE-15-SP4 grafanas390x Advisory build 8.3.10-150200.3.26.1 SUSE-SU-2022:3765-1
SUSE / openSUSE SLE-15-SP4 grafanas390x Advisory build 8.5.13-150200.3.29.5 SUSE-SU-2022:4428-1
SUSE / openSUSE SLE-15-SP4 grafanas390x Advisory build 9.5.1-150200.3.41.3 SUSE-SU-2023:2575-1
SUSE / openSUSE SLE-15-SP4 grafanax86_64 Advisory build 8.3.10-150200.3.26.1 SUSE-SU-2022:3765-1
SUSE / openSUSE SLE-15-SP4 grafanax86_64 Advisory build 8.5.13-150200.3.29.5 SUSE-SU-2022:4428-1
SUSE / openSUSE SLE-15-SP4 grafanax86_64 Advisory build 9.5.1-150200.3.41.3 SUSE-SU-2023:2575-1
SUSE / openSUSE SLE-15-SP5 grafanaaarch64 Advisory build 9.5.1-150200.3.41.3 SUSE-SU-2023:2575-1
SUSE / openSUSE SLE-15-SP5 grafanappc64le Advisory build 9.5.1-150200.3.41.3 SUSE-SU-2023:2575-1
SUSE / openSUSE SLE-15-SP5 grafanas390x Advisory build 9.5.1-150200.3.41.3 SUSE-SU-2023:2575-1
SUSE / openSUSE SLE-15-SP5 grafanax86_64 Advisory build 9.5.1-150200.3.41.3 SUSE-SU-2023:2575-1
SUSE / openSUSE openSUSE-Leap-15.3 grafanaaarch64 Advisory build 8.3.10-150200.3.26.1 SUSE-SU-2022:3765-1
SUSE / openSUSE openSUSE-Leap-15.3 grafanaaarch64 Advisory build 8.5.13-150200.3.29.5 SUSE-SU-2022:4428-1
SUSE / openSUSE openSUSE-Leap-15.3 grafanappc64le Advisory build 8.3.10-150200.3.26.1 SUSE-SU-2022:3765-1
SUSE / openSUSE openSUSE-Leap-15.3 grafanappc64le Advisory build 8.5.13-150200.3.29.5 SUSE-SU-2022:4428-1
SUSE / openSUSE openSUSE-Leap-15.3 grafanas390x Advisory build 8.3.10-150200.3.26.1 SUSE-SU-2022:3765-1
SUSE / openSUSE openSUSE-Leap-15.3 grafanas390x Advisory build 8.5.13-150200.3.29.5 SUSE-SU-2022:4428-1
SUSE / openSUSE openSUSE-Leap-15.3 grafanax86_64 Advisory build 8.3.10-150200.3.26.1 SUSE-SU-2022:3765-1
SUSE / openSUSE openSUSE-Leap-15.3 grafanax86_64 Advisory build 8.5.13-150200.3.29.5 SUSE-SU-2022:4428-1
SUSE / openSUSE openSUSE-Leap-15.4 grafanaaarch64 Advisory build 8.3.10-150200.3.26.1 SUSE-SU-2022:3765-1
SUSE / openSUSE openSUSE-Leap-15.4 grafanaaarch64 Advisory build 8.5.13-150200.3.29.5 SUSE-SU-2022:4428-1
SUSE / openSUSE openSUSE-Leap-15.4 grafanaaarch64 Advisory build 9.5.1-150200.3.41.3 SUSE-SU-2023:2575-1
SUSE / openSUSE openSUSE-Leap-15.4 grafanappc64le Advisory build 8.3.10-150200.3.26.1 SUSE-SU-2022:3765-1
SUSE / openSUSE openSUSE-Leap-15.4 grafanappc64le Advisory build 8.5.13-150200.3.29.5 SUSE-SU-2022:4428-1
SUSE / openSUSE openSUSE-Leap-15.4 grafanappc64le Advisory build 9.5.1-150200.3.41.3 SUSE-SU-2023:2575-1
SUSE / openSUSE openSUSE-Leap-15.4 grafanas390x Advisory build 8.3.10-150200.3.26.1 SUSE-SU-2022:3765-1
SUSE / openSUSE openSUSE-Leap-15.4 grafanas390x Advisory build 8.5.13-150200.3.29.5 SUSE-SU-2022:4428-1
SUSE / openSUSE openSUSE-Leap-15.4 grafanas390x Advisory build 9.5.1-150200.3.41.3 SUSE-SU-2023:2575-1
SUSE / openSUSE openSUSE-Leap-15.4 grafanax86_64 Advisory build 8.3.10-150200.3.26.1 SUSE-SU-2022:3765-1
SUSE / openSUSE openSUSE-Leap-15.4 grafanax86_64 Advisory build 8.5.13-150200.3.29.5 SUSE-SU-2022:4428-1
SUSE / openSUSE openSUSE-Leap-15.4 grafanax86_64 Advisory build 9.5.1-150200.3.41.3 SUSE-SU-2023:2575-1
SUSE / openSUSE openSUSE-Leap-15.5 grafanaaarch64 Advisory build 9.5.1-150200.3.41.3 SUSE-SU-2023:2575-1
SUSE / openSUSE openSUSE-Leap-15.5 grafanappc64le Advisory build 9.5.1-150200.3.41.3 SUSE-SU-2023:2575-1
SUSE / openSUSE openSUSE-Leap-15.5 grafanas390x Advisory build 9.5.1-150200.3.41.3 SUSE-SU-2023:2575-1
SUSE / openSUSE openSUSE-Leap-15.5 grafanax86_64 Advisory build 9.5.1-150200.3.41.3 SUSE-SU-2023:2575-1
SUSE / openSUSE openSUSE-Tumbleweed grafanaaarch64 Advisory build 8.3.10-1.1 OPENSUSE-SU-2024:12260-1
SUSE / openSUSE openSUSE-Tumbleweed grafanappc64le Advisory build 8.3.10-1.1 OPENSUSE-SU-2024:12260-1
SUSE / openSUSE openSUSE-Tumbleweed grafanas390x Advisory build 8.3.10-1.1 OPENSUSE-SU-2024:12260-1
SUSE / openSUSE openSUSE-Tumbleweed grafanax86_64 Advisory build 8.3.10-1.1 OPENSUSE-SU-2024:12260-1
Red Hat Enterprise Linux RHEL-8 grafana-azure-monitoraarch64 Advisory build 6.3.6-5.el8_2 RHSA-2022:5719
Red Hat Enterprise Linux RHEL-8 grafana-azure-monitorppc64le Advisory build 6.2.2-9.el8_1 RHSA-2022:5720
Red Hat Enterprise Linux RHEL-8 grafana-azure-monitorppc64le Advisory build 6.3.6-5.el8_2 RHSA-2022:5719
Red Hat Enterprise Linux RHEL-8 grafana-azure-monitors390x Advisory build 6.3.6-5.el8_2 RHSA-2022:5719
Red Hat Enterprise Linux RHEL-8 grafana-azure-monitorx86_64 Advisory build 6.2.2-9.el8_1 RHSA-2022:5720
Red Hat Enterprise Linux RHEL-8 grafana-azure-monitorx86_64 Advisory build 6.3.6-5.el8_2 RHSA-2022:5719
Red Hat Enterprise Linux RHEL-8 grafana-cloudwatchaarch64 Advisory build 6.3.6-5.el8_2 RHSA-2022:5719
Red Hat Enterprise Linux RHEL-8 grafana-cloudwatchppc64le Advisory build 6.2.2-9.el8_1 RHSA-2022:5720
Red Hat Enterprise Linux RHEL-8 grafana-cloudwatchppc64le Advisory build 6.3.6-5.el8_2 RHSA-2022:5719
Red Hat Enterprise Linux RHEL-8 grafana-cloudwatchs390x Advisory build 6.3.6-5.el8_2 RHSA-2022:5719
Red Hat Enterprise Linux RHEL-8 grafana-cloudwatchx86_64 Advisory build 6.2.2-9.el8_1 RHSA-2022:5720
Red Hat Enterprise Linux RHEL-8 grafana-cloudwatchx86_64 Advisory build 6.3.6-5.el8_2 RHSA-2022:5719
Red Hat Enterprise Linux RHEL-8 grafana-debuginfoaarch64 Advisory build 6.3.6-5.el8_2 RHSA-2022:5719
Red Hat Enterprise Linux RHEL-8 grafana-debuginfoaarch64 Advisory build 7.3.6-5.el8_4 RHSA-2022:5718
Red Hat Enterprise Linux RHEL-8 grafana-debuginfoaarch64 Advisory build 7.5.11-3.el8_6 RHSA-2022:5717
Red Hat Enterprise Linux RHEL-8 grafana-debuginfoppc64le Advisory build 6.2.2-9.el8_1 RHSA-2022:5720
Red Hat Enterprise Linux RHEL-8 grafana-debuginfoppc64le Advisory build 6.3.6-5.el8_2 RHSA-2022:5719

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

Grafana is an open-source platform for monitoring and observability. In versions 5.3 until 9.0.3, 8.5.9, 8.4.10, and 8.3.10, it is possible for a malicious user who has authorization to log into a Grafana instance via a configured OAuth IdP which provides a login name to take over the account of another user in that Grafana instance. This can occur when the malicious user is authorized to log in to Grafana via OAuth, the malicious user's external user id is not already associated with an account in Grafana, the malicious user's email address is not already associated with an account in Grafana, and the malicious user knows the Grafana username of the target user. If these conditions are met, the malicious user can set their username in the OAuth provider to that of the target user, then go through the OAuth flow to log in to Grafana. Due to the way that external and internal user accounts are linked together during login, if the conditions above are all met then the malicious user will be able to log in to the target user's Grafana account. Versions 9.0.3, 8.5.9, 8.4.10, and 8.3.10 contain a patch for this issue. As a workaround, concerned users can disable OAuth login to their Grafana instance, or ensure that all users authorized to log in via OAuth have a corresponding user account in Grafana linked to their email address.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

44

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.1 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
grafana grafana >= 5.3, < 8.3.10 (affected)>= 8.4.0, < 8.4.10 (affected)>= 8.5.0, < 8.5.9 (affected)>= 9.0.0, < 9.0.3 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-863 CWE-863: Incorrect Authorization (GitHub_M · cna)

References

5

Provider assertions

3

GitHub_M · cna

Grafana account takeover via OAuth vulnerability

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
3b2752f69a38be6c32cc194059bc4049ea6caf895ba797059b8c995248ae8ac2
Ingested
23 Sep 2026, 08:00:25 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected