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.
Security readout for executives and security teams
Plain-English summary
An unauthenticated attacker could repeatedly request uncached Grafana avatars, causing background tasks to accumulate and consume memory until some systems crash. This threatens dashboard availability, not data confidentiality or integrity. The supplied version records are inconsistent and do not establish a reliable affected-version range.
Executive priority
Prioritize exposed Grafana systems because successful abuse could interrupt monitoring during operational or security incidents. Establish the actual affected-version range from Grafana's advisory, reduce anonymous endpoint exposure, and schedule vendor-supported remediation promptly. There is no supplied evidence of active exploitation.
Technical view
Timed-out /avatar/:hash requests stop receiving results while refresh goroutines later attempt delivery through an unbuffered channel. Those goroutines remain blocked indefinitely. Random uncached hashes can repeatedly trigger the leak, producing linear goroutine growth, memory exhaustion, and denial of service.
Likely exposure
Potential exposure exists where a Grafana deployment serves /avatar/:hash to untrusted users. Internet-accessible or anonymously reachable instances face greater risk. The bundle lists repeated version 3.0.0 records marked unaffected, so deployment-specific exposure cannot be confirmed from the supplied data.
Exploitation context
The weakness is remotely reachable, requires no authentication or user interaction, and has low stated attack complexity. CVSS is 7.5. The bundle reports KEV as false and provides no cited evidence of active exploitation; exploit prevalence is therefore unknown.
Researcher notes
The failure combines bounded refresh capacity, a three-second handler timeout, and an unbuffered result channel without cancellation-safe delivery. The leaked resource is the sending goroutine. Confirm the implementation and fixed versions from vendor materials; the supplied affected-product records are duplicated and marked unaffected, limiting version-level conclusions.
Mitigation direction
Review Grafana's advisory for confirmed affected versions and vendor-approved remediation.
Apply the vendor-supported fixed release or mitigation when identified.
Restrict anonymous access to the avatar endpoint where operationally acceptable.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-400: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-400 · source CWE mapping
Uncontrolled Resource Consumption
Uncontrolled Resource Consumption represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Improper Check or Handling of Exceptional Conditions
Improper Check or Handling of Exceptional Conditions represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Missing Release of Resource after Effective Lifetime
Missing Release of Resource after Effective Lifetime represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.