CVE-2026-62386

Grav < 1.0.0-rc.16 Authentication Bypass via token URL Parameter

Published Jul 17, 2026 CVSS 4.0 · 8.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Grav API plugin (getgrav/grav-plugin-api) before version 1.0.0-rc.16 accepts JWT access tokens passed via the ?token URL query parameter on every API route. Because these tokens are embedded in URLs, they become visible in web server access logs, the Referer header, browser history, and upstream proxy or CDN logs, exposing valid admin access tokens. A leaked token grants full unauthorized API access, allowing reading configuration and user data, creating admin accounts, modifying system settings, and deleting pages.

Affected Systems

The vulnerability affects the Grav API plugin on Grav installations running any version earlier than 1.0.0-rc.16. The affected vendor is getgrav and the product is Grav.

Risk and Exploitability

The CVSS score of 8.2 indicates a high severity level. The EPSS score of less than 1% suggests a low probability that this flaw will be exploited in practice, and it is not listed in the CISA KEV catalog. The likely attack vector is an HTTP request to any API route that includes a ?token query parameter, which exposes the JWT in logs and the Referer header. With a valid token an attacker can read sensitive data, create privileged accounts, alter system settings, and delete content.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Grav to version 1.0.0-rc.16 or newer to apply the fix for token handling.
  • Regenerate or revoke any JWTs that may have leaked through URLs in the past to prevent reuse.
  • Ensure that API requests transmit JWTs only via the Authorization header and configure the server or application to reject or ignore ?token parameters in URLs.

Generated by OpenCVE AI on July 31, 2026 at 00:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Grav < 1.0.0-rc.16 Authentication Bypass via token URL Parameter
First Time appeared Getgrav
Getgrav grav
Weaknesses CWE-598
CPEs cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
Vendors & Products Getgrav
Getgrav grav
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.2, 'vector': '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'}

Weaknesses
  • CWE-598

    Use of HTTP Request With Sensitive Query String

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 23, 2026, 7:22 PM
Reserved
Jul 13, 2026, 10:40 PM
Status
Deferred
Published
Jul 17, 2026, 2:18 AM
Modified
Oct 24, 2026, 8:10 PM