Skip to content
Noroxi
NVD / CVE Program· CNA GitHub_M

CVE-2021-43815: Grafana directory traversal for `.cvs` files

Noroxi assessment

Priority: Monitor (action score 18/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 1.8% (FIRST EPSS); higher than 79.4% of all records.
  • Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: grafana (Alpine:v3.16) 8.3.2-r0; github.com/grafana/grafana (Go) 8.3.2; dracut-saltboot (openSUSE:Leap 15.3) 0.1.1665997480.587fa10-150000.1.41.1.

Low priority for now. Upgrade to grafana (Alpine:v3.16) 8.3.2-r0; github.com/grafana/grafana (Go) 8.3.2; dracut-saltboot (openSUSE:Leap 15.3) 0.1.1665997480.587fa10-150000.1.41.1 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 · FIRST EPSS

Grafana is an open-source platform for monitoring and observability. Grafana prior to versions 8.3.2 and 7.5.12 has a directory traversal for arbitrary .csv files. It only affects instances that have the developer testing tool called TestData DB data source enabled and configured. The vulnerability is limited in scope, and only allows access to files with the extension .csv to authenticated users only. Grafana Cloud instances have not been affected by the vulnerability. Versions 8.3.2 and 7.5.12 contain a patch for this issue. There is a workaround available for users who cannot upgrade. Running a reverse proxy in front of Grafana that normalizes the PATH of the request will mitigate the vulnerability. The proxy will have to also be able to handle url encoded paths.

MediumCVSS 4.3 · v3.1—No exploit Fix available
Published
Dec 10, 2021
Updated
Jun 17, 2026
EPSS
1.8% · 79th percentile

Report tools

JSON

Action score

18

Monitor

Low priority for now.

CVSS
17 / 40 · 4.3 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 1.8%

CNA vs NVD score

NVD
4.3
CNA · GitHub_M
4.3
agree

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

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

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

Follow CVE-2021-43815

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 grafanabefore 7.5.12
  • grafana grafana8.0.0 and later · before 8.3.2

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-beta3, < 8.3.2, >= 5.0.0, < 7.5.12affected

Package-level exposure

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

EcosystemPackageAffected rangeFix
Alpine:v3.16grafanafrom 8.0.0 · before 8.3.2-r08.3.2-r0
Gogithub.com/grafana/grafanafrom 8.0.0-beta3 · before 8.3.28.3.2
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 10.1.5-2.110.1.5-2.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
SUSE:Manager Client Tools 12golang-github-boynux-squid_exporterbefore 1.6-1.9.11.6-1.9.1
SUSE:Manager Client Tools 12golang-github-lusitaniae-apache_exporterbefore 1.0.0-1.21.21.0.0-1.21.2
SUSE:Manager Client Tools 12golang-github-prometheus-alertmanagerbefore 0.26.0-1.24.20.26.0-1.24.2
SUSE:Manager Client Tools 12golang-github-prometheus-alertmanagerbefore 0.23.0-1.12.30.23.0-1.12.3

+96

Other highest-scoring records for the same primary product.

Published before and after this one in the same product

  • ← EarlierCVE-2021-41244Nov 15, 2021 · Cross organization admin control in Grafana
    29Monitor
  • ← EarlierCVE-2021-43813Dec 10, 2021 · Directory Traversal in Grafana
    34Monitor
  • Later →CVE-2022-21673Jan 18, 2022 · OAuth Identity Token exposure in Grafana
    18Monitor

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.3.2-r0 · Alpine:v3.16Package registry (OSV)
Go:github.com/grafana/grafana8.3.2Package 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

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

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.

No dated events beyond publication.

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.

—

Chain candidates

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

  • CVE-2021-3922666 days apartSnapshot authentication bypass in grafanaKEV
    89Now
  • CVE-2022-28660161 days apartThe querier component in Grafana Enterprise Logs 1.1.x through 1.3.x before 1.4.0 does not require authentication when X-Scope-OrgID is used
    39Monitor

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

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

CVSS vector

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

nvd-primary

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