Skip to main content

Grav API Plugin EUVDEUVD-2026-144349

| CVE-2026-145025 CRITICAL
Interpretation Conflict (CWE-436)
2026-12-04 VulnCheck
9.4
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain target user's email address
  2. Delivery
    Send crafted admin_base_url to forgot-password endpoint
  3. Exploit
    Backslash URL bypasses PHP parse_url host check
  4. Execution
    Victim clicks genuine emailed reset link
  5. Impact
    Browser leaks reset token to attacker, account takeover

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V4 - API and Web Service Interpretation consistency
Exploitation Conditions

The Grav API plugin version 1.1.20 or earlier must be installed and reachable. The attacker must know a valid account's email address (a super-admin's qualifies) and sends POST /api/v1/auth/forgot-password with a backslash-containing value in either the client-supplied admin_base_url parameter or the Origin header (e.g. https://attacker.example\@site.example), so PHP parse_url() reads the trusted site as the host while browsers resolve the backslash to the attacker host. This works whether or not plugins.login.site_host or system.custom_base_url is configured, because the attacker reuses the site's real host for the part PHP validates. The Referer-header branch rebuilds the URL from parsed parts and is NOT exploitable. Key limiting factor: the attack requires the victim to click the link in the genuine reset email (UI:P) and requires knowledge of a target email; it does not require authentication (PR:N). Complete remediation is upgrade to 1.1.21, which rebuilds the URL from validated scheme/host/port/path and rejects backslash, user-info, whitespace or control characters.

Impact

Signals mostly align toward high priority but stop short of confirmed active exploitation. The provided CVSS 4.0 score of 9.4 reflects a network vector (AV:N), low complexity (AC:L), no attacker privileges (PR:N), and only passive user interaction (UI:P), with high impact to confidentiality, integrity and availability - consistent with full account takeover, including super-admins. The vuln.today decision label is act_now and the finding comes from a credible source (VulnCheck plus the vendor GHSA advisory). However, no EPSS probability was supplied and the CVE is NOT in CISA KEV, so there is no evidence of confirmed active exploitation - the urgency rests on the act_now label and the severity of the outcome, not on observed in-the-wild use. The single genuine limiting factor is UI:P: the attack only succeeds if the victim clicks the legitimate reset link, and the attacker must already know a valid account email. Because the phishing email is the real, vendor-sent reset message, this interaction requirement is weak protection in practice. Net: treat as a real, high-priority patching item driven by the act_now decision and super-admin-takeover impact, while noting that the widespread-exploitation signals (EPSS, KEV) are absent rather than negative.

Exploit ScenarioDerived

An anonymous attacker who knows a target's email submits POST /api/v1/auth/forgot-password with a crafted admin_base_url such as https://attacker.example\@site.example; PHP parse_url() reads the host as the legitimate site and accepts it, but the raw string is embedded in the reset link. The victim receives a genuine reset email, clicks the button, and the browser (following WHATWG URL rules) sends the reset token to attacker.example, letting the attacker set a new password. No public weaponized exploit code is identified, though the GHSA advisory publicly documents the exact crafted-URL technique.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available

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

Alert me

AnalysisAIv1 – Dec 04, 2026

Password reset token theft in the Grav API plugin 1.1.20 and earlier allows an unauthenticated attacker who knows a user's email address, including a super-admin's, to poison the genuine reset link through a backslash-containing admin_base_url or Origin value and receive the reset token when the victim clicks it, leading to account takeover. The flaw is a PHP parse_url() versus browser URL-parsing mismatch; the Referer branch is not affected. The vendor fixed it in 1.1.21 and the CVSS 4.0 score is 9.4; no public exploit was identified at time of analysis.

RemediationAI

Upgrade getgrav/grav-plugin-api to 1.1.21 or later; version 1.1.21 is the complete vendor fix and rebuilds the emailed base URL only from the scheme, host, port and path that passed the trusted-origin check, while rejecting candidates containing a backslash, user info, whitespace or control characters. Confirm the installed plugin version and redeploy, then verify the patched version is active. The advisory is https://github.com/getgrav/grav/security/advisories/GHSA-fqv4-9pm4-v2q2. The source material does not describe a supported workaround short of updating.

Affected VersionsENISA

grav 0 <1.1.21

Affected Packages

euvd grav fix: 1.1.21

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

The issue is a URL parser differential (CWE-436) in the Grav API plugin's password-reset flow, compounded by weak password recovery handling (CWE-640). POST /api/v1/auth/forgot-password passes a client-supplied admin_base_url to ResolvesAdminBaseUrl::resolveAdminBaseUrl(); sanitizeHttpUrl() and the trusted-origin check validate the candidate with PHP parse_url(), which reads the text before a backslash as user info and reports the trusted site as the host, but the method then returns the raw string for the emailed link. Browsers apply the WHATWG URL standard, treat the backslash as a path separator and navigate to the attacker host, so the token is exfiltrated. The Origin-header branch has the same defect; the Referer branch rebuilds the URL from its parsed parts and is not affected. The base URL check was added for CVE-2026-61839 and CVE-2026-86196 but did not normalize the emitted string. The behavior occurs whether or not plugins.login.site_host or system.custom_base_url is configured, because the attacker uses the site's real host as the portion PHP validates.

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 9.4 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
vuln.today AI 9.6 CRITICAL

PR:N as it is unauthenticated and AC:L since only a crafted base-URL string is needed; UI:R because the victim must click the genuine reset link; S:C because super-admin takeover enables host-level code execution via Grav admin.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

2
Patch available
Dec 04, 2026 - 17:18 EUVD
CVE Published
Dec 04, 2026 - 16:11 cve.org
CRITICAL 9.4

DescriptionCVE.org

Grav API plugin before 1.1.21 validates the client-supplied admin_base_url or Origin header with PHP parse_url() but places the raw string in password reset links, so a backslash-containing URL passes the host check while browsers resolve it to an attacker host. An unauthenticated attacker who knows a user's email address can request a reset via /api/v1/auth/forgot-password, and when the victim clicks the genuine emailed link the reset token is sent to the attacker, enabling account takeover including super-admins.

Technical POC Analysis

The bug is CWE-436 interpretation conflict in the Grav API plugin's ResolvesAdminBaseUrl::resolveAdminBaseUrl() in getgrav/grav-plugin-api versions <= 1.1.20.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-145025 is a critical unauthenticated account takeover flaw in the Grav API plugin 1.1.20 and earlier, allowing an attacker to steal password reset tokens and seize any account, including super-admin, simply by knowing the user's email address. Since exploit tooling is not publicly available but the attack is straightforward and requires no credentials, the risk to the organization is high if Grav is in use, as compromise of a super-admin account could lead to full site takeover, data breach, or further lateral movement.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; vendor fix is expected in 1.1.21. Interim mitigations include restricting access to Grav admin/API endpoints, enabling web application firewall rules to block malformed Origin headers, disabling the affected password reset feature, and monitoring for anomalous reset requests.

Threat Intelligence Overview

Prevalence
Low
niche flat-file CMS plus optional API add-on plugin
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org Vulnrichment GitHub

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 CRITICAL
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +47
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.

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