---
id: "CVE-2021-43798"
kind: "vulnerability"
aliases: ["CVE-2021-43798"]
title: "Grafana is an open-source platform for monitoring and observability"
severity: "high"
cvss: 7.5
epss: null
exploited: true
status: "open"
category: "runtime"
products: [{"name": "Grafana Labs Grafana", "fixed": [], "affected": "", "ecosystem": "vendor"}, {"name": "grafana", "fixed": ["8.0.7"], "affected": ">= 8.0.1, < 8.0.7", "ecosystem": "vendor"}, {"name": "grafana", "fixed": ["8.1.8"], "affected": ">= 8.1.0, < 8.1.8", "ecosystem": "vendor"}, {"name": "grafana", "fixed": ["8.2.7"], "affected": ">= 8.2.0, < 8.2.7", "ecosystem": "vendor"}, {"name": "grafana", "fixed": [], "affected": "= 8.0.0", "ecosystem": "vendor"}, {"name": "grafana", "fixed": [], "affected": "= 8.3.0", "ecosystem": "vendor"}]
ecosystems: ["vendor"]
tags: ["exploited", "grafana", "monitoring", "runtime", "self-hosted"]
not_affected_if: ["managed-hosting", "unaffected-version"]
published_at: "2021-12-07T19:15:07+00:00"
first_seen_at: "2026-10-23T19:11:51+00:00"
updated_at: "2026-10-23T23:44:51+00:00"
sources: [{"source": "kev", "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2021-43798", "first_seen_at": "2026-10-23T19:11:51+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43798", "first_seen_at": "2026-10-23T23:44:51+00:00"}]
---

# Grafana is an open-source platform for monitoring and observability

Grafana, a dashboard and monitoring server, has a path traversal flaw that lets an unauthenticated visitor request files outside its plugin directory. An attacker can read local files on the server, which can include configuration files with secrets.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:Grafana Labs Grafana affected ? fixed ?
- vendor:grafana affected >= 8.0.1, < 8.0.7 fixed 8.0.7
- vendor:grafana affected >= 8.1.0, < 8.1.8 fixed 8.1.8
- vendor:grafana affected >= 8.2.0, < 8.2.7 fixed 8.2.7
- vendor:grafana affected = 8.0.0 fixed ?
- vendor:grafana affected = 8.3.0 fixed ?

## How to check

Check the Grafana version (grafana-server -v) and compare it against the fixed release in the vendor advisory.

## Fix

Upgrade Grafana to a fixed release per the vendor advisory, or apply the vendor mitigation (unknown in sources).
If you cannot patch, restrict access to the Grafana port at the network layer.

## Timeline

- 2026-10-23T19:11:51+00:00 kev https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2021-43798
- 2026-10-23T23:44:51+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2021-43798

## From the sources

Grafana is an open-source platform for monitoring and observability. Grafana versions 8.0.0-beta1 through 8.3.0 (except for patched versions) iss vulnerable to directory traversal, allowing access to local files. The vulnerable URL path is: `<grafana_host_url>/public/plugins//`, where is the plugin ID for any installed plugin. At no time has Grafana Cloud been vulnerable. Users are advised to upgrade to patched versions 8.0.7, 8.1.8, 8.2.7, or 8.3.1. The GitHub Security Advisory contains more information about vulnerable URL paths, mitigation, and the disclosure timeline.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
