Skip to main content

Grav API plugin CVE-2026-62386

| EUVDEUVD-2026-45086 HIGH
Use of GET Request Method With Sensitive Query Strings (CWE-598)
2026-07-17 VulnCheck GHSA-cx27-6j8x-h4h6
8.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain access to request logs or Referer data
  2. Delivery
    Locate leaked ?token= JWT in log/proxy/CDN
  3. Exploit
    Replay token against Grav API route
  4. Execution
    Authenticate as admin via captured token
  5. Impact
    Create admin account or alter/delete content

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V4 - API and Web Service Sensitive data in POST not GET
Exploitation Conditions

Exploitation requires that a valid Grav API JWT actually be transmitted in the ?token= URL query parameter (the JwtAuthenticator::extractBearerToken fallback) and that the attacker can then read it from one of the leak channels named in the advisory: web server access logs, the Referer header, browser history, or upstream proxy/CDN logs. What limits exploitation is that the attacker cannot forge a token - they must capture a genuine, unexpired admin token, so the practical prerequisite is access to a logging surface (server logs, proxy/CDN telemetry, or a third-party site receiving the Referer). Deployments that only ever send tokens in the Authorization header, or that strip query strings from logs, are not exposed even on vulnerable plugin versions.

Impact

The official CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:H) rates this 8.2 High, and the key nuance is AT:P - attack requirements are present, meaning exploitation is not a single self-contained request but depends on a valid admin token first being emitted in a URL and then captured from a log, Referer chain, proxy, or CDN the attacker can read. That preconditioned nature is why this is a real but not wormable issue: EPSS and automatable signals are not provided in the input, there is no KEV listing and no public POC, so this reads as an opportunistic credential-leakage weakness rather than a mass-exploited RCE. Note a discrepancy worth flagging: the vendor vector scores only confidentiality (VC:H, VI:N/VA:N), yet the description states a leaked token permits creating admin accounts, modifying system settings, and deleting pages - those are integrity and availability impacts, so the confidentiality-only scoring understates downstream consequences once a token is abused. Priority should be driven by whether the deployment logs query strings or sits behind logging proxies/CDNs, which is common.

Exploit ScenarioDerived

An admin or automation client calls a Grav API route as https://site/api/…?token=<JWT>; that full URL is recorded in the site's Nginx access log and forwarded in the Referer header and CDN logs. An attacker with read access to any of those log stores (or a shared upstream proxy) lifts the still-valid token and replays it against the API to create a new admin account or dump configuration. No public POC is identified, and success depends on the attacker being able to observe a leaked token, consistent with the AT:P attack-requirement flag.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 17, 2026

Sensitive token exposure in the Grav CMS API plugin (getgrav/grav-plugin-api) before 1.0.0-rc.16 allows attackers to hijack valid admin sessions after JWT access tokens leak from URLs. Because JwtAuthenticator::extractBearerToken accepts tokens via the ?token= query string on every API route, those tokens are written verbatim into web server access logs, Referer headers, browser history, and upstream proxy/CDN logs, and any captured token grants full admin API access. There is no public exploit identified at time of analysis and it is not listed in CISA KEV, but the CVSS 4.0 score of 8.2 reflects the high value of the leaked admin credentials.

RemediationAI

Vendor-released patch: upgrade the Grav API plugin to 1.0.0-rc.16 or later, which removes the ?token= query-parameter fallback so tokens are only accepted in the Authorization header (see GHSA-4hpj-wmpw-ghwq). Until the plugin is updated, stop passing tokens in URLs and send them exclusively via the Authorization: Bearer header from all API clients; where you cannot update immediately, block or strip the token query parameter at a reverse proxy or WAF for API routes (trade-off: any tooling that relies on URL tokens will break), and configure web servers, proxies, and CDNs to omit query strings from access logs to limit further leakage (trade-off: reduced request-debugging visibility). Because previously used tokens may already sit in historical logs, browser history, and CDN caches, rotate and revoke all existing API access tokens after patching rather than assuming the upgrade alone contains the exposure.

Affected VersionsENISA

grav 0 <1.0.0-rc.16

Affected Packages

euvd grav fix: 1.0.0-rc.16

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Grav is a flat-file PHP CMS, and its optional API plugin exposes REST-style routes protected by JWT bearer authentication. The flaw is a CWE-598 (sensitive information transmitted in a query string) issue: rather than requiring the token only in the Authorization: Bearer HTTP header, the plugin's JwtAuthenticator::extractBearerToken method falls back to reading the credential from the ?token= URL query parameter. URL query strings are one of the most commonly logged and forwarded parts of an HTTP request, so a secret placed there propagates far beyond the intended TLS-protected request/response pair. The affected package per NVD CPE is cpe:2.3:a:getgrav:grav (the grav-plugin-api component), and only the plugin's token-handling path is at fault, not the JWT signing itself.

Know when Grav gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.2 HIGH
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
vuln.today AI 7.4 HIGH

AC:H because a valid token must first leak into a log/Referer/proxy the attacker can read; PR:N since the captured token needs no prior privilege, and C:H/I:H reflect full admin read plus account/settings/page modification.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Jul 17, 2026 - 02:32 EUVD
CVE Published
Jul 17, 2026 - 00:07 cve.org
HIGH 8.2

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Grav CMS API plugin versions before 1.0.0-rc.16 exposes administrative authentication tokens in web server logs, browser caches, and proxy records through insecure query string handling. No public exploit identified at time of analysis, though any staff member with access to logs can extract leaked tokens for full administrative API access. This represents critical risk to organizations running this plugin version.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable query string token parameters (?token=) on all API routes via web server configuration; (2) Enforce HTTP Authorization header-based Bearer token authentication only; (3) Restrict API access to specific IP ranges; (4) Audit web server, CDN, and proxy logs for leaked tokens or unauthorized API activity; (5) Rotate all JWT tokens and administrator API credentials; (6) Monitor official Grav plugin repository for patch release and upgrade immediately upon availability.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Low
optional API plugin for a niche flat-file PHP CMS
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Related Vulnerabilities in Grav API Plugin Authorization and Credential Exposure

View all 4

More in Grav

View all
CVE-2025-66294 HIGH POC
8.7 Dec 01

Server-side template injection (SSTI) in Grav (getgrav/grav) prior to 1.8.0-beta.27 allows an authenticated attacker hol

CVE-2025-66301 HIGH POC
8.6 Dec 01

Broken access control in Grav CMS (CWE-285) before 1.8.0-beta.27 lets an authenticated editor-level user escalate their

CVE-2025-50286 HIGH POC
8.1 Aug 06

A Remote Code Execution (RCE) vulnerability in Grav CMS v1.7.48 allows an authenticated admin to upload a malicious plug

CVE-2024-34082 CRITICAL POC
9.9 May 15

Grav is a file-based Web platform. Rated critical severity (CVSS 9.9), this vulnerability is remotely exploitable, low a

CVE-2021-47812 CRITICAL POC
9.8 Jan 16

GravCMS 1.10.7 allows unauthenticated remote attackers to write arbitrary YAML configuration files, leading to full serv

CVE-2026-65008 CRITICAL POC
9.3 Jul 21

Remote code execution in Grav CMS 2.0.4 (fixed in 2.0.7) lets an authenticated user holding the admin.pages or api.pages

CVE-2026-75827 CRITICAL POC
9.3 Aug 18

Remote code execution in Grav CMS before 2.0.15 allows attackers holding page-edit or blueprint-config privileges to wri

CVE-2026-75837 CRITICAL POC
9.3 Aug 18

Vertical privilege escalation in Grav CMS before 2.0.14 lets a delegated administrator holding only the admin.users perm

CVE-2026-75828 CRITICAL POC
9.3 Aug 18

Stored cross-site scripting in Grav CMS before 2.0.15 lets authenticated editors smuggle JavaScript event handlers past

CVE-2025-66844 CRITICAL POC
9.1 Dec 15

Server-side request forgery (SSRF) in Grav CMS versions prior to 1.7.49.5 allows remote authenticated attackers to make

CVE-2025-66299 HIGH POC
8.8 Dec 01

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, Grav CMS is vulnerable to a Server-Side Template Injection (S

CVE-2026-72819 HIGH POC
8.7 Aug 14

Remote code execution in Grav CMS before 2.0.13 allows authenticated low-privilege users to plant and execute arbitrary

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy