Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2021-43798

HIGH 7.5ExploitedPoCEPSS 100%

Grafana path traversal

Also known as BIT-grafana-2021-43798, EDB-50581, GHSA-8pjx-jj86-j47p

Mitigation

  • Upgrade github.com/grafana/grafana to one of 8.3.1, 8.2.7, 8.1.8, 8.0.7 (or later in the same release line).

Who should check

  • Projects that depend on Go package github.com/grafana/grafana (>= 8.3.0, < 8.3.1)
  • Anyone running grafana >= 8.0.0, < 8.0.7; >= 8.1.0, < 8.1.8; >= 8.2.0, < 8.2.7; = 8.3.0

Vulnerability facts

Affected
github.com/grafana/grafana >= 8.3.0, < 8.3.1
Fixed in
8.3.1, 8.2.7, 8.1.8, 8.0.7
Exploited in the wild
Yes: in CISA KEV since 2025-10-09; federal due date 2025-10-30
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: None
EPSS
88.54% chance of exploitation in 30 days (percentile 100, 2026-11-26)
CWE
CWE-22
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/grafana/grafana>= 8.3.0, < 8.3.18.3.1, 8.2.7, 8.1.8, 8.0.7osv
grafana>= 8.0.0, < 8.0.7; >= 8.1.0, < 8.1.8; >= 8.2.0, < 8.2.7; = 8.3.0—cvelist

Timeline

  1. 2021-12-07 Published
  2. 2025-10-09 Added to CISA KEV (exploited in the wild)
  3. 2025-10-30 CISA remediation due date for US federal agencies
  4. 2026-07-08 Last modified

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2021-43798. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-43798.md
Affected: github.com/grafana/grafana >= 8.3.0, < 8.3.1
Fixed in: 8.3.1, 8.2.7, 8.1.8, 8.0.7

Steps:
1. Search this machine and project for github.com/grafana/grafana (Go), grafana: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2021-43798 being exploited?

Yes. CISA lists CVE-2021-43798 in its Known Exploited Vulnerabilities catalog since 2025-10-09, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 88.54% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2021-43798?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2021-43798?

github.com/grafana/grafana >= 8.3.0, < 8.3.1.

Is there a fix for CVE-2021-43798?

Yes. Fixed in 8.3.1, 8.2.7, 8.1.8, 8.0.7. Upgrade github.com/grafana/grafana to one of 8.3.1, 8.2.7, 8.1.8, 8.0.7 (or later in the same release line).

How do I check if I'm affected by CVE-2021-43798?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors