Skip to content
Heist/ feed
Back to feed
High

Grafana folders admin only permission privilege escalation

Type: advisorySources: OSV

Grafana is an open-source platform for monitoring and observability. In versions prior to 8.5.13, 9.0.9, and 9.1.6, Grafana is subject to Improper Preservation of Permissions resulting in privilege escalation on some folders where Admin is the only used permission. The vulnerability impacts Grafana instances where RBAC was disabled and enabled afterwards, as the migrations which are translating legacy folder permissions to RBAC permissions do not account for the scenario where the only user permission in the folder is Admin, as a result RBAC adds permissions for Editors and Viewers which allow them to edit and view folders accordingly. This issue has been patched in versions 8.5.13, 9.0.9, and 9.1.6. A workaround when the impacted folder/dashboard is known is to remove the additional permissions manually.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-36062
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 19:27 UTC · Revision 1

Source evidence

Grafana folders admin only permission privilege escalation

core-osv · Original source

Published 22 Sept 2022, 00:00 UTC

Grafana is an open-source platform for monitoring and observability. In versions prior to 8.5.13, 9.0.9, and 9.1.6, Grafana is subject to Improper Preservation of Permissions resulting in privilege escalation on some folders where Admin is the only used permission. The vulnerability impacts Grafana instances where RBAC was disabled and enabled afterwards, as the migrations which are translating legacy folder permissions to RBAC permissions do not account for the scenario where the only user permission in the folder is Admin, as a result RBAC adds permissions for Editors and Viewers which allow them to edit and view folders accordingly. This issue has been patched in versions 8.5.13, 9.0.9, and 9.1.6. A workaround when the impacted folder/dashboard is known is to remove the additional permissions manually.

osv:CVE-2022-36062
Complete source record
{
  "id": "85c14091f700e04b176640f477c3e4cffc3fe0a5c63cbc9f4c3bb4e25929e5f9",
  "url": "https://osv.dev/vulnerability/CVE-2022-36062",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Grafana folders admin only permission privilege escalation",
    "summary": "Grafana is an open-source platform for monitoring and observability. In versions prior to 8.5.13, 9.0.9, and 9.1.6, Grafana is subject to Improper Preservation of Permissions resulting in privilege escalation on some folders where Admin is the only used permission. The vulnerability impacts Grafana instances where RBAC was disabled and enabled afterwards, as the migrations which are translating legacy folder permissions to RBAC permissions do not account for the scenario where the only user permission in the folder is Admin, as a result RBAC adds permissions for Editors and Viewers which allow them to edit and view folders accordingly. This issue has been patched in versions 8.5.13, 9.0.9, and 9.1.6. A workaround when the impacted folder/dashboard is known is to remove the additional permissions manually.",
    "evidence": "osv:CVE-2022-36062",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-36062",
      "aliases": [
        "BIT-grafana-2022-36062",
        "CVE-2022-36062",
        "GHSA-p978-56hq-r492",
        "GO-2024-2854"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/grafana/grafana",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "38d274060d2dd6c4240edfdcc30d122e8120545d"
                },
                {
                  "introduced": "b5c56f63710e09f37b8557ddd8b99ae3fc583169"
                },
                {
                  "fixed": "720fe9d1d147e9c61a29751f8768fad0d2f28d5b"
                },
                {
                  "introduced": "82e32447b474565e5f815c5cfffc9d91da875f87"
                },
                {
                  "fixed": "92461d8d1e7eb414f5b562b0e1ecef37bc844021"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "8.5.13"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.0.0"
                      },
                      {
                        "fixed": "9.0.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.1.0"
                      },
                      {
                        "fixed": "9.1.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v8.4.0-beta1",
            "v8.3.3",
            "v6.5",
            "v6.0.0-beta1",
            "v5.,2.4",
            "v5.0.0",
            "v5.0.0-beta5",
            "v5.0.0-beta4",
            "v5.0.0-beta3",
            "v5.0.0-beta2",
            "v5.0.0-beta1",
            "v4.6.0-beta1",
            "v4.5.0",
            "v4.5.0-beta1",
            "v4.4.0",
            "v3.1.0-beta1",
            "v3.0.2",
            "v3.0.1",
            "v3.0.0-beta7",
            "v3.0.0-beta6",
            "v2.6.0",
            "v2.6.0-beta1",
            "v2.5.0",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0-beta3",
            "v2.0.0-beta1",
            "v1.9.1",
            "v1.9.0",
            "v1.9.0-rc1",
            "v1.7.0-rc1",
            "v1.6.1",
            "v1.6.0",
            "v1.5.4",
            "v1.5.3",
            "v1.5.2",
            "v1.5.1",
            "v1.5.0",
            "v1.4.0",
            "v1.3.0",
            "v1.2.0",
            "v1.1.0",
            "v1.0.4",
            "v1.0.3",
            "v1.0.2",
            "v1.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-36062.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:47.888595747Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36062.json",
        "https://github.com/grafana/grafana/security/advisories/GHSA-p978-56hq-r492",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-36062",
        "https://security.netapp.com/advisory/ntap-20221215-0001/"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-281"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36062.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-36062",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 515970,
  "published_at": "2022-09-22T00:00:00+00:00"
}