SecurityContext

CVE-2022-24812: Grafana Enterprise - Privilege Escalation

  • Cve: CVE-2022-24812
  • Name: Grafana Enterprise - Privilege Escalation
  • Description: Grafana is an open-source platform for monitoring and observability. When fine-grained access control is enabled and a client uses Grafana API Key to make requests, the permissions for that API Key are cached for 30 seconds for the given organization. Because of the way the cache ID is constructed, the consequent requests with any API Key evaluate to the same permissions as the previous requests. This can lead to an escalation of privileges, when for example a first request is made with Admin permissions, and the second request with different API Key is made with Viewer permissions, the second request will get the cached permissions from the previous Admin, essentially accessing higher privilege than it should. The vulnerability is only impacting Grafana Enterprise when the fine-grained access control beta feature is enabled and there are more than one API Keys in one organization with different roles assigned. All installations after Grafana Enterprise v8.1.0-beta1 should be upgraded as soon as possible. As an alternative, disable fine-grained access control will mitigate the vulnerability.
  • Impact: Attackers can escalate privileges and access higher permission levels than intended, potentially leading to unauthorized data access or actions.
  • Remediation: Upgrade to Grafana Enterprise v8.1.0-beta1 or later, or disable fine-grained access control to mitigate the vulnerability.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.02358
  • Epss percentile: 0.84186
  • Assignee: [email protected]
  • Published at: 2022-04-12T17:15:09Z
  • Age in days: 1687
  • Modified at: 2026-06-17T04:32:34Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-24812
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-269Improper Privilege Management

References

Same in every row:

  • Source: nvd
UrlTags
https://grafana.com/blog/2022/04/12/grafana-enterprise-8.4.6-released-with-high-severity-security-fix/Patch, Release Notes, Vendor Advisory
https://github.com/grafana/grafana/security/advisories/GHSA-82gq-xfg3-5j7vPatch, Release Notes, Third Party Advisory
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-4-6/Release Notes, Vendor Advisory
https://security.netapp.com/advisory/ntap-20220519-0005/Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
grafana:grafana>= 8.1.0, < 8.4.6nonvd/v1/products/grafana/grafana

Projects

RepositoryLink kindsIndexedUrl
grafana/grafanasecurity_advisoryyes/v1/repositories/grafana/grafana

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 202202
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports