Security Resilience

CVE-2026-21720

DoS in Grafana 3.0.0 – 11.6.9

Published
27 January 2026
Modified
15 July 2026
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0078 52th percentile
Risk Priority 59 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-21720 is a high-severity Uncontrolled Resource Consumption (CWE-400) vulnerability in Grafana. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked in the top 48% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SC-24 (Fail in Known State) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-21720 is a denial-of-service vulnerability in Grafana affecting the /avatar/:hash endpoint. Every uncached request to this endpoint spawns a goroutine to refresh the corresponding Gravatar image. When the refresh operation queues up in the 10-slot worker queue and exceeds the three-second handler timeout, the handler stops listening for the result, leaving the goroutine blocked indefinitely while attempting to send on an unbuffered channel. Under sustained traffic with random hashes, this repeatedly triggers timeouts, causing goroutine counts to grow linearly, exhausting memory and crashing Grafana instances on some systems. The issue maps to CWE-400 (Uncontrolled Resource Consumption) and CWE-703 (Improper Check or Handling of Exceptional Conditions), with a CVSS v3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Any unauthenticated attacker with network access to a vulnerable Grafana instance can exploit this by sending a high volume of requests to /avatar/:hash with random or uncached hashes. This low-complexity attack requires no privileges or user interaction and leads to resource exhaustion, rendering the service unavailable through memory depletion and process crashes.

The official Grafana security advisory provides details on patches and mitigation steps at https://grafana.com/security/security-advisories/CVE-2026-21720.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
T1687 Exploitation for Defense Impairment Defense Impairment
Adversaries may exploit vulnerabilities in security software, infrastructure, or defensive components to degrade, disable, or otherwise continue to impair their ability to prevent, detect, or respond to malicious activity.
T1499.003 Application Exhaustion Flood Impact
Adversaries may target resource intensive features of applications to cause a denial of service (DoS), denying availability to those applications.
T1498.001 Direct Network Flood Impact
Adversaries may attempt to cause a denial of service (DoS) by directly sending a high-volume of network traffic to a target.
T1499.001 OS Exhaustion Flood Impact
Adversaries may launch a denial of service (DoS) attack targeting an endpoint's operating system (OS).
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-42127Same product: Grafana Grafana
CVE-2026-27879Same product: Grafana Grafana
CVE-2026-28383Same product: Grafana Grafana
CVE-2026-28376Same product: Grafana Grafana
CVE-2026-33382Same product: Grafana Grafana
CVE-2026-8609Same product: Grafana Grafana
CVE-2026-33375Same product: Grafana Grafana
CVE-2026-28375Same product: Grafana Grafana
CVE-2026-33378Same product: Grafana Grafana
CVE-2026-27880Same product: Grafana Grafana

Affected Assets

grafana
grafana
12.3.0 · 3.0.0 — 11.6.9 · 3.0.0 — 11.6.9 · 12.0.0 — 12.0.8

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation can discover missing resource releases through dynamic analysis or stress testing.

Enforces failure to a known state while preserving required properties, limiting impact of unhandled exceptions.

SC-5 directly limits the effects of resource-exhaustion events that constitute uncontrolled consumption.

SC-6 enforces explicit allocation limits on resources, structurally preventing the weakness from occurring.

Mandates explicit fail-safe procedures triggered by indicated failures, structurally preventing unhandled exceptional conditions.

Requiring documented development standards and tools can mandate explicit resource-release patterns in code.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

ID.AM-08 mostly match
blocks

Lifecycle management explicitly requires handling resources through end-of-life including release.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly prevent missing resource-release defects during development.

DE.CM-09 partial match
blocks

Runtime monitoring may surface resource-exhaustion symptoms but does not address release logic.

PR.IR-04 partial match
blocks

Capacity monitoring can detect exhaustion caused by unreleased resources but does not prevent the root defect.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Resource-utilization monitoring and alerting on bottlenecks or overloads limits the impact of denial-of-service or resource-exhaustion attacks.

finds

A.8.29's combined programme (SAST, code review, penetration testing) reaches most CWE-703 instances: static analysis has well-developed checkers for unchecked return values, missing null checks, and overly broad exception handlers (the demonstrative examples), and code review catches error-handling omissions in first-party source. The remainder is bounded and nameable — architectural error-handling decisions, rare exceptional conditions that do not surface under testing, and error-path logic that requires understanding business context rather than pattern matching.

prevents

Awareness and technical training can teach developers to check return values and handle exceptions, reducing the introduction of CWE-703 flaws, but human fallibility and the breadth of exceptional-condition cases leave most instances not reliably prevented.

blocks

A.8.20 implements network-level protections (firewalls, segmentation, protocol hardening, monitoring, authentication of systems/devices) that can limit abuse of a resource-consuming weakness but do not stop the weakness from being exploitable; the flaw remains present in the product and can still be triggered from an authorized or internal context.

prevents

A.8.28 mandates secure coding practices that directly address exception handling (return-value checks, specific exception types, edge-case handling) and explicitly requires analysis of common programming errors, so a system under the clause sees fewer improper-exception-handling defects; but the clause mandates a practice whose coverage depends on implementation rigor, leaving a nameable remainder of instances the practice does not reach.

prevents

A.8.30 carries its effect through the secure design, coding and testing practices (8.25–8.29) it contracts from the supplier, so it reduces ordinary software implementation weaknesses like CWE-772 in the same way those practices do, at the clause's declared ceiling of `partial`.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-400, a class-level weakness. Rules are authored against its narrower children: CWE-770.
  • No fine-grained STIG row for CWE-703, a pillar-level weakness, and none of its children carries one either.

References