8.7High

CVE-2026-86196Grav API Plugin before 1.0.20 Authentication Bypass via Host Header

getgrav grav-plugin-api Published: (2 months ago)

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.

Weakness (CWE): CWE-290

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
getgrav grav < 1.0.20
getgrav grav-plugin-api < 1.0.20, fixed 1.0.20

References and patches