CVE-2024-6322

CVE-2024-6322 is a medium-severity security vulnerability in github.com/grafana/grafana (go), affecting versions = 11.1.0. It is fixed in 11.1.1, 11.1.3, 0.0.0-20240725142242-c326d865c58b, 1.9.2-0.20240725142242-c326d865c58b.

Summary

Access control for plugin data sources protected by the ReqActions json field of the plugin.json is bypassed if the user or service account is granted associated access to any other data source, as the ReqActions check was not scoped to each specific datasource. The account must have prior query access to the impacted datasource.

Impact

CVE-2024-6322 has a CVSS score of 4.4 (Medium). The vector is network-reachable, high privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (11.1.1, 11.1.3, 0.0.0-20240725142242-c326d865c58b, 1.9.2-0.20240725142242-c326d865c58b); upgrading removes the vulnerable code path.

Affected versions

github.com/grafana/grafana (= 11.1.0) github.com/grafana/grafana (= 11.1.2) github.com/grafana/grafana (>= 0.0.0-20240521130516-0072e4a92d89, < 0.0.0-20240725142242-c326d865c58b) github.com/grafana/grafana (>= 1.9.2-0.20240521130516-0072e4a92d89, < 1.9.2-0.20240725142242-c326d865c58b)

Security releases

github.com/grafana/grafana → 11.1.1 (go) github.com/grafana/grafana → 11.1.3 (go) github.com/grafana/grafana → 0.0.0-20240725142242-c326d865c58b (go) github.com/grafana/grafana → 1.9.2-0.20240725142242-c326d865c58b (go)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

See it in your environment

Remediation advice

Upgrade the following packages to resolve this vulnerability:

github.com/grafana/grafana to 11.1.1 or later; github.com/grafana/grafana to 11.1.3 or later; github.com/grafana/grafana to 0.0.0-20240725142242-c326d865c58b or later; github.com/grafana/grafana to 1.9.2-0.20240725142242-c326d865c58b or later

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently Asked Questions

  1. What is CVE-2024-6322? CVE-2024-6322 is a medium-severity security vulnerability in github.com/grafana/grafana (go), affecting versions = 11.1.0. It is fixed in 11.1.1, 11.1.3, 0.0.0-20240725142242-c326d865c58b, 1.9.2-0.20240725142242-c326d865c58b.
  2. How severe is CVE-2024-6322? CVE-2024-6322 has a CVSS score of 4.4 (Medium). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
  3. Which versions of github.com/grafana/grafana are affected by CVE-2024-6322? github.com/grafana/grafana (go) versions = 11.1.0 is affected.
  4. Is there a fix for CVE-2024-6322? Yes. CVE-2024-6322 is fixed in 11.1.1, 11.1.3, 0.0.0-20240725142242-c326d865c58b, 1.9.2-0.20240725142242-c326d865c58b. Upgrade to this version or later.
  5. Is CVE-2024-6322 exploitable, and should I be worried? Whether CVE-2024-6322 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  6. What actually determines whether CVE-2024-6322 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  7. How do I fix CVE-2024-6322?
    • Upgrade github.com/grafana/grafana to 11.1.1 or later
    • Upgrade github.com/grafana/grafana to 11.1.3 or later
    • Upgrade github.com/grafana/grafana to 0.0.0-20240725142242-c326d865c58b or later
    • Upgrade github.com/grafana/grafana to 1.9.2-0.20240725142242-c326d865c58b or later

Other vulnerabilities in github.com/grafana/grafana

CVE-2026-33381CVE-2026-33380CVE-2026-27877CVE-2026-21724CVE-2025-41117

Stop the waste.
Protect your environment with Kodem.