{"answers":{"affected":"14 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-2026-27877 in the wild and no public exploit code.","fix":"Upgrade github.com/grafana/grafana to 1.9.2-0.20260325055210-3522153e07b4 or later.","what":"CVE-2026-27877 is a medium-severity vulnerability in Grafana Grafana, published on 27 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-27877 and fix it if it is affected.\n\nWhat it is: CVE-2026-27877 is a medium-severity vulnerability in Grafana Grafana, published on 27 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-27877 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 1.9.2-0.20221116104934-4ee83a5f2bf4; fixed in 1.9.2-0.20260325055210-3522153e07b4\n- github.com/grafana/grafana (Go): affected from 1.9.2-0.20221116104934-4ee83a5f2bf4; fixed in 1.9.2-0.20260325055210-3522153e07b4\n- github.com/grafana/grafana (Go): affected from 12.0.0; no fix listed\n- github.com/grafana/grafana (Go): affected from 12.0.0; no fix listed\n- github.com/grafana/grafana (Go): affected from 12.2.0; no fix listed\n- github.com/grafana/grafana (Go): affected from 12.2.0; no fix listed\n- github.com/grafana/grafana (Go): affected from 12.3.0; no fix listed\n- github.com/grafana/grafana (Go): affected from 12.3.0; no fix listed\n- github.com/grafana/grafana (Go): affected from 12.4.0; no fix listed\n- github.com/grafana/grafana (Go): affected from 12.4.0; no fix listed\n- github.com/grafana/grafana (Go): affected from 9.3.0; no fix listed\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-2026-27877/ (Markdown: https://insights.sbomify.com/CVE-2026-27877/index.md)","id":"CVE-2026-27877","markdown":"https://insights.sbomify.com/CVE-2026-27877/index.md","name":"CVE-2026-27877","record":{"aliases":["ALSA-2026:10223","ALSA-2026:10226","BIT-grafana-2026-27877","CLSA-2026-1777944610","CLSA-2026-1792076604","GHSA-3q27-7qjq-p9c5","GO-2026-5095","MINI-3fhm-x233-6x3j","MINI-44wc-35g7-h623","MINI-56cx-f3cr-g546","MINI-5pc4-qg32-jr28","MINI-5pw7-2fxp-5w7m","MINI-5w86-f926-ww62","MINI-9j3x-f9hv-7p69","MINI-f5pm-2vp3-g948","MINI-f79x-m2c9-fr73","MINI-j742-q8vp-x6hq","MINI-qf7j-wfcc-x8xm","MINI-r2m8-xp7p-mv5m","MINI-r2pw-m2vr-8fwq","MINI-vjqw-fc94-wh7v","MINI-wf4g-mp9x-vqff","MINI-wmgh-7jgq-j4gg","RHSA-2026:10223","RHSA-2026:10226","RHSA-2026:11416","RHSA-2026:11417","RLSA-2026:10223","RLSA-2026:10226","UBUNTU-CVE-2026-27877"],"analysis":{"component_type":"web_application","fix_type":"configuration_change","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Grafana observability platform","requires_auth":"low_privilege","summary":"Attackers can view passwords for all direct mode datasources via public dashboards, exposing sensitive credentials.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GRAFANA","cpe":[{"product":"grafana","vendor":"grafana"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-201","name":"Insertion of Sensitive Information Into Sent Data"},{"id":"CWE-312","name":"Cleartext Storage of Sensitive Information"}],"description":"When using public dashboards and direct data-sources, all direct data-sources' passwords are exposed despite not being used in dashboards.\n\nNo passwords of proxied data-sources are exposed. We encourage all direct data-sources to be converted to proxied data-sources as far as possible to improve your deployments' security.","ecosystems":["AlmaLinux:10","AlmaLinux:9","Bitnami","Go","Red Hat:enterprise_linux:10.1","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux_eus:10.0","Red Hat:rhel_eus:9.6::appstream","Rocky Linux:10","Rocky Linux:9"],"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":"Public dashboards discloses all direct mode datasources","id":"CVE-2026-27877","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"grafana:grafana","products":["grafana:grafana"],"type":"information_disclosure","year":"2026"},"n_packages":36,"n_references":1,"next":{"headline":"Tempo TraceQL query with exemplar hint could result in unbounded memory usage","id":"CVE-2026-27878"},"packages":[{"ecosystem":"Bitnami","fixed":["11.6.14","12.1.10","12.2.8","12.3.6","12.4.2"],"introduced":["9.3.0","12.0.0","12.2.0","12.3.0","12.4.0"],"last_affected":[],"package":"grafana","purl":"pkg:bitnami/grafana","source":"BIT-grafana-2026-27877"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GO-2026-5095"},{"ecosystem":"Go","fixed":["1.9.2-0.20260325055210-3522153e07b4"],"introduced":["1.9.2-0.20221116104934-4ee83a5f2bf4"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-3q27-7qjq-p9c5"},{"ecosystem":"Go","fixed":["1.9.2-0.20260325055210-3522153e07b4"],"introduced":["1.9.2-0.20221116104934-4ee83a5f2bf4"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-3q27-7qjq-p9c5"},{"ecosystem":"Go","fixed":[],"introduced":["12.0.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-3q27-7qjq-p9c5"},{"ecosystem":"Go","fixed":[],"introduced":["12.0.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-3q27-7qjq-p9c5"},{"ecosystem":"Go","fixed":[],"introduced":["12.2.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-3q27-7qjq-p9c5"},{"ecosystem":"Go","fixed":[],"introduced":["12.2.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-3q27-7qjq-p9c5"},{"ecosystem":"Go","fixed":[],"introduced":["12.3.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-3q27-7qjq-p9c5"},{"ecosystem":"Go","fixed":[],"introduced":["12.3.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-3q27-7qjq-p9c5"},{"ecosystem":"Go","fixed":[],"introduced":["12.4.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-3q27-7qjq-p9c5"},{"ecosystem":"Go","fixed":[],"introduced":["12.4.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-3q27-7qjq-p9c5"},{"ecosystem":"Go","fixed":[],"introduced":["9.3.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-3q27-7qjq-p9c5"},{"ecosystem":"Go","fixed":[],"introduced":["9.3.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-3q27-7qjq-p9c5"},{"ecosystem":"AlmaLinux:10","fixed":["10.2.6-24.el10_1"],"introduced":["0"],"last_affected":[],"package":"grafana","purl":"pkg:rpm/almalinux/grafana","source":"ALSA-2026:10223"},{"ecosystem":"AlmaLinux:10","fixed":["10.2.6-24.el10_1"],"introduced":["0"],"last_affected":[],"package":"grafana-selinux","purl":"pkg:rpm/almalinux/grafana-selinux","source":"ALSA-2026:10223"},{"ecosystem":"AlmaLinux:9","fixed":["10.2.6-20.el9_7"],"introduced":["0"],"last_affected":[],"package":"grafana","purl":"pkg:rpm/almalinux/grafana","source":"ALSA-2026:10226"},{"ecosystem":"AlmaLinux:9","fixed":["10.2.6-20.el9_7"],"introduced":["0"],"last_affected":[],"package":"grafana-selinux","purl":"pkg:rpm/almalinux/grafana-selinux","source":"ALSA-2026:10226"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:10.2.6-24.el10_1"],"introduced":["0"],"last_affected":[],"package":"grafana","purl":"pkg:rpm/redhat/grafana","source":"RHSA-2026:10223"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:10.2.6-24.el10_1"],"introduced":["0"],"last_affected":[],"package":"grafana-debuginfo","purl":"pkg:rpm/redhat/grafana-debuginfo","source":"RHSA-2026:10223"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:10.2.6-24.el10_1"],"introduced":["0"],"last_affected":[],"package":"grafana-debugsource","purl":"pkg:rpm/redhat/grafana-debugsource","source":"RHSA-2026:10223"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:10.2.6-24.el10_1"],"introduced":["0"],"last_affected":[],"package":"grafana-selinux","purl":"pkg:rpm/redhat/grafana-selinux","source":"RHSA-2026:10223"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:10.2.6-20.el9_7"],"introduced":["0"],"last_affected":[],"package":"grafana","purl":"pkg:rpm/redhat/grafana","source":"RHSA-2026:10226"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:10.2.6-20.el9_7"],"introduced":["0"],"last_affected":[],"package":"grafana-debuginfo","purl":"pkg:rpm/redhat/grafana-debuginfo","source":"RHSA-2026:10226"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:10.2.6-20.el9_7"],"introduced":["0"],"last_affected":[],"package":"grafana-debugsource","purl":"pkg:rpm/redhat/grafana-debugsource","source":"RHSA-2026:10226"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:10.2.6-20.el9_7"],"introduced":["0"],"last_affected":[],"package":"grafana-selinux","purl":"pkg:rpm/redhat/grafana-selinux","source":"RHSA-2026:10226"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:10.2.6-23.el10_0"],"introduced":["0"],"last_affected":[],"package":"grafana","purl":"pkg:rpm/redhat/grafana","source":"RHSA-2026:11417"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:10.2.6-23.el10_0"],"introduced":["0"],"last_affected":[],"package":"grafana-debuginfo","purl":"pkg:rpm/redhat/grafana-debuginfo","source":"RHSA-2026:11417"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:10.2.6-23.el10_0"],"introduced":["0"],"last_affected":[],"package":"grafana-debugsource","purl":"pkg:rpm/redhat/grafana-debugsource","source":"RHSA-2026:11417"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:10.2.6-23.el10_0"],"introduced":["0"],"last_affected":[],"package":"grafana-selinux","purl":"pkg:rpm/redhat/grafana-selinux","source":"RHSA-2026:11417"},{"ecosystem":"Red Hat:rhel_eus:9.6::appstream","fixed":["0:10.2.6-20.el9_6"],"introduced":["0"],"last_affected":[],"package":"grafana","purl":"pkg:rpm/redhat/grafana","source":"RHSA-2026:11416"},{"ecosystem":"Red Hat:rhel_eus:9.6::appstream","fixed":["0:10.2.6-20.el9_6"],"introduced":["0"],"last_affected":[],"package":"grafana-debuginfo","purl":"pkg:rpm/redhat/grafana-debuginfo","source":"RHSA-2026:11416"},{"ecosystem":"Red Hat:rhel_eus:9.6::appstream","fixed":["0:10.2.6-20.el9_6"],"introduced":["0"],"last_affected":[],"package":"grafana-debugsource","purl":"pkg:rpm/redhat/grafana-debugsource","source":"RHSA-2026:11416"},{"ecosystem":"Red Hat:rhel_eus:9.6::appstream","fixed":["0:10.2.6-20.el9_6"],"introduced":["0"],"last_affected":[],"package":"grafana-selinux","purl":"pkg:rpm/redhat/grafana-selinux","source":"RHSA-2026:11416"},{"ecosystem":"Rocky Linux:10","fixed":["0:10.2.6-24.el10_1"],"introduced":["0"],"last_affected":[],"package":"grafana","purl":"pkg:rpm/rocky-linux/grafana?distro=rocky-linux-10\u0026epoch=0","source":"RLSA-2026:10223"},{"ecosystem":"Rocky Linux:9","fixed":["0:10.2.6-20.el9_7"],"introduced":["0"],"last_affected":[],"package":"grafana","purl":"pkg:rpm/rocky-linux/grafana?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2026:10226"}],"prev":{"headline":"RCE on Grafana via sqlExpressions","id":"CVE-2026-27876"},"products":["Grafana"],"published":"2026-03-27","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":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"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":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"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":"partial"},"state":"PUBLISHED","updated":"2026-08-27","vendors":["Grafana"]},"summary":"Attackers can view passwords for all direct mode datasources via public dashboards, exposing sensitive credentials.","url":"https://insights.sbomify.com/CVE-2026-27877/"}