CVE-2026-53654: Grav: Unauthenticated open redirect via login twofa_cancel _redirect

Published Aug 19, 2026
·
Updated

Grav is a file-based Web platform. Prior to 3.8.5, the Login plugin twofacancel 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 taskTwofacancel() 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 Software

1 affected component
grav<3.8.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Grav (Login plugin: twofa_cancel) to a version that resolves this vulnerability.

    Fixed in 3.8.5

Event History

Aug 19, 2026
CVE Published
via MITRE·03:15 PM
Data Sourced
via MITRE·03:15 PM
DescriptionWeakness

Frequently Asked Questions

1

Who can exploit this issue?

Any unauthenticated remote requester can exploit it by supplying a client-controlled _redirect value to the Login plugin's twofa_cancel task. No nonce is required.

2

What redirect targets are accepted?

External http and https URLs, as well as protocol-relative targets, can be used as Location redirect destinations. This permits redirects from a trusted Grav host to an attacker-controlled site.

3

Are installations affected by default?

The issue is in the Grav Login plugin behavior prior to version 3.8.5. The provided data does not identify any additional configuration prerequisite.

4

How can I determine whether an instance is affected?

Check the installed Login plugin version. Versions prior to 3.8.5 are affected; version 3.8.5 contains the fix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203