HarborGuard / CVE
Back to search
HIGHCVE-2026-21720Published Modified CNA GRAFANA

CVE-2026-21720: Unauthenticated DoS: avatar cache leaks goroutines when /avatar/:hash requests time out

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.

Metrics

CVSS v3.1
7.5
Severity
HIGH
Fixed in
11.6.9
Affected Products
10

Fix available

11.6.912.0.812.1.512.2.312.3.1
Affected packages
  • Grafana / grafana/grafana-enterprise
    < 11.6.9 (from 3.0.0)
  • Grafana / grafana/grafana-enterprise
    < 12.0.8 (from 3.0.0)
  • Grafana / grafana/grafana-enterprise
    < 12.1.5 (from 3.0.0)
  • Grafana / grafana/grafana
    < 11.6.9 (from 3.0.0)
  • Grafana / grafana/grafana
    < 12.0.8 (from 3.0.0)
  • Grafana / grafana/grafana
    < 12.1.5 (from 3.0.0)
  • Grafana / grafana/grafana-enterprise
    < 12.2.3 (from 3.0.0)
  • Grafana / grafana/grafana
    < 12.2.3 (from 3.0.0)
  • Grafana / grafana/grafana-enterprise
    < 12.3.1 (from 3.0.0)
  • Grafana / grafana/grafana
    < 12.3.1 (from 3.0.0)
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References