CVE-2026-62386
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| getgrav | grav | 0 < 1.0.0-rc.16 | affected |
| getgrav | grav | 1.0.0-rc.16 | unaffected |
Weaknesses
- CWE-598: Use of GET Request Method With Sensitive Query Strings
References
- https://github.com/getgrav/grav/security/advisories/GHSA-4hpj-wmpw-ghwq
- https://www.vulncheck.com/advisories/grav-rc-16-authentication-bypass-via-token-url-parameter
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.