Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-109320 Overview
CVE-2026-109320 affects the Grav API plugin (grav-plugin-api) in versions before 1.0.36. The flaw is an improper session validation issue tracked as [CWE-613]. The SessionAuthenticator component does not enforce account state during authentication checks. Disabled users can continue calling API endpoints by reusing an already authorized browser session or remember-me cookie until that session expires. This defeats operator-driven account revocation and extends access beyond the intended authorization boundary.
Critical Impact
Disabled accounts retain authenticated API access, allowing former or revoked users to read and modify data through the Grav API until their session naturally expires.
Affected Products
- Grav CMS API plugin (grav-plugin-api) versions prior to 1.0.36
- Deployments relying on SessionAuthenticator for API authentication
- Grav instances that issue remember-me cookies to API consumers
Discovery Timeline
- 2026-10-12 - CVE-2026-109320 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-109320
Vulnerability Analysis
The Grav API plugin exposes HTTP endpoints that authenticate callers through session cookies managed by SessionAuthenticator. When an administrator disables an account, Grav marks the user record as inactive, but existing sessions tied to that user remain valid. API requests presenting those sessions pass authentication because the authenticator checks only the session signature and expiry, not the current account state.
An attacker who already possesses a valid session cookie, or a remember-me token issued before deactivation, can continue invoking authenticated API endpoints. The scope of abuse matches the permissions originally granted to the account. The issue is a session-management defect rather than a credential compromise. The underlying weakness is Insufficient Session Expiration ([CWE-613]).
Root Cause
The root cause is missing enforcement of the account enabled/disabled flag inside the session authentication path. SessionAuthenticator resolves the identity from the session but omits a server-side check that the resolved user is still active. Account state is checked only at interactive login, not on each authenticated API call.
Attack Vector
Exploitation requires an attacker to hold a previously issued session or remember-me token for an account that has since been disabled. The attacker sends HTTP requests to Grav API endpoints with that cookie attached. No user interaction is required at exploitation time. The attack is remote over the network and succeeds until the session or remember-me token expires server-side.
No verified exploit code is published. See the GitHub Security Advisory GHSA-7qfj-82q8-frw6 and the Vulncheck Advisory for the vendor description.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-109320
Indicators of Compromise
- API access log entries attributed to user accounts that have been disabled in Grav administration.
- Successful authenticated requests to grav-plugin-api endpoints occurring after the administrative deactivation timestamp of the same user.
- Long-lived remember-me session identifiers appearing on API calls days or weeks after an account offboarding event.
Detection Strategies
- Correlate the Grav user account state change audit log with web access logs to flag API calls that reference disabled principals.
- Alert when any authenticated API request resolves to a user whose enabled field is false in the Grav user store.
- Baseline normal API consumers and alert on continued activity from accounts that recently went through offboarding workflows.
Monitoring Recommendations
- Forward Grav web server and plugin logs to a centralized logging platform and retain user state change events alongside access events.
- Monitor the ratio of API requests per session identifier to surface sessions that outlive expected administrative actions.
- Review session store contents on a scheduled cadence and purge entries belonging to disabled users.
How to Mitigate CVE-2026-109320
Immediate Actions Required
- Upgrade grav-plugin-api to version 1.0.36 or later on all Grav instances exposing the API.
- Invalidate all existing sessions and remember-me tokens after upgrade to force re-authentication under the fixed code path.
- Audit disabled user accounts and confirm no outstanding sessions remain in the session store.
Patch Information
The maintainers fixed the issue in grav-plugin-api version 1.0.36. The fix adds account state enforcement inside SessionAuthenticator so that disabled users fail authentication on every API request, regardless of session validity. Patch details are documented in the GitHub Security Advisory GHSA-7qfj-82q8-frw6.
Workarounds
- Where immediate upgrade is not possible, clear the Grav session storage directory to terminate all active sessions whenever an account is disabled.
- Shorten session lifetime and disable the remember-me feature in the API plugin configuration to limit the exposure window.
- Restrict API endpoint access at the reverse proxy layer to known client IP ranges until the patch is deployed.
# Upgrade the Grav API plugin to the fixed release
bin/gpm update api
bin/gpm info api | grep -i version
# After upgrade, purge existing sessions to invalidate pre-patch cookies
rm -rf cache/sessions/*
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

