{
  "id": "CVE-2025-66296",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-66296",
  "published_at": "2025-12-01T21:03:07.231Z",
  "title": "Grav vulnerable to Privilege Escalation in Grav Admin: Missing Username Uniqueness Check Allows Admin Account Takeover",
  "vendor": "getgrav",
  "product": "grav",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "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 1.8.0-beta.27, a privilege escalation vulnerability exists in Grav’s Admin plugin due to the absence of username uniqueness validation when creating users. A user with the create user permission can create a new account using the same username as an existing administrator account, set a new password/email, and then log in as that administrator. This effectively allows privilege escalation from limited user-manager permissions to full administrator access. This vulnerability is fixed in 1.8.0-beta.27.",
  "cwe": "CWE-266",
  "cpes": [
    "cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta10:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta11:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta12:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta13:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta14:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta15:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta16:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta17:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta18:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta19:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta1:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta20:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta21:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta22:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta23:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta24:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta25:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta26:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta2:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta3:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta4:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta5:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta6:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta7:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta8:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:1.8.0:beta9:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "getgrav",
        "product": "grav",
        "ranges": [
          "\u003c 1.8.0-beta.27"
        ],
        "fixed_in": [
          "1.8.0-beta.27"
        ]
      }
    ],
    "upgrade": [
      "Upgrade grav to 1.8.0-beta.27 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/getgrav/grav/security/advisories/GHSA-cjcp-qxvg-4rjm"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/getgrav/grav/commit/3462d94d575064601689b236508c316242e15741"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
