Skip to main content
EPSS 0.6%top 51%

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

0
High
Published: 01/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.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

github.com/grafana/grafana
pkg:golang/github.com/grafana/grafana
Affected versions
=3.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/11/2026, 13:32:28 UTC

Technical Analysis

This vulnerability in Grafana Enterprise 3.0.0 arises from the handling of uncached /avatar/:hash requests. Each such request spawns a goroutine to refresh the Gravatar image. If the refresh operation sits in a limited worker queue longer than three seconds, the handler times out and stops listening for the result, causing the goroutine to block indefinitely while trying to send on an unbuffered channel. Continuous traffic with random hashes triggers repeated timeouts, causing the number of blocked goroutines to increase linearly, leading to memory exhaustion and potential Grafana crashes. The vulnerability affects Grafana instances shipped with Red Hat Ceph Storage, Red Hat Enterprise Linux, and Red Hat In-Vehicle OS. The CVSS v3.1 score is 7.5 (high severity) with no confidentiality or integrity impact but high availability impact. No known exploits in the wild have been reported. The vendor advisory recommends disabling Gravatar support by setting 'allow_gravatar = false' in the grafana.ini configuration file and restarting the service to mitigate the issue.

Potential Impact

An unauthenticated remote attacker can cause a denial of service by exhausting system memory through sustained requests to the /avatar/:hash endpoint. This resource exhaustion leads to Grafana service crashes, impacting availability. There is no impact on confidentiality or integrity.

Mitigation Recommendations

A fix is not explicitly stated as available. The vendor advisory from Red Hat recommends mitigating this vulnerability by disabling Gravatar support in the Grafana configuration. This is done by editing the 'grafana.ini' file to set 'allow_gravatar = false' under the [users] section and restarting the Grafana service. This mitigation prevents user avatars from being displayed but stops the resource exhaustion issue. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.

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
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-21720","vendor":"Red Hat"}]

Threat ID: 697883784623b1157c13140e

Added to database: 01/27/2026, 09:20:56 UTC

Last enriched: 08/11/2026, 13:32:28 UTC

Last updated: 09/10/2026, 19:36:52 UTC

Views: 585

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