{"id":"CVE-2022-39201","published":"2022-10-13T00:00:00Z","modified":"2025-04-23T16:50:44Z","title":"Data source and plugin proxy endpoints could leak the authentication cookie to some destination plugins","vendor":"grafana","product":"grafana","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01673,"percentile":0.77421,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/grafana/grafana/releases/tag/v9.1.8","tags":[]},{"url":"https://github.com/grafana/grafana/security/advisories/GHSA-x744-mm8v-vpgr","tags":[]},{"url":"https://github.com/grafana/grafana/commit/b571acc1dc130a33f24742c1f93b93216da6cf57","tags":[]},{"url":"https://github.com/grafana/grafana/commit/c658816f5229d17f877579250c07799d3bbaebc9","tags":[]}],"priority":{"score":20.2,"factors":[{"name":"EPSS percentile","points":15.48},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"grafana","affectedVersions":[{"vendor":"grafana","product":"grafana","versions":[">= v5.0.0-beta1, < 8.5.14",">= 9.0.0, < 9.1.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-23T15:47:55.306631Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/grafana/grafana","vulnerableRanges":[">=5.0.0-beta1, <8.5.14",">=9.0.0, <9.1.8",">=5.0.0-beta1+incompatible"],"patched":["8.5.14","9.1.8"],"from":["GHSA-x744-mm8v-vpgr","GO-2024-2858"],"provenance":"source"}],"summary":{"text":"Grafana, the open source observability and data visualization platform, has a flaw in its data source and plugin proxy endpoints that can expose sensitive information to unauthorized parties. An attacker able to get a malicious or compromised plugin to receive proxied requests could obtain a user's Grafana authentication cookie, but this requires a privileged account (high privileges) and user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:30Z"},"euvd":{"id":"EUVD-2024-1853","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-grafana-cve-2022-21702","parents":[{"from":"CVE-2022-21702","to":"CVE-2022-39201","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pkg/api/pluginproxy/ds_proxy.go","pkg/util/proxyutil/proxyutil.go"],"commits":["https://github.com/grafana/grafana/commit/27726868b3d7c613844b55cd209ca93645c99b85","https://github.com/grafana/grafana/commit/b571acc1dc130a33f24742c1f93b93216da6cf57","https://github.com/grafana/grafana/commit/c658816f5229d17f877579250c07799d3bbaebc9"],"basis":"rarely changed file"}]},{"from":"CVE-2022-31130","to":"CVE-2022-39201","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pkg/api/plugin_resource.go","pkg/api/plugins.go"],"commits":["https://github.com/grafana/grafana/commit/4dd56e4dabce10007bf4ba1059bf54178c35b177","https://github.com/grafana/grafana/commit/9da278c044ba605eb5a1886c48df9a2cb0d3885f","https://github.com/grafana/grafana/commit/b571acc1dc130a33f24742c1f93b93216da6cf57","https://github.com/grafana/grafana/commit/c658816f5229d17f877579250c07799d3bbaebc9"],"basis":"shared function","functions":["makePluginResourceRequest"]},{"kind":"similar","provenance":"machine","score":0.63,"basis":"same product + CWE + description similarity"}]}],"children":[{"from":"CVE-2022-39201","to":"CVE-2024-6322","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pkg/api/pluginproxy/ds_proxy.go"],"commits":["https://github.com/grafana/grafana/commit/b571acc1dc130a33f24742c1f93b93216da6cf57","https://github.com/grafana/grafana/commit/c658816f5229d17f877579250c07799d3bbaebc9","https://github.com/grafana/grafana/commit/4cb3ba5d1a7ab8b9676034e89dada2fcde1766ef","https://github.com/grafana/grafana/commit/9cdba084a9100c6b11d32eef9d2bd53656c6964a"],"basis":"rarely changed file"}]},{"from":"CVE-2022-39201","to":"CVE-2026-33380","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pkg/api/plugin_resource.go"],"commits":["https://github.com/grafana/grafana/commit/b571acc1dc130a33f24742c1f93b93216da6cf57","https://github.com/grafana/grafana/commit/c658816f5229d17f877579250c07799d3bbaebc9","https://github.com/grafana/grafana/commit/fb7336fc36c14e1ff869482c5085ddb9f39e1b86"],"basis":"shared function","functions":["makePluginResourceRequest"]}]},{"from":"CVE-2022-39201","to":"CVE-2026-33381","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pkg/api/plugin_resource.go"],"commits":["https://github.com/grafana/grafana/commit/b571acc1dc130a33f24742c1f93b93216da6cf57","https://github.com/grafana/grafana/commit/c658816f5229d17f877579250c07799d3bbaebc9","https://github.com/grafana/grafana/commit/fb7336fc36c14e1ff869482c5085ddb9f39e1b86"],"basis":"shared function","functions":["makePluginResourceRequest"]}]}]}}