Description
Grav API plugin versions before 1.0.20 build password reset links from the untrusted Host header in the forgot-password endpoint, allowing unauthenticated attackers to redirect reset tokens to attacker-controlled domains. Attackers can send password reset requests for any account with a malicious Host header, intercept the reset token from victim emails, and complete account takeover including super-admin accounts.
Published: 2026-09-05
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Grav API plugin builds password‑reset URLs using the value of the Host header, which is provided by the client. An attacker can supply any Host value in the forgot‑password endpoint, causing a reset link that points to an attacker‑controlled domain to be generated and emailed to the target user. Because the reset link can be captured from the victim’s email, the attacker can redeem the token and set a new password, effectively taking over the account, including super‑admin accounts. The weakness is an authentication bypass that compromises confidentiality, integrity, and availability of user accounts.

Affected Systems

Versions of the Grav API plugin from getgrav (grav plugin) earlier than 1.0.20 are affected. The vulnerability applies to all deployments that install the plugin with these pre‑1.0.20 releases.

Risk and Exploitability

With a CVSS score of 8.7 the vulnerability is considered high severity. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog. Attackers need only send an unauthenticated HTTP request with a forged Host header to a site running the vulnerable plugin; no additional credentials or privileged access are required. The ability to influence outbound email content makes exploitation straightforward for attackers with network or domain control. The risk is therefore substantial, especially if the organization relies on the default authentication flow and does not enforce host header validation.

Generated by OpenCVE AI on September 5, 2026 at 13:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Grav API plugin to version 1.0.20 or later, which removes the Host‑header‑based reset link generation.
  • Configure the web server or reverse proxy to reject or normalize Host headers, allowing only known, trusted domains to be accepted.
  • Monitor for abnormal password reset activity and verify that reset emails contain expected domain names, alerting administrators to potential manipulation.

Generated by OpenCVE AI on September 5, 2026 at 13:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 05 Sep 2026 12:30:00 +0000

Type Values Removed Values Added
Description Grav API plugin versions before 1.0.20 build password reset links from the untrusted Host header in the forgot-password endpoint, allowing unauthenticated attackers to redirect reset tokens to attacker-controlled domains. Attackers can send password reset requests for any account with a malicious Host header, intercept the reset token from victim emails, and complete account takeover including super-admin accounts.
Title Grav API Plugin before 1.0.20 Authentication Bypass via Host Header
First Time appeared Getgrav
Getgrav grav
Weaknesses CWE-290
CPEs cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
Vendors & Products Getgrav
Getgrav grav
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-05T12:09:09.490Z

Reserved: 2026-09-05T11:52:36.821Z

Link: CVE-2026-86196

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-05T13:18:14.980

Modified: 2026-09-05T13:18:14.980

Link: CVE-2026-86196

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T13:30:05Z

Weaknesses
  • CWE-290

    Authentication Bypass by Spoofing