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

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-19T15:15:30.263Z
- Modified: 2026-09-09T21:13:25.910Z
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- getgrav grav: < 3.8.5

## References

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

## Sources

- CVE List: [CVE-2026-53654](https://www.cve.org/CVERecord?id=CVE-2026-53654), CVE Terms of Use, modified 2026-08-19
- NVD: [CVE-2026-53654](https://nvd.nist.gov/vuln/detail/CVE-2026-53654), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-53654 · Whole record: https://cve.day/CVE-2026-53654.json · Rebuilt by cve.day 2026-11-25T22:59:33.969Z
