CVE-2026-32730
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.
How to fix
- apostrophecms apostrophecms4.28.0 or later
- apostrophe4.28.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apostrophecms apostrophecms | v < 4.28.0 | 4.28.0 |
| apostrophenpm | v < 4.28.0 | 4.28.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.