# CVE-2024-9476: Privilege escalation vulnerability for Organizations in Grafana

> Attackers can escalate privileges to access resources from other organizations in Grafana instances using the Cloud Migration Assistant.

- **Severity:** Medium 5.1 (`CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Local or same network only
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 13 Nov 2024
- **Updated:** 23 Nov 2025
- **Also known as:** GHSA-h493-wm58-vgvj, UBUNTU-CVE-2024-9476, openSUSE-SU-2025:14681-1

## What is CVE-2024-9476?

CVE-2024-9476 is a medium-severity vulnerability in Grafana OSS and Enterprise, published on 13 Nov 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

### Official description

A vulnerability in Grafana Labs Grafana OSS and Enterprise allows Privilege Escalation allows users to gain access to resources from other organizations within the same Grafana instance via the Grafana Cloud Migration Assistant.This vulnerability will only affect users who utilize the Organizations feature to isolate resources on their Grafana instance.

Weakness: CWE-266 (Incorrect Privilege Assignment)

## Which versions are affected by CVE-2024-9476?


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `grafana` | openSUSE:Tumbleweed | All versions | 11.3.2-1.1 |

## How do I fix CVE-2024-9476?

Apply the vendor's patch.

## Is CVE-2024-9476 being exploited?

There is no known exploitation of CVE-2024-9476 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-9476 and fix it if it is affected.

What it is: CVE-2024-9476 is a medium-severity vulnerability in Grafana OSS and Enterprise, published on 13 Nov 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2024-9476 in the wild and no public exploit code.

Affected product: Grafana OSS and Enterprise. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-9476/ (Markdown: https://insights.sbomify.com/CVE-2024-9476/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-9476
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-9476
- OSV: https://osv.dev/vulnerability/CVE-2024-9476

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-9476/
Summaries are generated and may contain mistakes; the official description above is the record.
