{
  "id": "CVE-2026-44738",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-44738",
  "published_at": "2026-05-11T15:47:46.778Z",
  "title": "Grav: Twig sandbox allows editor-role users to exfiltrate all plugin secrets via Config::toArray()",
  "vendor": "getgrav",
  "product": "grav",
  "cvss": {
    "score": 7.7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Grav is a file-based Web platform. Prior to 2.0.0-rc.2, the Twig sandbox allow-list permits any user with the admin.pages role to call config.toArray() from within a page body, dumping the entire merged site configuration — including all plugin secrets (SMTP passwords, AWS keys, OAuth client secrets, API tokens) — into the rendered HTML. No administrator privileges are required. This vulnerability is fixed in 2.0.0-rc.2.",
  "cwe": "CWE-200",
  "cpes": [
    "cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:2.0.0:beta1:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:2.0.0:beta2:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:2.0.0:beta3:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:2.0.0:beta4:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:2.0.0:rc1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "getgrav",
        "product": "grav",
        "ranges": [
          "\u003c 2.0.0-rc.2"
        ],
        "fixed_in": [
          "2.0.0-rc.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade grav to 2.0.0-rc.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/getgrav/grav/security/advisories/GHSA-j274-39qw-32c9"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
