{
  "id": "CVE-2026-130747",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-130747",
  "published_at": "2026-11-18T11:34:02.693Z",
  "title": "Grav before 1.7.53.7 and 2.x before 2.2.18 Authentication Bypass via First-Run Setup",
  "vendor": "getgrav",
  "product": "grav",
  "cvss": {
    "score": 9.2,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA: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 before 1.7.53.7 and 2.x before 2.2.18 contains an authentication bypass vulnerability that allows anonymous visitors to create super-admin accounts because UserCollection::count() uses an unescaped glob() pattern. On installs whose path contains brackets or a backslash, the account count returns zero, so attackers can send requests to POST /api/v1/auth/setup or the classic admin registration form to create or overwrite administrator accounts.",
  "cwe": "CWE-155",
  "cvss_by_source": {
    "cna": 9.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "getgrav",
        "product": "grav",
        "ranges": [
          "\u003e= 2.0.0, \u003c 2.2.18"
        ],
        "fixed_in": [
          "2.2.18"
        ]
      },
      {
        "vendor": "getgrav",
        "product": "grav",
        "ranges": [
          "\u003c 1.7.53.7"
        ],
        "fixed_in": [
          "1.7.53.7"
        ]
      }
    ],
    "upgrade": [
      "Upgrade grav to 2.2.18 or later.",
      "Upgrade grav to 1.7.53.7 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/getgrav/grav/security/advisories/GHSA-gjx7-95hg-x969"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
