---
id: "CVE-2026-126294"
page: "https://infrastack.ai/live/CVE-2026-126294"
kind: "vulnerability"
aliases: ["CVE-2026-126294"]
title: "Grav Login plugin: two-factor check skipped, giving admin accounts access"
severity: "high"
cvss: 8.7
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["grav", "grav-login-plugin", "package", "php", "self-hosted"]
not_affected_if: ["twofa-enabled", "version-3.11.0-or-later"]
published_at: "2026-11-13T10:17:33+00:00"
first_seen_at: "2026-11-13T10:47:14+00:00"
updated_at: "2026-11-13T10:50:32+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126294", "first_seen_at": "2026-11-13T10:47:14+00:00"}]
exploit_sources: []
---

# Grav Login plugin: two-factor check skipped, giving admin accounts access

Link for people: https://infrastack.ai/live/CVE-2026-126294 (this .md is for agents)

The Grav Login plugin before 3.11.0 lets someone who knows an account password skip two-factor verification when the global twofa_enabled setting is off. The attacker gets a session with full account permissions, including super-admin control.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed Login plugin version in the Grav admin plugins list or `plugins/login/blueprints.yaml` against the fixed version.
- Check whether `twofa_enabled` is set to off in the Login plugin configuration.
- Check whether the API plugin is installed, since the sources say it accepts the resulting session.

## Fix

- Grav Login plugin: move to `3.11.0` or later.

## Timeline

- 2026-11-13T10:47:14+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-126294

## Documents

- [advisory] Vendor advisory: github.com https://github.com/getgrav/grav/security/advisories/GHSA-4x9h-4683-5fcx
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/grav-login-plugin-before-3.11.0-two-factor-authentication-bypass-via-login

## From the sources

Grav Login plugin before 3.11.0 contains an authentication bypass vulnerability that allows attackers with an account password to skip two-factor verification when the global twofa_enabled setting is off. Attackers can sign in through the /login form, remember-me cookie, or magic link to obtain a session the API plugin accepts, gaining full account permissions including super-admin control.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
