# CVE-2022-36062: Grafana folders admin only permission privilege escalation

Status: published. Published: 2022-09-22. Updated: 2026-11-03.

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.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: security-advisories@github.com) — https://github.com/grafana/grafana/security/advisories/GHSA-p978-56hq-r492
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: af854a3a-2127-422b-91ae-364da2661108) — https://github.com/grafana/grafana/security/advisories/GHSA-p978-56hq-r492
- fix: github.com/grafana/grafana (Go): OSV reports a fixed version 8.5.13. Check the advisory for supported release branches. (source: OSV GHSA-p978-56hq-r492) — https://github.com/advisories/GHSA-p978-56hq-r492
- fix: github.com/grafana/grafana (Go): OSV reports a fixed version 9.0.9. Check the advisory for supported release branches. (source: OSV GHSA-p978-56hq-r492) — https://github.com/advisories/GHSA-p978-56hq-r492
- fix: github.com/grafana/grafana (Go): OSV reports a fixed version 9.1.6. Check the advisory for supported release branches. (source: OSV GHSA-p978-56hq-r492) — https://github.com/advisories/GHSA-p978-56hq-r492

## Affected products and versions

- grafana / grafana: < 8.5.13 (affected); >= 9.0.0, < 9.0.9 (affected); >=  9.1.0, < 9.1.6 (affected). Source: CNA: GitHub_M
-  / github.com/grafana/grafana (github.com/grafana/grafana): ≥ 8.5.0; < 8.5.13 (affected, semver); OSV events: introduced 8.5.0; fixed 8.5.13. Source: OSV GHSA-p978-56hq-r492
-  / github.com/grafana/grafana (github.com/grafana/grafana): ≥ 9.0.0; < 9.0.9 (affected, semver); OSV events: introduced 9.0.0; fixed 9.0.9. Source: OSV GHSA-p978-56hq-r492
-  / github.com/grafana/grafana (github.com/grafana/grafana): ≥ 9.1.0; < 9.1.6 (affected, semver); OSV events: introduced 9.1.0; fixed 9.1.6. Source: OSV GHSA-p978-56hq-r492

## NVD configuration conditions

Affected CPE matches depend on the following AND/OR and negation conditions:

```json
[
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "8.5.13",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "9.0.9",
            "versionStartIncluding": "9.0.0",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "9.1.6",
            "versionStartIncluding": "9.1.0",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  }
]
```

## Severity and prioritization

- CVSS 3.1: 7.6 (high); CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L; source: CNA: GitHub_M

- CVSS 3.1: 3.8 (low); CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N; source: NVD: nvd@nist.gov

- CVSS 3.1: 7.6 (high); CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L; source: NVD: security-advisories@github.com

- CISA KEV: No listing in collected sources

- EPSS: 0.75% as of 2026-11-03; percentile 54.96%

- SSVC: exploitation none; automatable no; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-281

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/grafana/grafana/security/advisories/GHSA-p978-56hq-r492 (CNA: GitHub_M)

- https://security.netapp.com/advisory/ntap-20221215-0001/ (CNA: GitHub_M)

- https://github.com/grafana/grafana/security/advisories/GHSA-p978-56hq-r492 (ADP: CVE; x_transferred)

- https://security.netapp.com/advisory/ntap-20221215-0001/ (ADP: CVE; x_transferred)

- https://github.com/grafana/grafana/security/advisories/GHSA-p978-56hq-r492 (security-advisories@github.com; Patch, Release Notes, Vendor Advisory)

- https://security.netapp.com/advisory/ntap-20221215-0001/ (security-advisories@github.com; Third Party Advisory)

- https://github.com/grafana/grafana/security/advisories/GHSA-p978-56hq-r492 (af854a3a-2127-422b-91ae-364da2661108; Patch, Release Notes, Vendor Advisory)

- https://security.netapp.com/advisory/ntap-20221215-0001/ (af854a3a-2127-422b-91ae-364da2661108; Third Party Advisory)

- https://github.com/advisories/GHSA-p978-56hq-r492 (OSV / GitHub Security Advisories; advisory)

- https://osv.dev/vulnerability/GHSA-p978-56hq-r492 (OSV / GitHub Security Advisories; osv)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2022-36062; retrieved 2026-11-04; source updated 2026-11-03

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2022-36062; retrieved 2026-11-04; source updated 2026-11-03

- OSV / GitHub Security Advisories: https://osv.dev/vulnerability/GHSA-p978-56hq-r492; retrieved 2026-11-03; source updated 2026-09-10

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2022-36062; retrieved 2026-11-03; source updated Not reported

Revision: dc322a6a3c4a32de1f6606b67cb3acc1265614b5cfa5156c39210129582e0829

Canonical: https://y2.dev/cve/CVE-2022-36062

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.