VDB

CVE-2022-21673

CVE-2022-21673 PUBLISHED CVSS 4.3 MEDIUM

OAuth Identity Token exposure in Grafana

Reported by github_m · Published January 18, 2022

Grafana is an open-source platform for monitoring and observability. In affected versions when a data source has the Forward OAuth Identity feature enabled, sending a query to that datasource with an API token (and no other user credentials) will forward the OAuth Identity of the most recently logged-in user. This can allow API token holders to retrieve data for which they may not have intended access. This attack relies on the Grafana instance having data sources that support the Forward OAuth Identity feature, the Grafana instance having a data source with the Forward OAuth Identity feature toggled on, the Grafana instance having OAuth enabled, and the Grafana instance having usable API keys. This issue has been patched in versions 7.5.13 and 8.3.4.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
grafanaBitnami8.3.4, 7.5.13
grafanagrafana8.3.4, 7.5.13
grafanaBitnami8.3.4, 7.5.13

Risk scores

CVSS 3.1
4.3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected products

VendorProductVersions
grafanagrafana>= 7.2.0, < 7.5.13, >= 8.0.0, < 8.3.4
grafanagrafana7.2.0, 8.0.0
alpinegrafana0

Timeline

  • Jan 18, 2022 CVE Published
  • Feb 8, 2022 EPSS Score (30 in total, the first dated here)
  • Aug 28, 2025 CVE Updated
  • Mar 17, 2026 Distribution Patch (4 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (4 in total, the first dated here)
  • Jul 7, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-21673
vulnetix vdb fixes CVE-2022-21673

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-21673/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›