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

- Severity: High 7.5 (CVSS:3.1, scored by GRAFANA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 53% of CVEs (2026-12-01)
- Published: 2026-01-27T09:07:04.758Z
- Modified: 2026-08-27T17:22:47.419Z
- Also known as: BIT-GRAFANA-2026-21720
- Weaknesses: CWE-400, CWE-703, CWE-772
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GRAFANA

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

(As written by CVE List.)

## Affected

- 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
- 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
- rhceph/grafana-rhel9: no versions given
- grafana: no versions given
- 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
- 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

## Every score

- GRAFANA: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- redhat-SADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://grafana.com/security/security-advisories/cve-2026-21720> (broken-link, vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-21720> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2433226> (issue-tracking, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-21720.json> (web)
- <https://grafana.com/security/security-advisories/CVE-2026-21720> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-21720> (web)

## Sources

- CVE List: [CVE-2026-21720](https://www.cve.org/CVERecord?id=CVE-2026-21720), CVE Terms of Use, modified 2026-08-27
- NVD: [CVE-2026-21720](https://nvd.nist.gov/vuln/detail/CVE-2026-21720), Public domain, modified 2026-07-15
- Bitnami Vulnerability Database: [BIT-GRAFANA-2026-21720](https://osv.dev/vulnerability/BIT-GRAFANA-2026-21720), Apache-2.0, modified 2026-07-06

---

Page: https://cve.day/CVE-2026-21720 · Whole record: https://cve.day/CVE-2026-21720.json · Rebuilt by cve.day 2026-11-25T22:59:13.208Z
