{
  "id": "CVE-2026-62669",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-62669",
  "published_at": "2026-08-19T15:40:03.252Z",
  "title": "Grav Login Plugin: 2FA Bypass via 'login.regenerate2FASecret' - Secret Rotation During Pending Challenge",
  "vendor": "getgrav",
  "product": "grav",
  "cvss": {
    "score": 7.4,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Grav Login Plugin adds login, basic ACL, and session wide messages to Grav. Prior to 3.8.11, the Grav Login plugin login.regenerate2FASecret task checks only that the pending-session user exists rather than requiring $user-\u003eauthorized. After submitting a victim's correct password, an attacker can invoke taskRegenerate2FASecret() during the pending TOTP challenge, overwrite twofa_secret, read the replacement secret from the response, calculate a valid code, and complete authentication without the victim's second factor. This issue is fixed in version 3.8.11.",
  "cwe": "CWE-287",
  "cvss_by_source": {
    "cna": 7.4
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "getgrav",
        "product": "grav",
        "ranges": [
          "\u003c 2.0.4"
        ],
        "fixed_in": [
          "2.0.4"
        ]
      },
      {
        "vendor": "getgrav",
        "product": "grav-plugin-login",
        "ranges": [
          "\u003c 3.8.11"
        ],
        "fixed_in": [
          "3.8.11"
        ]
      }
    ],
    "upgrade": [
      "Upgrade grav to 2.0.4 or later.",
      "Upgrade grav-plugin-login to 3.8.11 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/getgrav/grav/security/advisories/GHSA-7mgc-c7pq-3rr3"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/getgrav/grav-plugin-login/commit/5d1b722298cb947d8f434025d121b99152a2c630"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/getgrav/grav-plugin-login/releases/tag/3.8.11"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
