{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "2.0.3"
              },
              {
                "fixed": "2.0.6"
              }
            ],
            "source": "DESCRIPTION"
          },
          "events": [
            {
              "introduced": "8d70e3d41013a90dd44d388df58a5f6769ed8149"
            },
            {
              "fixed": "c4bd979f8e2f5b82b45061baad3e13514eb52f03"
            }
          ],
          "repo": "https://github.com/getgrav/grav",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78851.json"
  },
  "details": "Directory Traversal vulnerability in Grav CMS 2.0.3 through 2.0.6 allows a remote attacker to obtain sensitive information via the GravExtension.php and the mediaDirFunc method.",
  "id": "CVE-2026-78851",
  "modified": "2026-10-17T02:31:00.735564468Z",
  "published": "2026-10-15T00:00:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/getgrav/grav/blob/2.0.6/system/config/security.yaml#L325"
    },
    {
      "type": "WEB",
      "url": "https://github.com/getgrav/grav/blob/2.0.6/system/src/Grav/Common/Twig/Extension/GravExtension.php#L1629"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78851.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-78851"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/SLO-CYBER-SEC/CVE-2026-78851"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/getgrav/grav"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}