CVE-2026-61451
CWE-601Published: July 15, 2026· Updated: Jul 15, 2026
Official Description
The Grav API plugin (grav-plugin-api) before 1.0.4 does not validate the origin of the client-supplied admin_base_url field in the POST /api/v1/auth/forgot-password endpoint. The sanitizeHttpUrl() function only checks that the URL scheme is http/https and never verifies the host against the server's own origin, so an attacker can supply an arbitrary host. As a result, an unauthenticated attacker can cause the password reset email sent to a victim to contain a reset link pointing at an attacker-controlled server; when the victim follows the link, the valid reset token is disclosed to the attacker, enabling full account takeover. The vulnerable base URL can also be influenced via the Referer or Origin headers.
Risk Analysis
This critical vulnerability in the Grav API plugin (grav-plugin-api), with a CVSS score of 9.6, allows an unauthenticated attacker to redirect password reset links to an attacker-controlled server. This can lead to the disclosure of valid reset tokens and full account takeover.
No public exploit is currently known for this vulnerability. The flaw is remotely exploitable (AV:N) and has low attack complexity (AC:L), making it a significant concern.
Upgrade the Grav API plugin to version 1.0.4 or later. Ensure that all URL inputs, especially for sensitive functions like password resets, are properly validated against the server's own origin.
Technical Analysis
CVE-2026-61451 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
Exploitation does not require any privileges, though user interaction (Required) is needed, which slightly reduces the risk of mass automated attacks.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.6.
The vulnerability has a "Changed" scope, meaning successful exploitation can impact components beyond the vulnerable component itself — such as the host operating system or adjacent services.
CVSS v3.1 Vector Breakdown
Exploit & PoC Resources
All References (3)
Quick Facts
Related CVEs (CWE-601)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2026-61451 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts