{"id":"CVE-2022-31130","published":"2022-10-13T00:00:00Z","modified":"2025-04-23T16:50:57Z","title":"Grafana data source and plugin proxy endpoints leaking authentication tokens to some destination plugins","vendor":"grafana","product":"grafana","tier":"tail","description":{"text":"Grafana is an open source observability and data visualization platform. Versions of Grafana for endpoints prior to 9.1.8 and 8.5.14 could leak authentication tokens to some destination plugins under some conditions. The vulnerability impacts data source and plugin proxy endpoints with authentication tokens. The destination plugin could receive a user's Grafana authentication token. Versions 9.1.8 and 8.5.14 contain a patch for this issue. As a workaround, do not use API keys, JWT authentication, or any HTTP Header based authentication.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01334,"percentile":0.71853,"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-jv32-5578-pxjc","tags":[]},{"url":"https://github.com/grafana/grafana/commit/4dd56e4dabce10007bf4ba1059bf54178c35b177","tags":[]},{"url":"https://github.com/grafana/grafana/commit/9da278c044ba605eb5a1886c48df9a2cb0d3885f","tags":[]}],"priority":{"score":17.8,"factors":[{"name":"EPSS percentile","points":14.37},{"name":"CVSS severity","points":3.43}]},"vendorSlug":"grafana","affectedVersions":[{"vendor":"grafana","product":"grafana","versions":["< 8.5.14",">= 9.0.0, < 9.1.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T13:56:27.981418Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/grafana/grafana","vulnerableRanges":[">=9.0.0, <9.1.8",">=7.0.0, <8.5.14","all versions"],"patched":["9.1.8","8.5.14"],"from":["GHSA-jv32-5578-pxjc","GO-2024-2851"],"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 leak authentication tokens to some destination plugins under certain conditions; versions before 9.1.8 and 8.5.14 are affected. An attacker with high privileges on the system and network access to the Grafana instance could cause a destination plugin to receive a user's Grafana authentication token, and the attack requires no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:52:26Z"},"euvd":{"id":"EUVD-2024-1677","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-grafana-cve-2022-21702","children":[{"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"}]},{"from":"CVE-2022-31130","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/4dd56e4dabce10007bf4ba1059bf54178c35b177","https://github.com/grafana/grafana/commit/9da278c044ba605eb5a1886c48df9a2cb0d3885f","https://github.com/grafana/grafana/commit/fb7336fc36c14e1ff869482c5085ddb9f39e1b86"],"basis":"shared function","functions":["makePluginResourceRequest"]}]},{"from":"CVE-2022-31130","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/4dd56e4dabce10007bf4ba1059bf54178c35b177","https://github.com/grafana/grafana/commit/9da278c044ba605eb5a1886c48df9a2cb0d3885f","https://github.com/grafana/grafana/commit/fb7336fc36c14e1ff869482c5085ddb9f39e1b86"],"basis":"shared function","functions":["makePluginResourceRequest"]}]}]}}