Skip to main content
← All vulnerabilities
CVE-2026-21720

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 11.6.9, 12.0.8, 12.1.5, 12.2.3, 12.3.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • Grafana grafana/grafana-enterprise

    From 3.0.0 · fixed in 11.6.9

  • Grafana grafana/grafana-enterprise

    From 3.0.0 · fixed in 12.0.8

  • Grafana grafana/grafana-enterprise

    From 3.0.0 · fixed in 12.1.5

  • Grafana grafana/grafana

    From 3.0.0 · fixed in 11.6.9

  • Grafana grafana/grafana

    From 3.0.0 · fixed in 12.0.8

  • Grafana grafana/grafana

    From 3.0.0 · fixed in 12.1.5

  • Grafana grafana/grafana-enterprise

    From 3.0.0 · fixed in 12.2.3

  • Grafana grafana/grafana

    From 3.0.0 · fixed in 12.2.3

  • Grafana grafana/grafana-enterprise

    From 3.0.0 · fixed in 12.3.1

  • Grafana grafana/grafana

    From 3.0.0 · fixed in 12.3.1

References 1

grafana.com