CVE-2026-53654
JSON

5.3medium

Grav: Unauthenticated open redirect via login twofa_cancel _redirect

Severity
5.3medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.49% (higher than 43% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
getgrav grav< 3.8.5CVE List

Classification

CWE-601

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-53654 changed 2026-08-19CVE Terms of Use
NVDCVE-2026-53654 changed 2026-09-09Public domain