{"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-39201 in the wild and no public exploit code.","fix":"Upgrade github.com/grafana/grafana to a fixed version for your release line: 8.5.14 or 9.1.8.","what":"CVE-2022-39201 is a medium-severity vulnerability in Grafana Grafana, published on 13 Oct 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-39201 and fix it if it is affected.\n\nWhat it is: CVE-2022-39201 is a medium-severity vulnerability in Grafana Grafana, published on 13 Oct 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-39201 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/grafana/grafana (Go): affected from 5.0.0-beta1; fixed in 8.5.14\n- github.com/grafana/grafana (Go): affected from 5.0.0-beta1; fixed in 8.5.14\n- github.com/grafana/grafana (Go): affected from 5.0.0-beta1+incompatible; no fix listed\n- github.com/grafana/grafana (Go): affected from 9.0.0; fixed in 9.1.8\n- github.com/grafana/grafana (Go): affected from 9.0.0; fixed in 9.1.8\n- grafana (Bitnami): affected from 5.0.1; fixed in 8.5.14, 9.1.8\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-39201/ (Markdown: https://insights.sbomify.com/CVE-2022-39201/index.md)","id":"CVE-2022-39201","markdown":"https://insights.sbomify.com/CVE-2022-39201/index.md","name":"CVE-2022-39201","record":{"aliases":["BIT-grafana-2022-39201","GHSA-x744-mm8v-vpgr","GO-2024-2858","MINI-24r7-3qcr-5vc4","MINI-27hm-9h7m-hgw4","MINI-3xr8-q5x6-hc2m","MINI-55vx-9gj9-gvxg","MINI-5qvm-jrw8-fw47","MINI-67q3-4qx4-fm4j","MINI-72m6-c938-x9vv","MINI-c994-4382-3hjx","MINI-cf68-j4gp-qpxc","MINI-f2c7-2gwv-2f8m","MINI-g5g5-852m-j46f","MINI-px24-gjcg-5wg9","MINI-q75x-9qw9-h84x","MINI-r4wj-w4gq-4xjp","MINI-vm4w-cvq5-v5fg","MINI-whx9-733g-h46j","MINI-x6mj-c25f-rqjx","UBUNTU-CVE-2022-39201"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Grafana observability platform","requires_auth":"high_privilege","summary":"Attackers can steal user authentication cookies via data source and plugin proxy endpoints, potentially leading to account takeover.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"grafana","vendor":"grafana"}],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"Grafana is an open source observability and data visualization platform. Starting with version 5.0.0-beta1 and prior to versions 8.5.14 and 9.1.8, Grafana could leak the authentication cookie of users to plugins. The vulnerability impacts data source and plugin proxy endpoints under certain conditions. The destination plugin could receive a user's Grafana authentication cookie. Versions 9.1.8 and 8.5.14 contain a patch for this issue. There are no known workarounds.","ecosystems":["Bitnami","Go"],"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":"Data source and plugin proxy endpoints could leak the authentication cookie to some destination plugins","id":"CVE-2022-39201","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"grafana:grafana","products":["grafana:grafana"],"type":"information_disclosure","year":"2022"},"n_packages":6,"n_references":4,"next":{"headline":"IRC mode parameter confusion in matrix-appservice-irc","id":"CVE-2022-39202"},"packages":[{"ecosystem":"Bitnami","fixed":["8.5.14","9.1.8"],"introduced":["5.0.1","9.0.0"],"last_affected":[],"package":"grafana","purl":"pkg:bitnami/grafana","source":"BIT-grafana-2022-39201"},{"ecosystem":"Go","fixed":["8.5.14"],"introduced":["5.0.0-beta1"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-x744-mm8v-vpgr"},{"ecosystem":"Go","fixed":["8.5.14"],"introduced":["5.0.0-beta1"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-x744-mm8v-vpgr"},{"ecosystem":"Go","fixed":[],"introduced":["5.0.0-beta1+incompatible"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GO-2024-2858"},{"ecosystem":"Go","fixed":["9.1.8"],"introduced":["9.0.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-x744-mm8v-vpgr"},{"ecosystem":"Go","fixed":["9.1.8"],"introduced":["9.0.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-x744-mm8v-vpgr"}],"prev":{"headline":"Signature checks not applied to some retrieved missing events","id":"CVE-2022-39200"},"products":["grafana"],"published":"2022-10-13","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":"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":"2025-04-23","vendors":["grafana"]},"summary":"Attackers can steal user authentication cookies via data source and plugin proxy endpoints, potentially leading to account takeover.","url":"https://insights.sbomify.com/CVE-2022-39201/"}