CVE-2026-21720
JSON

7.5high

Unauthenticated DoS: avatar cache leaks goroutines when /avatar/:hash requests time out

Severity
7.5high CVSS:3.1 by GRAFANA
Exploit likelihood
0.69% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GRAFANA
Also known as
BIT-GRAFANA-2026-21720

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.

Affected

Product or packageVersionsReported by
Grafana grafana/grafana-enterprisefrom 3.0.0 before 11.6.9, from 3.0.0 before 12.0.8, from 3.0.0 before 12.1.5, from 3.0.0 before 12.2.3, from 3.0.0 before 12.3.1CVE List
Grafana grafana/grafanafrom 3.0.0 before 11.6.9, from 3.0.0 before 12.0.8, from 3.0.0 before 12.1.5, from 3.0.0 before 12.2.3, from 3.0.0 before 12.3.1CVE List
rhceph/grafana-rhel9Not specifiedCVE List
grafanaNot specifiedCVE List
grafana grafanafrom 3.0.0 before 11.6.9, from 12.0.0 before 12.0.8, from 12.1.0 before 12.1.5, from 12.2.0 before 12.2.3, 12.3.0NVD
grafana (Bitnami)from 3.0.0 before 11.6.9, from 12.0.0 before 12.0.8, from 12.1.0 before 12.1.5, from 12.2.0 before 12.2.3, from 12.3.0 before 12.3.1Bitnami Vulnerability Database

All scores

GRAFANA7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
redhat-SADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-400CWE-703CWE-772

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Cada solicitud sin caché a /avatar/:hash lanza una goroutine que actualiza la imagen de Gravatar. Si la actualización permanece en la cola de trabajadores de 10 ranuras por más de tres segundos, el manejador agota el tiempo de espera y deja de escuchar el resultado, de modo que esa goroutine se bloquea para siempre intentando enviar en un canal sin búfer. El tráfico sostenido con hashes aleatorios sigue activando este tiempo de espera, por lo que el recuento de goroutines crece linealmente, agotando la memoria con el tiempo y provocando que Grafana falle en algunos sistemas.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-21720 changed 2026-08-27CVE Terms of Use
NVDCVE-2026-21720 changed 2026-07-15Public domain
Bitnami Vulnerability DatabaseBIT-GRAFANA-2026-21720 changed 2026-07-06Apache-2.0