CVE-2026-21724: Grafana OSS Authorization Bypass Allows Users With Vulnerability

MODERATE
Advisory Identifier: GHSA-7g92-g4vh-hp84
CVSS 5.4
CWE-285
Published
Advisory Summary

CVE-2026-21724 is a MODERATE (CVSS 5.4) authorization bypass allows users with vulnerability (CWE-285: Improper Authorization) affecting Grafana OSS libraries in the Go ecosystem. The issue involves authorization bypass allows users with editor role to modify protected webhook urls without permissions. Remediation is available by upgrading affected packages to version 1.9.2-0.20260323180334-daffe750de85.

CVE-2026-21724 at a Glance

CVE Identifier CVE-2026-21724
GHSA Identifier GHSA-7g92-g4vh-hp84
Severity MODERATE
CVSS v3.1 Base Score 5.4
CWE Classification CWE-285: Improper Authorization
Affected Product Grafana OSS
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 5.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-21724

To remediate this vulnerability, upgrade all affected Grafana OSS dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/grafana/grafana fixed: 1.9.2-0.20260323180334-daffe750de85
Upgrade github.com/grafana/grafana to 1.9.2-0.20260323180334-daffe750de85
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/grafana/grafana

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-21724, inspect your project dependencies for Grafana OSS:

inspect dependencies for github.com/grafana/grafana

Analyze the terminal output to locate any version of Grafana OSS in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.9.2-0.20260323180334-daffe750de85), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-285: Improper Authorization, where the product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. In Grafana OSS, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A vulnerability has been discovered in Grafana OSS where an authorization bypass in the provisioning contact points API allows users with Editor role to modify protected webhook URLs without the required alert.notifications.receivers.protected:write permission. A patched version is available at https://github.com/grafana/grafana/releases/tag/v12.3.6.

CVE-2026-21724 Affected Grafana OSS Versions

1 component(s)
Fixed Versions:
1.9.2-0.20260323180334-daffe750de85
Product / Package Ecosystem Affected Versions Fixed Version
github.com/grafana/grafana
Go
< 1.9.2-0.20260323180334-daffe750de85
1.9.2-0.20260323180334-daffe750de85

References

Frequently Asked Questions

What is CVE-2026-21724?
CVE-2026-21724 is a security vulnerability in Grafana OSS involving Authorization bypass allows users with Editor role to modify protected webhook URLs without permissions under CWE-285: Improper Authorization.
Which Grafana OSS versions are affected?
Affected versions include releases prior to 1.9.2-0.20260323180334-daffe750de85 across affected packages: github.com/grafana/grafana.
What version fixes CVE-2026-21724?
Upgrading to 1.9.2-0.20260323180334-daffe750de85 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/grafana/grafana affected?
Yes, github.com/grafana/grafana is affected in releases prior to 1.9.2-0.20260323180334-daffe750de85. Upgrade your dependency to 1.9.2-0.20260323180334-daffe750de85 or later.
What is the CVSS score of CVE-2026-21724?
CVE-2026-21724 has a CVSS v3.1 base score of 5.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2026-21724?
CVE-2026-21724 is classified under CWE-285: Improper Authorization (The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Go dependencies for CVE-2026-21724?
Run the dependency tree command: 'inspect dependencies for github.com/grafana/grafana'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-7g92-g4vh-hp84",
  "modified" : "2026-07-21T13:46:49Z",
  "published" : "2026-03-26T21:31:27Z",
  "aliases" : [ "CVE-2026-21724" ],
  "summary" : "Grafana OSS: Authorization bypass allows users with Editor role to modify protected webhook URLs without permissions",
  "details" : "A vulnerability has been discovered in Grafana OSS where an authorization bypass in the provisioning contact points API allows users with Editor role to modify protected webhook URLs without the required alert.notifications.receivers.protected:write permission.\n\nA patched version is available at https://github.com/grafana/grafana/releases/tag/v12.3.6.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/grafana/grafana"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.9.2-0.20260323180334-daffe750de85"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-21724"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/grafana/grafana/commit/daffe750de85b0dbf79f206a35835cf66a83d6ca"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-7g92-g4vh-hp84"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/grafana/grafana"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/grafana/grafana/releases/tag/v12.3.6"
  }, {
    "type" : "WEB",
    "url" : "https://grafana.com/security/security-advisories/cve-2026-21724"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-285" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-23T21:37:48Z",
    "nvd_published_at" : "2026-03-26T21:17:03Z"
  }
}