CVE-2022-39306 Grafana contains Improper Input Validation
Attackers can exploit improper input validation in Grafana invites to sign up with arbitrary credentials and gain unauthorized organization membership.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-39306?
CVE-2022-39306 is a medium-severity vulnerability in Grafana Grafana, published on 9 Nov 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Grafana is an open-source platform for monitoring and observability. Versions prior to 9.2.4, or 8.5.15 on the 8.X branch, are subject to Improper Input Validation. Grafana admins can invite other members to the organization they are an admin for. When admins add members to the organization, non existing users get an email invite, existing members are added directly to the organization. When an invite link is sent, it allows users to sign up with whatever username/email address the user chooses and become a member of the organization. This introduces a vulnerability which can be used with malicious intent. This issue is patched in version 9.2.4, and has been backported to 8.5.15. There are no known workarounds.
Weakness: CWE-20
Which versions are affected by CVE-2022-39306?
6 open source packages ship an affected version, including github.com/grafana/grafana and grafana. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/grafana/grafana Go | All versions | None |
github.com/grafana/grafana Go | From 8.0.0 | 8.5.15 |
github.com/grafana/grafana Go | From 8.0.0 | 8.5.15 |
github.com/grafana/grafana Go | From 9.0.0 | 9.2.4 |
github.com/grafana/grafana Go | From 9.0.0 | 9.2.4 |
grafana Bitnami | From 8.0.0 | 8.5.15, 9.2.4 |
Linux distribution packages (1)
grafana openSUSE:Tumbleweed | All versions | 8.5.15-2.1 |
Products include Grafana Grafana.
How do I fix CVE-2022-39306?
Upgrade github.com/grafana/grafana to a fixed version for your release line: 8.5.15 or 9.2.4.
Is CVE-2022-39306 being exploited?
There is no known exploitation of CVE-2022-39306 in the wild and no public exploit code.
Other vulnerabilities in Grafana Grafana
Sources
Also known as BIT-grafana-2022-39306, CLSA-2025-1751889956, GHSA-2x6g-h2hg-rq84, GO-2024-2843, MINI-32jf-c5jh-76wr, MINI-352f-443p-jq92 and 17 more.