What’s Vulnerable › Vulnerabilities

CVE-2026-62386: Grav < 1.0.0-rc.16 Authentication Bypass via token URL Parameter

Description

The Grav API plugin (getgrav/grav-plugin-api) before 1.0.0-rc.16 accepts JWT access tokens through the ?token= URL query parameter on every API route (JwtAuthenticator::extractBearerToken fallback). Because tokens are embedded in URLs, they are logged verbatim in web server access logs, leaked via the Referer header, stored in browser history, and captured by upstream proxy and CDN logs, exposing valid admin access tokens. A leaked token grants unauthorized API access, including reading configuration and user data, creating admin accounts, modifying system settings, and deleting pages.

Affected products

How to fix

Upgrade to a fixed version: getgrav grav 1.0.0-rc.16. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-62386 or the next vulnerability affects your stack