Skip to content
Noroxi
NVD / CVE Program· CNA GitHub_M

CVE-2021-43798: Grafana path traversal

Noroxi assessment

Priority: Now (action score 87/100)

  • CISA has confirmed exploitation in the wild (Oct 9, 2025). Remediation deadline for US federal agencies: Oct 30, 2025.
  • A ready-made attack module is public (Metasploit, Nuclei); exploiting it takes no special expertise.
  • Probability of exploitation in the next 30 days: 88.5% (FIRST EPSS); higher than 99.7% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • According to CISA the attack is automatable: targets can be found by mass scanning.
  • Fixed version: grafana (Alpine:v3.15) 8.2.7-r0; grafana (Alpine:v3.16) 8.3.1-r0; github.com/grafana/grafana (Go) 8.0.7, 8.1.8, 8.2.7.

Patch today or shut off access. Upgrade to grafana (Alpine:v3.15) 8.2.7-r0; grafana (Alpine:v3.16) 8.3.1-r0; github.com/grafana/grafana (Go) 8.0.7, 8.1.8, 8.2.7 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · CISA KEV · FIRST EPSS

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.

HighCVSS 7.5 · v3.1KEVWeaponized Fix available
Published
Dec 7, 2021
Updated
Jun 17, 2026
EPSS
88.5% · 99th percentile

Report tools

JSON

Action score

87

Now

Patch today or shut off access.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
30 / 30 · Listed
EPSS
27 / 30 · 88.5%

CISA SSVC decision

Exploitation
active
Automatable
yes
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · GitHub_M
7.5
NVD has not scored this yet; the score shown is the CNA’s.

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Actively exploited in the wild

CISA added this to its Known Exploited Vulnerabilities catalog on Oct 9, 2025. That signals real attacks, not theory.

Remediation deadline for US federal agencies: Oct 30, 2025.

Get told when this record changes

  • In CISA KEV: exploitation in the wild confirmed
  • Weaponized exploit exists
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2021-43798

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
grafanagrafana

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • grafana grafana8.0.1 and later · before 8.0.7
  • grafana grafana8.1.0 and later · before 8.1.8
  • grafana grafana8.2.0 and later · before 8.2.7
  • grafana grafana8.0.0
  • grafana grafana8.3.0

Versions reported by the vendor

Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.

  • grafana grafana

    • >= 8.0.0, < 8.0.7, >= 8.1.0, < 8.1.8, >= 8.2.0, < 8.2.7, = 8.3.0affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.15grafanafrom 8.0.1 · before 8.2.7-r08.2.7-r0
Alpine:v3.16grafanafrom 8.0.1 · before 8.3.1-r08.3.1-r0
Gogithub.com/grafana/grafanafrom 8.0.0-beta1 · before 8.0.78.0.7
Gogithub.com/grafana/grafanafrom 8.1.0 · before 8.1.88.1.8
Gogithub.com/grafana/grafanafrom 8.2.0 · before 8.2.78.2.7
Gogithub.com/grafana/grafanafrom 8.3.0 · before 8.3.18.3.1
openSUSE:Leap 15.3dracut-saltbootbefore 0.1.1665997480.587fa10-150000.1.41.10.1.1665997480.587fa10-150000.1.41.1
openSUSE:Leap 15.3golang-github-boynux-squid_exporterbefore 1.6-150000.1.9.11.6-150000.1.9.1
openSUSE:Leap 15.3golang-github-prometheus-promubefore 0.13.0-150000.3.9.10.13.0-150000.3.9.1
openSUSE:Leap 15.3grafanabefore 8.5.13-150200.3.29.58.5.13-150200.3.29.5
openSUSE:Leap 15.3grafanabefore 8.3.5-150200.3.21.18.3.5-150200.3.21.1
openSUSE:Leap 15.3prometheus-postgres_exporterbefore 0.10.0-150000.1.3.10.10.0-150000.1.3.1
openSUSE:Leap 15.3rhnlibbefore 4.2.6-150000.3.34.14.2.6-150000.3.34.1
openSUSE:Leap 15.3spacecmdbefore 4.3.16-150000.3.89.14.3.16-150000.3.89.1
openSUSE:Leap 15.3spacecmdbefore 4.2.16-150000.3.77.14.2.16-150000.3.77.1
openSUSE:Leap 15.4prometheus-blackbox_exporterbefore 0.19.0-150000.1.14.30.19.0-150000.1.14.3
openSUSE:Leap 15.4wirebefore 0.5.0-150000.1.9.30.5.0-150000.1.9.3
openSUSE:Leap 15.5golang-github-lusitaniae-apache_exporterbefore 1.0.0-150000.1.20.11.0.0-150000.1.20.1
openSUSE:Leap 15.5prometheus-postgres_exporterbefore 0.10.1-150000.1.17.10.10.1-150000.1.17.1
openSUSE:Leap 15.5spacecmdbefore 4.3.26-150000.3.113.14.3.26-150000.3.113.1
openSUSE:Tumbleweedgrafanabefore 8.3.4-1.18.3.4-1.1
SUSE:Enterprise Storage 6grafanabefore 8.5.13-150100.3.12.18.5.13-150100.3.12.1
SUSE:HPE Helion OpenStack 8golang-github-prometheus-node_exporterbefore 1.3.0-1.15.31.3.0-1.15.3
SUSE:Linux Enterprise Module for Package Hub 15 SP4grafanabefore 8.5.13-150200.3.29.58.5.13-150200.3.29.5

+96

Other highest-scoring records for the same primary product.

  • CVE-2021-39226Snapshot authentication bypass in grafanaKEV
    89Now
  • CVE-2024-9264Grafana SQL Expressions allow for remote code execution
    66This week
  • CVE-2020-13379The avatar feature in Grafana 3.0.1 through 7.0.1 has an SSRF Incorrect Access Control issue.
    62This week

Published before and after this one in the same product

  • ← EarlierCVE-2021-41174Nov 3, 2021 · XSS vulnerability allowing arbitrary JavaScript execution
    50Plan
  • ← EarlierCVE-2021-41244Nov 15, 2021 · Cross organization admin control in Grafana
    29Monitor
  • Later →CVE-2021-43813Dec 10, 2021 · Directory Traversal in Grafana
    34Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:grafana8.2.7-r0 · Alpine:v3.15Package registry (OSV)
Go:github.com/grafana/grafana8.0.7Package registry (OSV)
Go:github.com/grafana/grafana8.1.8Package registry (OSV)
Go:github.com/grafana/grafana8.2.7Package registry (OSV)
Go:github.com/grafana/grafana8.3.1Package registry (OSV)
opensuse:dracut-saltboot0.1.1665997480.587fa10-150000.1.41.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:golang-github-boynux-squid_exporter1.6-150000.1.9.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:golang-github-lusitaniae-apache_exporter1.0.0-150000.1.20.1 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:golang-github-prometheus-promu0.13.0-150000.3.9.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:grafana8.3.5-150200.3.21.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:prometheus-blackbox_exporter0.19.0-150000.1.14.3 · openSUSE:Leap 15.4Package registry (OSV)
opensuse:prometheus-postgres_exporter0.10.0-150000.1.3.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:rhnlib4.2.6-150000.3.34.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:spacecmd4.2.16-150000.3.77.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:wire0.5.0-150000.1.9.3 · openSUSE:Leap 15.4Package registry (OSV)
suse:grafana8.3.5-150000.1.30.1 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:mgr-cfg4.2.8-150000.1.24.1 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:mgr-osad4.2.8-150000.1.36.1 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:mgr-push4.2.5-150000.1.18.2 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:mgr-virtualization4.2.4-150000.1.26.1 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:prometheus-postgres_exporter0.10.0-150000.1.3.1 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:rhnlib4.2.6-150000.3.34.1 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:spacecmd4.2.16-150000.3.77.1 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:spacewalk-client-tools4.2.18-150000.3.59.1 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:spacewalk-koan4.2.6-150000.3.27.1 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:spacewalk-oscap4.2.4-150000.3.18.1 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:suseRegisterInfo4.2.6-150000.3.21.1 · SUSE:Manager Client Tools 15Package registry (OSV)

Exploit status

Weaponized

A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.

Evidence

  • Metasploit module ×1
  • Exploit-DB entry ×1
  • Nuclei detection template ×1
  • Proof-of-concept repository on GitHub ×50

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entrywebapps2021-12-09
Metasploit moduleauxiliary/scanner/http/grafana_plugin_traversalGrafana Plugin Path Traversalauxiliary2021-12-02
Nuclei detection templateNuclei template CVE-2021-43798 —
Proof-of-concept repository on GitHubstars:432021-12-06
Proof-of-concept repository on GitHubstars:272021-12-07
Proof-of-concept repository on GitHubstars:3702021-12-07
Proof-of-concept repository on GitHubstars:142021-12-07
Proof-of-concept repository on GitHubstars:242021-12-07
Proof-of-concept repository on GitHubstars:122021-12-07
Proof-of-concept repository on GitHubstars:2702021-12-07
Proof-of-concept repository on GitHubstars:62021-12-07
Proof-of-concept repository on GitHubstars:172021-12-08

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Metasploit-6 d
  2. First PoC-2 d
  3. Published
  4. CISA KEV+1401 d
  5. TodayNov 7, 2026+1796 d

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
none
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

nvd-secondary

Root cause

A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const file = path.join(ROOT, req.query.name);res.sendFile(file);

Fixed

ts
const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) {  return res.sendStatus(400);}res.sendFile(file);

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records