{"answers":{"affected":"15 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-42127 in the wild and no public exploit code.","fix":"Upgrade github.com/grafana/grafana to 1.9.2-0.20260616075434-82ef13993059 or later.","what":"CVE-2026-42127 is a high-severity denial of service vulnerability in Grafana Grafana, published on 22 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-42127 and fix it if it is affected.\n\nWhat it is: CVE-2026-42127 is a high-severity denial of service vulnerability in Grafana Grafana, published on 22 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-42127 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 all versions; fixed in 1.9.2-0.20260616075434-82ef13993059\n- github.com/grafana/grafana (Go): affected all versions; fixed in 1.9.2-0.20260616075434-82ef13993059\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.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 13.0.0; no fix listed\n- github.com/grafana/grafana (Go): affected from 13.0.0; no fix listed\n- github.com/grafana/grafana (Go): affected from 2.0.0-beta1; 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-42127/ (Markdown: https://insights.sbomify.com/CVE-2026-42127/index.md)","id":"CVE-2026-42127","markdown":"https://insights.sbomify.com/CVE-2026-42127/index.md","name":"CVE-2026-42127","record":{"aliases":["ALSA-2026:54184","BIT-grafana-2026-42127","CLSA-2026-1783354657","GHSA-3w66-95m3-8jxg","GO-2026-6541","MINI-2mgv-wr45-cxgp","MINI-46jm-83j8-r9p3","MINI-4hm8-36jj-fr7v","MINI-542r-pgw2-3w7x","MINI-5hxf-j6g5-vv7g","MINI-9c8g-7c7v-mrx2","MINI-cppm-35gq-cppq","MINI-j8q8-p6j7-76fw","MINI-jf64-m34g-66rw","MINI-qm3g-5ch8-26rw","MINI-r7mc-jmvg-6qj8","MINI-r9f5-pgv3-gv5p","MINI-vqpw-9q8q-hrvj","MINI-wj4v-2fp8-6pgp","RHSA-2026:54184","RLSA-2026:54184","UBUNTU-CVE-2026-42127"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Grafana monitoring platform","requires_auth":"none","summary":"Unauthenticated attackers can cause denial of service in Grafana by sending large JSON payloads to the public dashboard query endpoint, exhausting server memory.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GRAFANA","cpe":[{"product":"grafana","vendor":"grafana"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"The public dashboard query endpoint does not limit request body size before processing, allowing unauthenticated attackers to trigger excessive memory allocation by sending arbitrarily large JSON payloads. This can lead to denial of service through memory exhaustion. No valid dashboard access token or authentication is required to exploit this vulnerability.","ecosystems":["AlmaLinux:9","Bitnami","Go","Red Hat:enterprise_linux:9::appstream","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":"Pre-authentication denial of service in the public dashboard query endpoint","id":"CVE-2026-42127","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"grafana:grafana","products":["grafana:grafana"],"type":"denial_of_service","year":"2026"},"n_packages":22,"n_references":1,"next":{"headline":"Path traversal in the Loki data source plugin","id":"CVE-2026-42129"},"packages":[{"ecosystem":"Bitnami","fixed":["11.6.15","12.2.9","12.3.7","12.4.4","12.2.9","12.3.7","12.4.4","13.0.2"],"introduced":["0","12.2.0","12.3.0","12.4.0","13.0.0","12.3.0","12.4.0","13.0.0"],"last_affected":[],"package":"grafana","purl":"pkg:bitnami/grafana","source":"BIT-grafana-2026-42127"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GO-2026-6541"},{"ecosystem":"Go","fixed":["1.9.2-0.20260616075434-82ef13993059"],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-3w66-95m3-8jxg"},{"ecosystem":"Go","fixed":["1.9.2-0.20260616075434-82ef13993059"],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-3w66-95m3-8jxg"},{"ecosystem":"Go","fixed":[],"introduced":["12.0.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-3w66-95m3-8jxg"},{"ecosystem":"Go","fixed":[],"introduced":["12.0.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-3w66-95m3-8jxg"},{"ecosystem":"Go","fixed":[],"introduced":["12.3.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-3w66-95m3-8jxg"},{"ecosystem":"Go","fixed":[],"introduced":["12.3.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-3w66-95m3-8jxg"},{"ecosystem":"Go","fixed":[],"introduced":["12.4.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-3w66-95m3-8jxg"},{"ecosystem":"Go","fixed":[],"introduced":["12.4.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-3w66-95m3-8jxg"},{"ecosystem":"Go","fixed":[],"introduced":["13.0.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-3w66-95m3-8jxg"},{"ecosystem":"Go","fixed":[],"introduced":["13.0.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-3w66-95m3-8jxg"},{"ecosystem":"Go","fixed":[],"introduced":["2.0.0-beta1"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-3w66-95m3-8jxg"},{"ecosystem":"Go","fixed":[],"introduced":["2.0.0-beta1"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-3w66-95m3-8jxg"},{"ecosystem":"Go","fixed":[],"introduced":["2.0.0-beta1+incompatible"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GO-2026-6541"},{"ecosystem":"AlmaLinux:9","fixed":["10.2.6-23.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"grafana","purl":"pkg:rpm/almalinux/grafana","source":"ALSA-2026:54184"},{"ecosystem":"AlmaLinux:9","fixed":["10.2.6-23.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"grafana-selinux","purl":"pkg:rpm/almalinux/grafana-selinux","source":"ALSA-2026:54184"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:10.2.6-23.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"grafana","purl":"pkg:rpm/redhat/grafana","source":"RHSA-2026:54184"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:10.2.6-23.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"grafana-debuginfo","purl":"pkg:rpm/redhat/grafana-debuginfo","source":"RHSA-2026:54184"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:10.2.6-23.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"grafana-debugsource","purl":"pkg:rpm/redhat/grafana-debugsource","source":"RHSA-2026:54184"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:10.2.6-23.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"grafana-selinux","purl":"pkg:rpm/redhat/grafana-selinux","source":"RHSA-2026:54184"},{"ecosystem":"Rocky Linux:9","fixed":["0:10.2.6-23.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"grafana","purl":"pkg:rpm/rocky-linux/grafana?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2026:54184"}],"prev":{"headline":"DoS in Sparx Pro Cloud Server","id":"CVE-2026-42100"},"products":["Grafana Enterprise","Grafana OSS"],"published":"2026-06-22","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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-27","vendors":["Grafana"]},"summary":"Unauthenticated attackers can cause denial of service in Grafana by sending large JSON payloads to the public dashboard query endpoint, exhausting server memory.","url":"https://insights.sbomify.com/CVE-2026-42127/"}