CVE-2026-65897
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedGrav API Plugin versions before 1.0.10 fail to validate the groups field in InvitationsController::create(), allowing authenticated api.users.write callers to assign invited accounts to groups that grant api.super permissions. Attackers can create invitation records with elevated group membership, and when accepted, the new account gains full super-admin API access without the inviter holding those permissions.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe Grav API Plugin versions before 1.0.10 lack authorization validation on the groups field in InvitationsController::create(). Authenticated users with api.users.write permissions can assign invited accounts to privileged groups (including api.super), enabling privilege escalation when the invitation is accepted.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Grav API Plugin installation and versionLocate the Grav API Plugin directory (commonly at /user/plugins/api or /plugins/api) and check the version in the plugin's manifest or version file. Compare against the fixed version 1.0.10.Affected if The installed version is lower than 1.0.10 or the version cannot be determined.
-
Enumerate users with api.users.write permissionQuery the Grav user accounts database or configuration files (typically in /user/config/permissions.yaml or per-user YAML files in /user/accounts/) for any user account possessing the 'api.users.write' permission attribute.Affected if Any user account other than the primary super-admin has the api.users.write permission assigned.
-
Review pending or recent invitations for elevated group assignmentsInspect the invitations storage (commonly in /user/data/invitations or database-backed invitation records) and look for invitation records where the 'groups' field includes any group granting 'api.super' or equivalent super-admin API privileges.Affected if There exists an invitation (pending or accepted) that specifies a group containing api.super permissions.
-
Audit newly created user accounts with super-admin API accessReview all user accounts in /user/accounts/ (or database user table) and identify accounts that have 'api.super' permission. Cross-reference account creation dates to determine if any were created via the invitation system after the plugin was installed.Affected if There are user accounts with api.super permission that were created via invitation and the inviter does not themselves possess api.super privileges.
-
Examine API audit logs for invitation creation requestsCheck Grav's API request logs (typically in /logs/ or a dedicated api-access log file) for POST requests to the invitations endpoint, inspecting the request payload for the 'groups' parameter and whether it contains elevated permissions beyond what the requesting user holds.Affected if Logs show invitation creation requests where the groups field contains api.super or similar elevated permissions.
A user is affected if the Grav API Plugin version is below 1.0.10 AND any non-super-admin user possesses api.users.write permission, or if invitation records exist that grant api.super privileges to accounts whose creator does not hold those privileges.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to Grav API Plugin version 1.0.10 or later which implements proper group assignment validation. Alternatively, implement authorization checks ensuring users can only assign groups they themselves possess.
Grav API Plugin version 1.0.10
- Log in to the Grav admin panel as an administrator
- Navigate to the Plugins section
- Locate the Grav API Plugin
- Check the current version - if below 1.0.10, an update is needed
- Use the built-in plugin update mechanism to upgrade to version 1.0.10
- Alternatively, via command line: run `bin/gpm install grav-api-plugin` or `bin/gpm update grav-api-plugin`
- After upgrading, verify the new version is 1.0.10 in the plugins list
- Test that the API invitation functionality works correctly with proper permission enforcement
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing4.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,512.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-65897 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-65897 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data