{"answers":{"affected":"4 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-33380 in the wild and no public exploit code.","fix":"Upgrade github.com/grafana/grafana to 1.9.2-0.20260513165311-fb7336fc36c1 or later.","what":"CVE-2026-33380 is a medium-severity path traversal vulnerability in Grafana Grafana, published on 13 May 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-33380 and fix it if it is affected.\n\nWhat it is: CVE-2026-33380 is a medium-severity path traversal vulnerability in Grafana Grafana, published on 13 May 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-33380 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.20260513165311-fb7336fc36c1\n- github.com/grafana/grafana (Go): affected all versions; fixed in 1.9.2-0.20260513165311-fb7336fc36c1\n- grafana (Bitnami): affected from 11.6.0; fixed in 11.6.14, 12.2.8, 12.3.6, 12.4.3, 13.0.1\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-33380/ (Markdown: https://insights.sbomify.com/CVE-2026-33380/index.md)","id":"CVE-2026-33380","markdown":"https://insights.sbomify.com/CVE-2026-33380/index.md","name":"CVE-2026-33380","record":{"aliases":["BIT-grafana-2026-33380","GHSA-gxcp-jjxh-rwp4","GO-2026-5409","MINI-3xm6-fq2v-7v9r","MINI-3xmw-7r3x-c3x5","MINI-7cq8-873h-cchr","MINI-97rr-j9hw-5j8v","MINI-9gmw-m4rw-37rm","MINI-cgm8-m5r4-7rx2","MINI-fg4h-863w-2fvp","MINI-fgx3-wmpr-2qh4","MINI-g76p-8294-82fj","MINI-j4q9-jwqg-gpmg","MINI-jvr5-p3rp-cx7h","MINI-p3pg-wrrq-hj3m","UBUNTU-CVE-2026-33380"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Grafana OSS","requires_auth":"low_privilege","summary":"An authenticated attacker can read arbitrary files from the Grafana server filesystem when the sqlExpressions feature toggle is enabled.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GRAFANA","cpe":[{"product":"grafana","vendor":"grafana"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-552","name":"Files or Directories Accessible to External Parties"}],"description":"A vulnerability in SQL Expressions allows an authenticated attacker to read arbitrary files from the Grafana server's filesystem. Only instances with the sqlExpressions feature toggle enabled are vulnerable.","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":"SQL Expressions Read File From Disk","id":"CVE-2026-33380","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"grafana:grafana","products":["grafana:grafana"],"type":"path_traversal","year":"2026"},"n_packages":4,"n_references":1,"next":{"headline":"Users can generate Service Account tokens after permissions removal","id":"CVE-2026-33381"},"packages":[{"ecosystem":"Bitnami","fixed":["11.6.14","12.2.8","12.3.6","12.4.3","13.0.1"],"introduced":["11.6.0","12.0.0","12.3.0","12.4.0","13.0.0"],"last_affected":[],"package":"grafana","purl":"pkg:bitnami/grafana","source":"BIT-grafana-2026-33380"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GO-2026-5409"},{"ecosystem":"Go","fixed":["1.9.2-0.20260513165311-fb7336fc36c1"],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-gxcp-jjxh-rwp4"},{"ecosystem":"Go","fixed":["1.9.2-0.20260513165311-fb7336fc36c1"],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-gxcp-jjxh-rwp4"}],"prev":{"headline":"Grafana Data Source Plugin: DoS (OOM) via Negative Interval Injection in $__timeGroup Macro","id":"CVE-2026-33378"},"products":["Grafana OSS"],"published":"2026-05-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":"partial"},"state":"PUBLISHED","updated":"2026-08-27","vendors":["Grafana"]},"summary":"An authenticated attacker can read arbitrary files from the Grafana server filesystem when the sqlExpressions feature toggle is enabled.","url":"https://insights.sbomify.com/CVE-2026-33380/"}