CVE-2026-21720

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:grafana:grafana:*:*:*:*:-:*:*:*
cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:*
cpe:2.3:a:grafana:grafana:*:*:*:*:-:*:*:*
cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:*
cpe:2.3:a:grafana:grafana:*:*:*:*:-:*:*:*
cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:*
cpe:2.3:a:grafana:grafana:*:*:*:*:-:*:*:*
cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:*
cpe:2.3:a:grafana:grafana:12.3.0:*:*:*:-:*:*:*
cpe:2.3:a:grafana:grafana:12.3.0:*:*:*:enterprise:*:*:*

History

30 Jun 2026, 03:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/security/cve/CVE-2026-21720 -
  • () https://bugzilla.redhat.com/show_bug.cgi?id=2433226 -
  • () https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-21720.json -
CWE CWE-772

17 Jun 2026, 10:18

Type Values Removed Values Added
Summary
  • (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
  • {'url': 'https://grafana.com/security/security-advisories/CVE-2026-21720', 'tags': ['Broken Link'], 'source': 'security@grafana.com'}
  • () https://grafana.com/security/security-advisories/cve-2026-21720 - Broken Link

17 Feb 2026, 20:06

Type Values Removed Values Added
First Time Grafana
Grafana grafana
CPE cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:*
cpe:2.3:a:grafana:grafana:12.3.0:*:*:*:-:*:*:*
cpe:2.3:a:grafana:grafana:12.3.0:*:*:*:enterprise:*:*:*
cpe:2.3:a:grafana:grafana:*:*:*:*:-:*:*:*
References () https://grafana.com/security/security-advisories/CVE-2026-21720 - () https://grafana.com/security/security-advisories/CVE-2026-21720 - Broken Link

27 Jan 2026, 15:15

Type Values Removed Values Added
CWE CWE-703
CWE-400

27 Jan 2026, 09:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-27 09:15

Updated : 2026-07-15 02:18


NVD link : CVE-2026-21720

Mitre link : CVE-2026-21720

CVE.ORG link : CVE-2026-21720


JSON object : View

Products Affected

grafana

  • grafana
CWE
CWE-400

Uncontrolled Resource Consumption

CWE-703

Improper Check or Handling of Exceptional Conditions

CWE-772

Missing Release of Resource after Effective Lifetime