{"id":"CVE-2026-32730","published":"2026-03-18T22:00:14Z","modified":"2026-03-19T16:12:15Z","title":"ApostropheCMS MFA/TOTP Bypass via Incorrect MongoDB Query in Bearer Token Middleware","vendor":"apostrophecms","product":"apostrophe","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0042,"percentile":0.37224,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"},{"id":"CWE-305","name":"Authentication Bypass by Primary Weakness"}],"references":[{"url":"https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-v9xm-ffx2-7h35","tags":["x_refsource_CONFIRM"]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":7.44},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"apostrophecms","affectedVersions":[{"vendor":"apostrophecms","product":"apostrophe","versions":["< 4.28.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-03-19T16:12:00.481300Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"apostrophe","vulnerableRanges":["<4.28.0"],"patched":["4.28.0"],"from":["GHSA-v9xm-ffx2-7h35"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-12975","exploited":false,"provenance":"source"}}