{"id":"CVE-2021-43798","kind":"vulnerability","aliases":["CVE-2021-43798"],"related":[],"title":"Grafana is an open-source platform for monitoring and observability","description":"Grafana is an open-source platform for monitoring and observability. Grafana versions 8.0.0-beta1 through 8.3.0 (except for patched versions) iss vulnerable to directory traversal, allowing access to local files. The vulnerable URL path is: `<grafana_host_url>/public/plugins//`, where is the plugin ID for any installed plugin. At no time has Grafana Cloud been vulnerable. Users are advised to upgrade to patched versions 8.0.7, 8.1.8, 8.2.7, or 8.3.1. The GitHub Security Advisory contains more information about vulnerable URL paths, mitigation, and the disclosure timeline.","summary":"Grafana, a dashboard and monitoring server, has a path traversal flaw that lets an unauthenticated visitor request files outside its plugin directory. An attacker can read local files on the server, which can include configuration files with secrets.","severity":"high","cvss":7.5,"epss":null,"exploited":true,"exploited_at":"2025-10-09T00:00:00+00:00","products":[{"name":"Grafana Labs Grafana","fixed":[],"affected":"","ecosystem":"vendor"},{"name":"grafana","fixed":["8.0.7"],"affected":">= 8.0.1, < 8.0.7","ecosystem":"vendor"},{"name":"grafana","fixed":["8.1.8"],"affected":">= 8.1.0, < 8.1.8","ecosystem":"vendor"},{"name":"grafana","fixed":["8.2.7"],"affected":">= 8.2.0, < 8.2.7","ecosystem":"vendor"},{"name":"grafana","fixed":[],"affected":"= 8.0.0","ecosystem":"vendor"},{"name":"grafana","fixed":[],"affected":"= 8.3.0","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["exploited","grafana","monitoring","runtime","self-hosted"],"not_affected_if":["managed-hosting","unaffected-version"],"how_to_check":"Check the Grafana version (grafana-server -v) and compare it against the fixed release in the vendor advisory.","fix":"Upgrade Grafana to a fixed release per the vendor advisory, or apply the vendor mitigation (unknown in sources).\nIf you cannot patch, restrict access to the Grafana port at the network layer.","status":"open","published_at":"2021-12-07T19:15:07+00:00","first_seen_at":"2026-10-23T19:11:51+00:00","triaged_at":"2026-10-23T20:44:36+00:00","updated_at":"2026-10-23T23:44:51+00:00","category":"runtime","confidence":0.6,"triage":{"at":"2026-10-23T20:44:36Z","model":"claude-haiku-5-5","output":{"fix":"Upgrade Grafana to a fixed release per the vendor advisory, or apply the vendor mitigation (unknown in sources).\nIf you cannot patch, restrict access to the Grafana port at the network layer.","reach":"internet","summary":"Grafana, a dashboard and monitoring server, has a path traversal flaw that lets an unauthenticated visitor request files outside its plugin directory. An attacker can read local files on the server, which can include configuration files with secrets.","category":"runtime","who_cares":["grafana","self-hosted","monitoring"],"confidence":0.6,"needs_auth":"no","worst_case":"Attacker reads arbitrary server files, including credentials and config secrets.","analyst_note":"Confirm affected and fixed Grafana version ranges and the vendor mitigation from the Grafana security advisory for CVE-2021-43798, which the sources do not list.","how_to_check":"Check the Grafana version (grafana-server -v) and compare it against the fixed release in the vendor advisory.\nunknown","needs_analyst":true,"not_affected_if":["managed-hosting","unaffected-version"],"user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000463,"input_tokens":2502,"output_tokens":426,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-2021':13A,16A '-43798':14A,17A '/public/plugins':107C '8.0.0':84C '8.0.7':133C '8.1.8':134C '8.2.7':135C '8.3.0':87C '8.3.1':137C 'access':98C 'advis':127C 'advisori':141C 'allow':97C 'attack':56B 'beta1':85C 'cloud':122C 'configur':67B 'contain':142C 'cve':12A,15A 'dashboard':35B 'directori':54B,95C 'disclosur':152C 'except':88C 'exploit':26B 'file':50B,60B,68B,101C 'flaw':43B 'github':139C 'grafana':1A,18A,20A,21A,22A,23A,24A,25A,27B,33B,71C,82C,121C 'host':32B 'id':112C 'includ':66B 'inform':144C 'instal':115C 'iss':92C 'labs':19A 'let':45B 'local':59B,100C 'mitig':149C 'monitor':9A,28B,37B,79C 'observ':11A,81C 'open':5A,75C 'open-sourc':4A,74C 'outsid':51B 'patch':90C,131C 'path':41B,105C,148C 'platform':7A,77C 'plugin':53B,111C,116C 'read':58B 'request':49B 'runtim':29B 'secret':70B 'secur':140C 'self':31B 'self-host':30B 'server':38B,63B 'sourc':6A,76C 'time':119C 'timelin':153C 'travers':42B,96C 'unauthent':47B 'upgrad':129C 'url':104C,147C 'user':125C 'version':83C,91C,132C 'visitor':48B 'vulner':93C,103C,124C,146C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"first_public_at":"2021-12-07T19:15:07+00:00","kev":{"dateAdded":"2025-10-09","dueDate":"2025-10-30","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","knownRansomwareCampaignUse":"Unknown"},"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","cvss_by":"security-advisories@github.com","poc_count":0,"sources":[{"source":"kev","external_id":"CVE-2021-43798","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2021-43798","severity":null,"published_at":"2025-10-09T00:00:00+00:00","modified_at":null,"first_seen_at":"2026-10-23T19:11:51+00:00","fetched_at":"2026-10-25T10:39:04+00:00","note":null},{"source":"nvd","external_id":"CVE-2021-43798","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43798","severity":null,"published_at":"2021-12-07T19:15:07+00:00","modified_at":"2026-06-17T04:11:27+00:00","first_seen_at":"2026-10-23T23:44:51+00:00","fetched_at":"2026-10-23T23:44:51+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}