{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "2.7.0"
              },
              {
                "fixed": "3.9.9"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "db3a7c90fa511d50ae0a4401c3bf2f9d5668f513"
            },
            {
              "fixed": "176a175156f271e831703a2b64ca798cc76e221d"
            }
          ],
          "repo": "https://github.com/getgrav/grav-plugin-login",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-5rph-jqcf-2x36"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-287"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/109xxx/CVE-2026-109312.json"
  },
  "details": "Grav Login plugin 2.7.0 before 3.9.9 contains an authentication bypass in processUserProfile(), which checks that the session user exists but not that a pending front-end 2FA session is fully authorized. Attackers with a victim's password who can publish a page form without an access rule can invoke update_user before completing 2FA to disable twofa_enabled and take over the account.",
  "id": "CVE-2026-109312",
  "modified": "2026-10-14T02:30:48.925832993Z",
  "published": "2026-10-12T16:05:07.605Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/109xxx/CVE-2026-109312.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/getgrav/grav/security/advisories/GHSA-5rph-jqcf-2x36"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-109312"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/grav-login-plugin-2.7.0-before-3.9.9-2fa-bypass-via-profile-update-form"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/getgrav/grav-plugin-login"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Grav Login Plugin 2.7.0 before 3.9.9 2FA Bypass via Profile Update Form"
}