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.
Published: 2026-08-19
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Grav is a file‑based Web platform. Prior to version 3.8.5, the Login plugin’s 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 this field when taskTwofa_cancel() sets no redirect, and Grav::getRedirectResponse() accepts the target via Uri::isExternal(), enabling phishing redirects from a trusted Grav host. This flaw satisfies CWE‑601 – Open Redirect – and is fixed in release 3.8.5.

Affected Systems

All Grav installations using getgrav:grav with the login plugin version earlier than 3.8.5 are vulnerable. The 3.8.5 release of the plugin resolves the issue. Users should verify they are running at least this version of grav‑plugin‑login.

Risk and Exploitability

The CVSS base score of 5.3 indicates moderate severity. The EPSS score is 0.00386 (<1%), and the vulnerability is not listed in CISA’s KEV catalog. The attack requires only an unauthenticated HTTP request to a Grav instance with a vulnerable plugin, making it straightforward for automated exploitation. The primary consequence is a user's browser being redirected to a malicious external site, which can facilitate phishing or drive‑by compromise.

Generated by OpenCVE AI on August 20, 2026 at 15:15 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the grav‑plugin‑login to version 3.8.5 or later
  • Disable or restrict the twofa_cancel task if it is not required for your site
  • Implement a whitelist or validation check for any externally supplied redirect URLs

Generated by OpenCVE AI on August 20, 2026 at 15:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 19 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
First Time appeared Getgrav
Getgrav grav
Vendors & Products Getgrav
Getgrav grav
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 19 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
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.
Title Grav: Unauthenticated open redirect via login twofa_cancel _redirect
Weaknesses CWE-601
References
Metrics cvssV4_0

{'score': 5.3, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-19T15:42:49.046Z

Reserved: 2026-06-09T20:50:36.876Z

Link: CVE-2026-53654

cve-icon Vulnrichment

Updated: 2026-08-19T15:42:34.463Z

cve-icon NVD

Status : Received

Published: 2026-08-19T16:17:46.150

Modified: 2026-08-19T16:17:46.150

Link: CVE-2026-53654

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T15:15:03Z

Weaknesses
  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')