CVE-2026-145025

9.6Critical

Published Dec 4, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite

9.6CVSS

Critical

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
Required
Impact
Full C/I/A compromise
Weakness
CWE-436

What an attacker gets

Unauthenticated attackers can hijack any account, including super-admins, by poisoning password reset links. An attacker needs to know the victim's email address and trick them into clicking a reset link.

Root cause

The plugin uses PHP parse_url() to validate URLs but fails to sanitize backslashes, allowing attackers to bypass host checks and redirect reset tokens to an attacker-controlled server.

Affected versions

Grav API plugin before 1.1.21

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Fix & remediation

Upgrade to Grav API plugin version 1.1.21 or later. If you cannot update immediately, monitor logs for suspicious requests to /api/v1/auth/forgot-password.

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-145025

More fully triaged vulnerabilities you may want to check next.