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.
Published: 2026-07-17
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 17 Jul 2026 00:30:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-23T19:22:08.990Z

Reserved: 2026-07-13T22:40:54.412Z

Link: CVE-2026-62386

cve-icon Vulnrichment

Updated: 2026-07-23T19:20:50.672Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T00:45:05Z

Weaknesses
  • CWE-598

    Use of HTTP Request With Sensitive Query String