Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-43798

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: `/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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-43798
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:00 UTC · Revision 1

Source evidence

CVE-2021-43798

core-osv · Original source

Published 7 Dec 2021, 19:15 UTC

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: `/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.

osv:CVE-2021-43798
Complete source record
{
  "id": "c9b420a5545f30f4c22c355395f695a14e2fe27e3b8994d70d8107b7dd3d61a0",
  "url": "https://osv.dev/vulnerability/CVE-2021-43798",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-43798",
    "summary": "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: `/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.",
    "evidence": "osv:CVE-2021-43798",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-43798",
      "aliases": [
        "BIT-grafana-2021-43798",
        "CVE-2021-43798",
        "GHSA-8pjx-jj86-j47p"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/grafana/grafana",
              "type": "GIT",
              "events": [
                {
                  "introduced": "8849243d272e57fd3f7a50c0e02f6a4f00bbeb04"
                },
                {
                  "fixed": "822ff7595e4a7851076d72681e98d9192361df31"
                },
                {
                  "introduced": "62e720c06ba5f26a73cdecf1dea59031046f1ac1"
                },
                {
                  "fixed": "52edcff798be02905898c345399ceb0c36276e09"
                },
                {
                  "introduced": "d7f71e9eaec57995d4537f758e300b31650d23ee"
                },
                {
                  "fixed": "d2cccfe91ec24c76eb4e5de60a6e6372207d9b4e"
                },
                {
                  "introduced": "84203aaff8b01727813044d580270f03319ca8eb"
                },
                {
                  "last_affected": "914fcedb72c5e1bd6752f8f311b14df9cc7f7281"
                },
                {
                  "fixed": "c798c0e958d15d9cc7f27c72113d572fa58545ce"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.0.1"
                      },
                      {
                        "fixed": "8.0.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.1.0"
                      },
                      {
                        "fixed": "8.1.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.2.0"
                      },
                      {
                        "fixed": "8.2.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:grafana:grafana:8.0.0:beta1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.0.0-beta1"
                      },
                      {
                        "last_affected": "8.0.0-beta1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:grafana:grafana:8.0.0:beta2:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.0.0-beta2"
                      },
                      {
                        "last_affected": "8.0.0-beta2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:grafana:grafana:8.0.0:beta3:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.0.0-beta3"
                      },
                      {
                        "last_affected": "8.0.0-beta3"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:grafana:grafana:8.3.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.3.0"
                      },
                      {
                        "last_affected": "8.3.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c798c0e958d15d9cc7f27c72113d572fa58545ce"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "8.0.0-beta1",
            "8.0.0-beta2",
            "8.0.0-beta3",
            "8.3.0",
            "v8.0.6",
            "v8.1.7",
            "v8.2.6",
            "v8.2.5",
            "v8.2.2",
            "v8.2.1",
            "v8.2.0",
            "v8.1.4",
            "v8.1.3",
            "v8.1.2",
            "v8.1.1",
            "v8.1.0",
            "v8.0.5",
            "v8.0.4",
            "v8.0.3",
            "v8.0.2",
            "v8.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43798.json"
          }
        }
      ],
      "modified": "2026-10-20T10:55:03.421569409Z",
      "provider": "osv",
      "references": [
        "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-43798",
        "https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/",
        "https://security.netapp.com/advisory/ntap-20211229-0004/",
        "https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce",
        "https://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-43798",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386799,
  "published_at": "2021-12-07T19:15:07.633+00:00"
}