CVE-2021-41244 — Vulnerability in github.com/grafana/grafana
Grafana Fine-grained access control vulnerability
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (2.89%). Schedule for your next planned update.
Does your project use an affected github.com/grafana/grafana version?
Paste your go.sum to check it for CVE-2021-41244 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
On Nov. 2, during an internal security audit, we discovered that when the fine-grained access control beta feature is enabled and there is more than one organization in the Grafana instance, Grafana 8.0 introduced a mechanism which allowed users with the Organization Admin role to list, add, remove, and update users’ roles in other organizations in which they are not an admin.
Patches
Fixed in 8.2.4
Workarounds
All installations between v8.0 and v8.2.3 that have fine-grained access control beta enabled and more than one organization should be upgraded as soon as possible. If you cannot upgrade, you should turn off the fine-grained access control using a feature flag.
Grafana Cloud instances have not been affected by the vulnerability.
Reporting security issues
If you think you have found a security vulnerability, please send a report to security@grafana.com. This address can be used for all of Grafana Labs' open source and commercial products (including, but not limited to Grafana, Grafana Cloud, Grafana Enterprise, and grafana.com). We can accept only vulnerability reports at this address. We would prefer that you encrypt your message to us by using our PGP key. The key fingerprint is
F988 7BEA 027A 049F AE8E 5CAA D125 8932 BE24 C5CA
The key is available from keyserver.ubuntu.com.
Security announcements
We maintain a security category on our blog, where we will always post a summary, remediation, and mitigation details for any patch containing security fixes.
You can also subscribe to our RSS feed.
Advisory Timeline
- First published May 14, 2024 (926 days ago).
- Last revised July 8, 2026 — 784 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/grafana/grafana@v8.2.4
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: Go (1).
| Package | Fixed In |
|---|---|
| github.com/grafana/grafana Go · Affected: All versions | 8.2.4 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-610
- CWE-863Incorrect AuthorizationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/grafana/grafana/security/advisories/GHSA-mpwp-42x6-4wmxWEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-41244ADVISORY
- https://github.com/grafana/grafanaPACKAGE
- https://grafana.com/blog/2021/11/15/grafana-8.2.4-released-with-security-fixesWEB
- https://security.netapp.com/advisory/ntap-20211223-0001WEB
- https://www.openwall.com/lists/oss-security/2021/11/15/1WEB
Frequently Asked Questions
- What is CVE-2021-41244?
- Grafana Fine-grained access control vulnerability. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
- How do I check if my project is affected by CVE-2021-41244?
- CVE-2021-41244 affects github.com/grafana/grafana. It has a 2.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2021-41244 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top quartile of EPSS-scored vulnerabilities — 87.6% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2022-31130
Grafana Data source and plugin proxy endpoints leaking authentication tokens to some destination plugins in github.com/grafana/grafana
- CVE-2022-31107
Grafana account takeover via OAuth vulnerability in github.com/grafana/grafana
- CVE-2022-36062
Grafana folders admin only permission privilege escalation in github.com/grafana/grafana
- CVE-2022-31123
Grafana Plugin signature bypass in github.com/grafana/grafana
- CVE-2022-39328
Grafana Race condition allowing privilege escalation in github.com/grafana/grafana
- CVE-2022-31097
Grafana Stored Cross-site Scripting in Unified Alerting in github.com/grafana/grafana
- CVE-2022-39201
Grafana Data source and plugin proxy endpoints could leak the authentication cookie to some destination plugins in github.com/grafana/grafana
- CVE-2022-39324
Grafana Spoofing originalUrl of snapshots in github.com/grafana/grafana