{"answers":{"affected":"6 open source packages ship an affected version, including github.com/grafana/grafana and grafana. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-39306 in the wild and no public exploit code.","fix":"Upgrade github.com/grafana/grafana to a fixed version for your release line: 8.5.15 or 9.2.4.","what":"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."},"fix_prompt":"Check this codebase for CVE-2022-39306 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2022-39306 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/grafana/grafana (Go): affected all versions; no fix listed\n- github.com/grafana/grafana (Go): affected from 8.0.0; fixed in 8.5.15\n- github.com/grafana/grafana (Go): affected from 8.0.0; fixed in 8.5.15\n- github.com/grafana/grafana (Go): affected from 9.0.0; fixed in 9.2.4\n- github.com/grafana/grafana (Go): affected from 9.0.0; fixed in 9.2.4\n- grafana (Bitnami): affected from 8.0.0; fixed in 8.5.15, 9.2.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-39306/ (Markdown: https://insights.sbomify.com/CVE-2022-39306/index.md)","id":"CVE-2022-39306","markdown":"https://insights.sbomify.com/CVE-2022-39306/index.md","name":"CVE-2022-39306","record":{"aliases":["BIT-grafana-2022-39306","CLSA-2025-1751889956","GHSA-2x6g-h2hg-rq84","GO-2024-2843","MINI-32jf-c5jh-76wr","MINI-352f-443p-jq92","MINI-6jj7-q9px-fhhv","MINI-7587-qqg8-wpqc","MINI-7h85-89ph-5h2p","MINI-7rgw-mmw9-8p6p","MINI-cx9w-hhv8-p346","MINI-gjrx-qrcx-rr38","MINI-gvq4-3v92-hcx9","MINI-j9ff-47vp-3x69","MINI-q8qc-mx74-cc2w","MINI-qc56-jhw3-hvwh","MINI-qf3j-p92q-5mgx","MINI-qqw7-4q62-8qm2","MINI-w397-pv6p-p4jj","MINI-w3jj-v98p-m2vj","MINI-w4mx-mm6q-74hx","UBUNTU-CVE-2022-39306","openSUSE-SU-2024:12564-1"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["privilege_escalation","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Grafana monitoring platform","requires_auth":"low_privilege","summary":"Attackers can exploit improper input validation in Grafana invites to sign up with arbitrary credentials and gain unauthorized organization membership.","user_interaction":"required","vuln_class":"business_logic"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"grafana","vendor":"grafana"}],"cvss":{"score":6.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"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.","ecosystems":["Bitnami","Go","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Grafana contains Improper Input Validation","id":"CVE-2022-39306","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"grafana:grafana","products":["grafana:grafana"],"type":"business_logic","year":"2022"},"n_packages":7,"n_references":2,"next":{"headline":"Grafana subject to Exposure of Sensitive Information resulting in User enumeration via forget password","id":"CVE-2022-39307"},"packages":[{"ecosystem":"Bitnami","fixed":["8.5.15","9.2.4"],"introduced":["8.0.0","9.0.0"],"last_affected":[],"package":"grafana","purl":"pkg:bitnami/grafana","source":"BIT-grafana-2022-39306"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GO-2024-2843"},{"ecosystem":"Go","fixed":["8.5.15"],"introduced":["8.0.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-2x6g-h2hg-rq84"},{"ecosystem":"Go","fixed":["8.5.15"],"introduced":["8.0.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-2x6g-h2hg-rq84"},{"ecosystem":"Go","fixed":["9.2.4"],"introduced":["9.0.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-2x6g-h2hg-rq84"},{"ecosystem":"Go","fixed":["9.2.4"],"introduced":["9.0.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-2x6g-h2hg-rq84"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["8.5.15-2.1"],"introduced":["0"],"last_affected":[],"package":"grafana","purl":"pkg:rpm/opensuse/grafana\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12564-1"}],"prev":{"headline":"Gin-vue-admin vulnerable to Unrestricted Upload of File with Dangerous Type","id":"CVE-2022-39305"},"products":["grafana"],"published":"2022-11-09","related":[{"cvss_score":7.5,"headline":"Grafana Path Traversal","id":"CVE-2021-43798","kev_date_added":"2025-10-09","published":"2021-12-07"},{"cvss_score":10,"headline":"Incorrect privilege assignment","id":"CVE-2025-41115","kev_date_added":null,"published":"2025-11-21"},{"cvss_score":9.8,"headline":"Grafana vulnerable to race condition allowing privilege escalation","id":"CVE-2022-39328","kev_date_added":null,"published":"2022-11-08"},{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2022-28660","kev_date_added":null,"published":"2022-05-20"},{"cvss_score":9.8,"headline":"Information disclosure in n/a","id":"CVE-2022-26148","kev_date_added":null,"published":"2022-03-21"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2018-15727","kev_date_added":null,"published":"2018-08-29"},{"cvss_score":9.4,"headline":"Grafana SQL Expressions allow for remote code execution","id":"CVE-2024-9264","kev_date_added":null,"published":"2024-10-18"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-01-28","vendors":["grafana"]},"summary":"Attackers can exploit improper input validation in Grafana invites to sign up with arbitrary credentials and gain unauthorized organization membership.","url":"https://insights.sbomify.com/CVE-2022-39306/"}