ADVISORIES

Vulnerability

CVE-2022-31107

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.

70 advisories report this vulnerability, across 11 ecosystems.

Advisories

  • ALPINE-CVE-2022-31107

    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…

    CVE-2022-31107 Alpine Updated 20 November 2026
  • ALPINE-EDGE-CVE-2022-31107
    CVE-2022-31107 Alpine Updated 18 November 2026
  • ALSA-2022:5716

    Important: grafana security update

    CVE-2022-31107 AlmaLinux Updated 29 October 2026
  • ALSA-2022:5717

    Important: grafana security update

    CVE-2022-31107 AlmaLinux Updated 29 October 2026
  • CGA-23w2-66p9-9hjr
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-2w9v-64h7-9wf5
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-3h36-v8fq-pmg8
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-3pv4-p6g2-jf4g
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-3rvq-cpcp-3qc3
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-47x8-xgwp-pcqq
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-49r2-g3hw-7xmh
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-4vfm-q6ch-fhq3
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-5h4g-8p82-jw46
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-62jw-2995-9p86
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-67m9-r4gc-px5x
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-6jh6-42fq-gq6x
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-6rw7-5j3j-8rcp
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-72m9-g9wq-8jvj
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-75m3-q3ph-gx7x
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-7c42-fmqc-7mw8
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-854m-xwwc-993r
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-94x2-5fwg-9m74
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-95cx-6cgh-m267
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-9mpq-g8gr-jr3m
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-9vgg-9q3v-h487
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-c9f7-fgmq-9xxq
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-hhfj-mx25-cfr3
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-j3v2-4mjf-x946
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-j4m9-4mq6-q67x
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-m7c7-3w85-7vwv
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-mcm5-q4qp-3wm8
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-mg44-2m3p-xc9h
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-r34p-jqwr-3636
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-r732-x4r5-c9pq
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-v7jp-vfv9-98wr
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-vg9r-qp55-wx7p
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-vgrg-hx9c-9jvm
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-vj5h-hh4j-6vfv
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-vm2w-9hm2-fpjg
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-vmhg-rrq2-rq6p
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-wh7h-996f-rm77
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-x25m-6m4v-c6p3
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-x56c-jq2j-9h9v
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • CGA-xmhf-xr94-xm2p
    CVE-2022-31107 Chainguard Updated 5 November 2026
  • ELSA-2022-5716

    ELSA-2022-5716: grafana security update (IMPORTANT)

    Important CVE-2022-31107 Oracle Linux Updated 26 July 2022
  • ELSA-2022-5717

    ELSA-2022-5717: grafana security update (IMPORTANT)

    Important CVE-2022-31107 Oracle Linux Updated 27 July 2022
  • GHSA-mx47-6497-3fv2

    Grafana account takeover via OAuth vulnerability

    High CVE-2022-31107 Go Updated 10 September 2026
  • GO-2024-2852

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

    CVE-2022-31107 Go Updated 4 February 2026
  • OESA-2022-1870

    grafana security update

    High CVE-2022-31107 openEuler Updated 18 August 2026
  • RHSA-2022:5716

    Red Hat Security Advisory: grafana security update

    CVE-2022-31107 Red Hat Updated 5 August 2026
  • RHSA-2022:5717

    Red Hat Security Advisory: grafana security update

    CVE-2022-31107 Red Hat Updated 5 August 2026
  • RHSA-2022:5718

    Red Hat Security Advisory: grafana security update

    CVE-2022-31107 Red Hat Updated 5 August 2026
  • RHSA-2022:5719

    Red Hat Security Advisory: grafana security update

    CVE-2022-31107 Red Hat Updated 5 August 2026
  • RHSA-2022:5720

    Red Hat Security Advisory: grafana security update

    CVE-2022-31107 Red Hat Updated 5 August 2026
  • RLSA-2022:5716

    Important: grafana security update

    CVE-2022-31107 Rocky Linux Updated 4 February 2026
  • RLSA-2022:5717

    Important: grafana security update

    CVE-2022-31107 Rocky Linux Updated 5 February 2026
  • SUSE-SU-2022:3676-1

    Security update for grafana

    Known exploited CVE-2021-36222CVE-2021-3711CVE-2021-41174CVE-2021-41244 SUSE Updated 4 February 2026
  • SUSE-SU-2022:3747-1

    Security update for SUSE Manager Client Tools

    CVE-2022-21698CVE-2022-31097CVE-2022-31107 SUSE Updated 4 February 2026
  • SUSE-SU-2022:3751-1

    Security update for SUSE Manager Client Tools

    CVE-2022-31097CVE-2022-31107 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:3765-1

    Security update for grafana

    CVE-2022-21702CVE-2022-21703CVE-2022-21713CVE-2022-31097 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:4428-1

    Security update for grafana

    Known exploited CVE-2021-36222CVE-2021-3711CVE-2021-41174CVE-2021-41244 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:4437-1

    Security update for SUSE Manager Client Tools

    Known exploited CVE-2021-36222CVE-2021-3711CVE-2021-41174CVE-2021-41244 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:4439-1

    Security update for SUSE Manager Client Tools

    Known exploited CVE-2021-36222CVE-2021-3711CVE-2021-41174CVE-2021-41244 SUSE Updated 4 February 2026
  • SUSE-SU-2023:2575-1

    Security update for SUSE Manager Client Tools

    CVE-2020-7753CVE-2021-3807CVE-2021-3918CVE-2021-43138 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2023:2578-1

    Security update for SUSE Manager Client Tools

    CVE-2020-7753CVE-2021-3807CVE-2021-3918CVE-2021-43138 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2023:2579-1

    Security update for SUSE Manager Client Tools

    CVE-2020-7753CVE-2021-3807CVE-2021-3918CVE-2021-43138 SUSE Updated 4 February 2026
  • SUSE-SU-2024:0191-1

    Security Beta update for SUSE Manager Client Tools

    Known exploited CVE-2020-7753CVE-2021-36222CVE-2021-3711CVE-2021-3807 SUSE Updated 4 February 2026
  • SUSE-SU-2024:0196-1

    Security Beta update for SUSE Manager Client Tools and Salt

    Known exploited CVE-2020-7753CVE-2021-20178CVE-2021-20180CVE-2021-20191 SUSE Updated 4 February 2026
  • UBUNTU-CVE-2022-31107

    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…

    CVE-2022-31107 Ubuntu Updated 24 October 2025
  • openSUSE-SU-2024:12260-1

    grafana-8.3.10-1.1 on GA media

    CVE-2022-31097CVE-2022-31107 openSUSE Updated 4 February 2026

References