CVE-2026-21720 in Grafana
Every uncached /avatar/:hash request spawns a goroutine that refreshes the Gravatar image. If the refresh sits in the 10-slot worker queue longer than three seconds, the handler times out and stops listening for the result, so that goroutine blocks forever trying to send on an unbuffered channel. Sustained traffic w...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Grafana | Grafana | 12.3.0 ≥ 3.0.0, < 11.6.9 ≥ 12.0.0, < 12.0.8 ≥ 12.1.0, < 12.1.5 ≥ 12.2.0, < 12.2.3 |
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
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Every uncached /avatar/:hash request spawns a goroutine that refreshes the Gravatar image. If the refresh sits in the 10-slot worker queue longer than three seconds, the handler times out and stops listening for the result, so that goroutine blocks forever trying to send on an unbuffered channel. Sustained traffic with random hashes keeps tripping this timeout, so goroutine count grows linearly, eventually exhausting memory and causing Grafana to crash on some systems.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-21720 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-276682-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2026-01-27 |
| Last modified | 2026-07-15 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-400: Uncontrolled Resource Consumption (DoS)
Software does not properly limit resource usage, allowing an attacker to exhaust CPU, memory, disk, or bandwidth.
CWE-703: CWE-703
CWE-772: CWE-772
Related attack patterns (CAPEC)
CAPEC-147 XML Ping of the Death via CWE-400
CAPEC-469 HTTP DoS via CWE-772
CAPEC-492 Regular Expression Exponential Blowup via CWE-400
CAPEC-227 Sustained Client Engagement via CWE-400
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in the handling of uncached /avatar/:hash requests in the application can lead to a linear growth in goroutine count due to timeouts, potentially causing a denial of service.
An attacker can exploit this by sending a large number of requests with random hashes to the /avatar/:hash endpoint, causing the worker queue to fill up and leading to timeouts. This results in goroutines being blocked indefinitely, increasing the server's resource usage over time.
Questions
What is CVE-2026-21720?
A vulnerability in the handling of uncached /avatar/:hash requests in the application can lead to a linear growth in goroutine count due to timeouts, potentially causing a denial of service.
What is the CVSS score for CVE-2026-21720?
CVE-2026-21720 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.8%.
Is CVE-2026-21720 actively exploited?
No confirmed active exploitation of CVE-2026-21720 as of 2026-09-25.
How do I remediate CVE-2026-21720?
Priority: HIGH. Advisory: https://grafana.com/security/security-advisories/cve-2026-21720
What systems are affected by CVE-2026-21720?
CVE-2026-21720 affects Grafana Grafana.
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":"Grafana","product":"Grafana","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-07-15.