BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2021-39226 in Fedoraproject Fedora and 1 more product

Known-exploited (CISA) since 2022-08-25 High 7.3

Grafana is an open source data visualization platform. In affected versions unauthenticated and authenticated users are able to view the snapshot with the lowest database key by accessing the literal paths: /dashboard/snapshot/:key, or /api/snapshots/:key. If the snapshot "public_mode" configuration setting is set t...

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.17.3
EPSS99.9%
EPSS percentile100th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component.

Affected products and versions

VendorProductAffected versions
Fedoraproject Fedora 34 35
Grafana Grafana < 7.5.11 ≥ 8.0.0, < 8.1.6

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedYes added 2022-08-25
Public exploitNot confirmed

Official description

Grafana is an open source data visualization platform. In affected versions unauthenticated and authenticated users are able to view the snapshot with the lowest database key by accessing the literal paths: /dashboard/snapshot/:key, or /api/snapshots/:key. If the snapshot "public_mode" configuration setting is set to true (vs default of false), unauthenticated users are able to delete the snapshot with the lowest database key by accessing the literal path: /api/snapshots-delete/:deleteKey. Regardless of the snapshot "public_mode" setting, authenticated users are able to delete the snapshot with the lowest database key by accessing the literal paths: /api/snapshots/:key, or /api/snapshots-delete/:deleteKey. The combination of deletion and viewing enables a complete walk through all snapshot data while resulting in complete snapshot data loss. This issue has been resolved in versions 8.1.6 and 7.5.11. If for some reason you cannot upgrade you can use a reverse proxy or similar to block access to the literal paths: /api/snapshots/:key, /api/snapshots-delete/:deleteKey, /dashboard/snapshot/:key, and /api/snapshots/:key. They have no normal function and can be disabled without side effects.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-39226
BreachSpider IDBS-2021-GLOBAL-305678-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Published2021-10-05
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-287: Improper Authentication

Software does not prove or insufficiently proves that the user is who they claim to be.

CWE-862: Missing Authorization

Software does not check whether an authenticated actor has permission for the requested operation.

Related attack patterns (CAPEC)

CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data via CWE-287

CAPEC-633 Token Impersonation via CWE-287

CAPEC-650 Upload a Web Shell to a Web Server via CWE-287

CAPEC-665 Exploitation of Thunderbolt Protection Flaws via CWE-862

CAPEC-194 Fake the Source of Data via CWE-287

Show all 11

CAPEC-593 Session Hijacking via CWE-287

CAPEC-22 Exploiting Trust in Client via CWE-287

CAPEC-94 Adversary in the Middle (AiTM) via CWE-287

CAPEC-114 Authentication Abuse via CWE-287

CAPEC-115 Authentication Bypass via CWE-287

CAPEC-151 Identity Spoofing via CWE-287

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2021-39226 affects Grafana, allowing unauthenticated and authenticated users to view and delete snapshots, leading to potential data exposure and loss. The vulnerability is rated as HIGH severity with a CVSS score of 7.3. It is listed in the KEV catalog and has a high EPSS score, indicating a significant likelihood of exploitation. Immediate remediation is recommended, including upgrading to secure versions or implementing compensating controls.

The attack vector involves unauthenticated and authenticated users accessing specific API endpoints to view and delete snapshots. Unauthenticated users can view and delete the snapshot with the lowest database key if 'public_mode' is enabled. Authenticated users can perform these actions regardless of the 'public_mode' setting. This can lead to a complete walk-through of all snapshot data and result in data loss.

Compensating controls AI-drafted, review before use

Implement a reverse proxy to block access to the following paths: /api/snapshots/:key, /api/snapshots-delete/:deleteKey, /dashboard/snapshot/:key, and /api/snapshots/:key. These paths have no normal function and can be disabled without side effects.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2021-39226?

CVE-2021-39226 affects Grafana, allowing unauthenticated and authenticated users to view and delete snapshots, leading to potential data exposure and loss. The vulnerability is rated as HIGH severity with a CVSS score of 7.3. It is listed in the KEV catalog and has a high EPSS score, indicating a significant likelihood of exploitation. Immediate remediation is recommended, including upgrading to secure versions or implementing compensating controls.

What is the CVSS score for CVE-2021-39226?

CVE-2021-39226 has CVSS 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L. EPSS: 99.9%.

Is CVE-2021-39226 actively exploited?

Yes. CVE-2021-39226 is in the CISA known-exploited catalog (added 2022-08-25). Active exploitation confirmed. Immediate patching required.

How do I remediate CVE-2021-39226?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2021-39226?

CVE-2021-39226 affects Fedoraproject Fedora; Grafana Grafana.

What NERC-CIP standard applies to CVE-2021-39226?

NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized access to and manipulation of sensitive data, which could compromise the integrity and availability of critical systems.

What IEC 62443 requirement maps to CVE-2021-39226?

IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves unauthorized access to and deletion of data, which can impact the security and operational integrity of the ICS environment.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Fedoraproject","product":"Fedora","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.