# Grafana path traversal

Advisory record · `GHSA-8pjx-jj86-j47p`

- **Identifiers:** `GHSA-8pjx-jj86-j47p` · `BIT-grafana-2021-43798` · `CVE-2021-43798`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** Yes: KEV, CVSS 7+ and EPSS
- **Weakness (CWE):** [CWE-22](https://cwe.mitre.org/data/definitions/22.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Published:** 1 Feb 2024
- **Updated:** 8 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 1 Feb 2024, 00:16 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- In CISA’s KEV catalogue since 9 Oct 2025: it is known to be exploited.
- CVSS score 7.5 (7.0 or more) and EPSS 0.89 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected packages

- `github.com/grafana/grafana` (Go): affected `>=8.3.0, <8.3.1 || >=8.2.0, <8.2.7 || >=8.1.0, <8.1.8 || >=8.0.0-beta1, <8.0.7`; fixed in `8.3.1`, `8.2.7`, `8.1.8`, `8.0.7`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Grafana (github.com/grafana/grafana) versions 8.0.0-beta1 through 8.3.0 are vulnerable to path traversal, which allows access to local files on the server. The source does not say what privileges an attacker needs; the vulnerable URL path is reachable on any instance via its plugin routes. Upgrade to 8.0.7, 8.1.8, 8.2.7, or 8.3.1, matching your release line. If you cannot upgrade, place a reverse proxy that normalizes request paths in front of Grafana.

Written 6 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`, from CNA (GitHub_M)

- **CISA KEV:** Listed since 9 Oct 2025: known to be exploited.
- **EPSS:** 0.89, the 99th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:05 UTC: First seen by agentprime
- 31 Oct 2026, 15:05 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-8pjx-jj86-j47p)

## Sources

- [GitHub Advisory Database: GHSA-8pjx-jj86-j47p](https://github.com/advisories/GHSA-8pjx-jj86-j47p)
- [OSV: GHSA-8pjx-jj86-j47p](https://osv.dev/vulnerability/GHSA-8pjx-jj86-j47p)
- <https://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-43798>
- <https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce>
- <https://github.com/grafana/grafana>
- <https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal>
- <https://security.netapp.com/advisory/ntap-20211229-0004>
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-43798>
- <http://packetstormsecurity.com/files/165198/Grafana-Arbitrary-File-Reading.html>
- <http://packetstormsecurity.com/files/165221/Grafana-8.3.0-Directory-Traversal-Arbitrary-File-Read.html>
- <http://www.openwall.com/lists/oss-security/2021/12/09/2>
- <http://www.openwall.com/lists/oss-security/2021/12/10/4>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-8pjx-jj86-j47p>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-8pjx-jj86-j47p/>. Everything for agents: <https://agentprime.io/llms.txt>.
