What’s Vulnerable › Vulnerabilities
CVE-2026-53654: Grav: Unauthenticated open redirect via login twofa_cancel _redirect
- Severity: medium (CVSS 5.3 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-19 · updated 2026-09-09
- Weakness: CWE-601
Description
Grav is a file-based Web platform. Prior to 3.8.5, the Login plugin twofa_cancel task accepts a client-controlled _redirect field without a nonce and allows an unauthenticated request to set an external http, https, or protocol-relative Location target. Controller::execute() applies the field when taskTwofa_cancel() sets no redirect, and Grav::getRedirectResponse() accepts the target through Uri::isExternal(), enabling phishing redirects from a trusted Grav host. This issue is fixed in version 3.8.5.
Affected products
- getgrav grav: before 3.8.5
References
- https://github.com/getgrav/grav-plugin-login/commit/1535e51d2a9cbc3f1bb1e262e791c142a06ce959
- https://github.com/getgrav/grav-plugin-login/releases/tag/3.8.5
- https://github.com/getgrav/grav/security/advisories/GHSA-wwcc-xxhc-44j6
- https://github.com/getgrav/grav/security/advisories/GHSA-wwcc-xxhc-44j6
Get alerted when CVE-2026-53654 or the next vulnerability affects your stack