{
  "id": "CVE-2026-32730",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-32730",
  "published_at": "2026-03-18T22:00:14.612Z",
  "title": "ApostropheCMS MFA/TOTP Bypass via Incorrect MongoDB Query in Bearer Token Middleware",
  "vendor": "apostrophecms",
  "product": "apostrophe",
  "cvss": {
    "score": 8.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "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": "ApostropheCMS is an open-source content management framework. Prior to version 4.28.0, the bearer token authentication middleware in `@apostrophecms/express/index.js` (lines 386-389) contains an incorrect MongoDB query that allows incomplete login tokens — where the password was verified but TOTP/MFA requirements were NOT — to be used as fully authenticated bearer tokens. This completely bypasses multi-factor authentication for any ApostropheCMS deployment using `@apostrophecms/login-totp` or any custom `afterPasswordVerified` login requirement. Version 4.28.0 fixes the issue.",
  "cwe": "CWE-287",
  "cpes": [
    "cpe:2.3:a:apostrophecms:apostrophecms:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "apostrophecms",
        "product": "apostrophe",
        "ranges": [
          "\u003c 4.28.0"
        ],
        "fixed_in": [
          "4.28.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade apostrophe to 4.28.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-v9xm-ffx2-7h35"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
