Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-21720: Vulnerability in Grafana grafana/grafana-enterprise

0
High
VulnerabilityCVE-2026-21720cvecve-2026-21720
Published: Tue Jan 27 2026 (01/27/2026, 09:07:04 UTC)
Source: CVE Database V5
Vendor/Project: Grafana
Product: grafana/grafana-enterprise

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/28/2026, 12:12:07 UTC

Technical Analysis

CVE-2026-21720 is a denial-of-service vulnerability affecting Grafana Enterprise version 3.0.0. The issue arises from the way Grafana handles requests to /avatar/:hash endpoints, which are used to fetch Gravatar images. Each uncached request spawns a goroutine responsible for refreshing the Gravatar image. These goroutines communicate results via unbuffered channels. If the goroutine is queued in a 10-slot worker queue for longer than three seconds, the HTTP handler times out and stops listening for the result. However, the goroutine continues running and attempts to send data on the unbuffered channel, which blocks indefinitely because the receiver is no longer active. This leads to goroutine leaks that accumulate linearly with sustained traffic containing random hashes. Over time, the growing number of blocked goroutines exhausts system memory, causing Grafana to crash. The vulnerability is remotely exploitable without authentication or user interaction, making it a network-exploitable denial-of-service (DoS) vector. The CVSS 3.1 score is 7.5 (high), reflecting the ease of exploitation and impact on availability. The underlying weaknesses correspond to CWE-400 (Uncontrolled Resource Consumption) and CWE-703 (Improper Check or Handling of Exceptional Conditions). No patches or exploits in the wild are currently reported, but the issue poses a significant risk to service stability in affected environments.

Potential Impact

This vulnerability primarily impacts the availability of Grafana Enterprise 3.0.0 instances by causing memory exhaustion and crashes due to goroutine leaks. Organizations relying on Grafana for monitoring, visualization, and alerting may experience service outages, leading to loss of visibility into critical infrastructure and applications. This can delay incident detection and response, increasing operational risk. The vulnerability does not affect confidentiality or integrity but can indirectly impact business continuity and operational efficiency. Attackers can exploit this remotely without authentication, making it a low-barrier denial-of-service vector. Large-scale or sustained exploitation could disrupt monitoring platforms across enterprises, managed service providers, and cloud environments. Systems with limited memory or high traffic volumes are particularly vulnerable. The lack of known exploits in the wild suggests limited current exploitation, but the ease of triggering the issue warrants proactive mitigation.

Mitigation Recommendations

To mitigate CVE-2026-21720, organizations should first upgrade Grafana Enterprise to a version where this issue is fixed once available. In the absence of an official patch, administrators can implement several practical controls: 1) Limit or block external access to the /avatar/:hash endpoint using web application firewalls (WAFs) or reverse proxies to reduce exposure to malicious requests with random hashes. 2) Implement rate limiting on avatar requests to prevent sustained high-volume traffic that triggers goroutine leaks. 3) Monitor Grafana server metrics for abnormal goroutine counts and memory usage to detect early signs of exploitation. 4) Consider disabling Gravatar integration if it is not essential to reduce attack surface. 5) Deploy Grafana instances behind network controls that restrict traffic to trusted sources. 6) Regularly review and update Grafana configurations to minimize unnecessary features that may be exploited. These targeted mitigations complement standard security hygiene and help maintain service availability until an official patch is released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GRAFANA
Date Reserved
2026-01-05T09:26:06.214Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 697883784623b1157c13140e

Added to database: 1/27/2026, 9:20:56 AM

Last enriched: 2/28/2026, 12:12:07 PM

Last updated: 3/25/2026, 2:39:41 AM

Views: 251

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses