cve.bz

CVE-2026-21720 grafana grafana: Uncontrolled Resource Consumption

7.5 highEPSS 0.7%

High (7.5) in grafana grafana. EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 54th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-01-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-703 Improper Check or Handling of Exceptional Conditions
CWE-772 Missing Release of Resource after Effective Lifetime
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-21720 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-21720?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-21720?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-21720 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
grafana/grafana-enterprisefrom 3.0.0 before 11.6.9
grafana/grafana-enterprisefrom 3.0.0 before 12.0.8
grafana/grafana-enterprisefrom 3.0.0 before 12.1.5
grafana/grafanafrom 3.0.0 before 11.6.9
grafana/grafanafrom 3.0.0 before 12.0.8
grafana/grafanafrom 3.0.0 before 12.1.5
grafana/grafana-enterprisefrom 3.0.0 before 12.2.3
grafana/grafanafrom 3.0.0 before 12.2.3
grafana/grafana-enterprisefrom 3.0.0 before 12.3.1
grafana/grafanafrom 3.0.0 before 12.3.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTSgrafanano fix listedUBUNTU-CVE-2026-21720
SUSELinux Enterprise Module for Package Hub 15 SP7golang-github-prometheus-promu0.17.0-150000.3.30.1SUSE-SU-2026:1013-1
SUSELinux Enterprise Module for Package Hub 15 SP7grafana11.6.11-150200.3.83.1SUSE-SU-2026:1037-1
SUSEManager Client Tools 15golang-github-boynux-squid_exporter1.13.0-150000.1.12.1SUSE-SU-2026:1013-1
SUSEManager Client Tools 15golang-github-lusitaniae-apache_exporter1.0.10-150000.1.26.1SUSE-SU-2026:1013-1
SUSEManager Client Tools 15golang-github-prometheus-prometheus3.5.0-150000.3.67.1SUSE-SU-2026:1013-1
SUSEManager Client Tools 15grafana11.6.11-150000.1.90.1SUSE-SU-2026:1013-1
SUSEManager Client Tools 15spacecmd5.0.15-150000.3.142.1SUSE-SU-2026:1013-1
SUSEManager Client Tools 15, Manager Client Tools for SLE Micro 5dracut-saltboot1.1.0-150000.1.65.1SUSE-SU-2026:1013-1
SUSEManager Client Tools 15, Manager Client Tools for SLE Micro 5golang-github-QubitProducts-exporter_exporter0.4.0-150000.1.21.1SUSE-SU-2026:1013-1
SUSEManager Client Tools 15, Manager Client Tools for SLE Micro 5prometheus-blackbox_exporter0.26.0-150000.1.30.2SUSE-SU-2026:1013-1
SUSEManager Client Tools 15, Manager Client Tools for SLE Micro 5uyuni-tools0.1.38-150000.1.30.1SUSE-SU-2026:1013-1
SUSEMulti Linux Manager Tools SLE-15golang-github-lusitaniae-apache_exporter1.0.10-150002.3.6.1SUSE-SU-2026:1524-1
5 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6dracut-saltboot1.1.0-150000.1.65.1SUSE-SU-2026:1013-1
openSUSELeap 15.6golang-github-QubitProducts-exporter_exporter0.4.0-150000.1.21.1SUSE-SU-2026:1013-1
openSUSELeap 15.6golang-github-boynux-squid_exporter1.13.0-150000.1.12.1SUSE-SU-2026:1013-1
openSUSELeap 15.6golang-github-lusitaniae-apache_exporter1.0.10-150000.1.26.1SUSE-SU-2026:1013-1
openSUSELeap 15.6golang-github-prometheus-promu0.17.0-150000.3.30.1SUSE-SU-2026:1013-1
openSUSELeap 15.6grafana11.6.11-150200.3.83.1SUSE-SU-2026:1037-1
openSUSELeap 15.6prometheus-blackbox_exporter0.26.0-150000.1.30.2SUSE-SU-2026:1013-1
openSUSELeap 15.6spacecmd5.0.15-150000.3.142.1SUSE-SU-2026:1013-1
openSUSETumbleweedgrafana11.6.14+security01-1.1openSUSE-SU-2026:10601-1

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This IMPORTANT denial of service vulnerability in Grafana allows an unauthenticated attacker to exhaust system resources. By sending sustained requests to the `/avatar/:hash` endpoint, goroutines leak due to timed-out Gravatar image refreshes, leading to memory exhaustion and potential Grafana service crashes. This affects Grafana instances shipped with Red Hat Ceph Storage, Red Hat Enterprise Linux, and Red Hat In-Vehicle OS.

Red Hat's mitigation

To mitigate this issue, disable Gravatar support in the Grafana configuration. Edit the `grafana.ini` file and set `allow_gravatar = false` under the `[users]` section. After modifying the configuration, restart the Grafana service for the changes to take effect. This action will prevent user avatars from being displayed.

ProductPackageStateAdvisory
Red Hat Ceph Storage 7rhceph/grafana-rhel9Not affected
Red Hat Ceph Storage 8rhceph/grafana-rhel9Not affected
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 9grafanaNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-21720.

Attack patterns (CAPEC)

  • CAPEC-469 HTTP DoS Severity: Low
  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON