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 package | Versions | Reported by |
|---|---|---|
| Grafana grafana/grafana-enterprise | from 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.1 | CVE List |
| Grafana grafana/grafana | from 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.1 | CVE List |
| rhceph/grafana-rhel9 | Not specified | CVE List |
| grafana | Not specified | CVE List |
| grafana grafana | 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, 12.3.0 | NVD |
| 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.1 | Bitnami Vulnerability Database |
All scores
| GRAFANA | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| redhat-SADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-21720 changed 2026-08-27 | CVE Terms of Use |
| NVD | CVE-2026-21720 changed 2026-07-15 | Public domain |
| Bitnami Vulnerability Database | BIT-GRAFANA-2026-21720 changed 2026-07-06 | Apache-2.0 |