CVE-2026-32730 ApostropheCMS MFA/TOTP Bypass via Incorrect MongoDB Query in Bearer Token Middleware

High 8.1 Published Updated

Attackers can bypass multi-factor authentication in ApostropheCMS by exploiting a flawed MongoDB query in bearer token middleware, gaining unauthorized access.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-32730?

CVE-2026-32730 is a high-severity authentication bypass vulnerability in apostrophecms apostrophe, published on 18 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-305, CWE-287

Which versions are affected by CVE-2026-32730?

2 open source packages ship an affected version, including apostrophe. It affects 1 product.

PackageAffectedFixed in
apostrophe npmAll versions4.28.0
apostrophe npmAll versions4.28.0

Products include Apostrophecms Apostrophecms.

How do I fix CVE-2026-32730?

Upgrade apostrophe to 4.28.0 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2026-32730 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-32730 exists.

Sources

Also known as GHSA-v9xm-ffx2-7h35.

Is CVE-2026-32730 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free