Parse Server's MFA recovery codes not consumed after use
### Impact When multi-factor authentication (MFA) via TOTP is enabled for a user account, Parse Server generates two single-use recovery codes. These codes are intended as a fallback when the user cannot provide a TOTP token. However, recovery codes are not consumed after use, allowing the same recovery code to be used an unlimited number of times. This defeats the single-use design of recovery codes and weakens the security of MFA-protected accounts. An attacker who obtains a single recovery code can repeatedly authenticate as the affected user without the code ever being invalidated. ### Patches The fix ensures that each recovery code is removed from the stored recovery code list after a successful login. ### Workarounds There is no known workaround. ### References - GitHub security advisory: https://github.com/parse-community/parse-server/security/advisories/GHSA-4hf6-3x24-c9m8 - Fix Parse Server 9: https://github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.7 - Fix Parse Server 8: https://github.com/parse-community/parse-server/releases/tag/8.6.33
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-31875US | medium5.9 | — | ||
Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to 9.6.0-alpha.7 and 8.6.33, when multi-factor authentication (MFA) vi… | ||||
references
External citations — patches, advisories, analysis.
- https://github.com/parse-community/parse-serverPACKAGE
- https://github.com/parse-community/parse-server/releases/tag/8.6.33WEB
- https://github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.7WEB
- https://github.com/parse-community/parse-server/security/advisories/GHSA-4hf6-3x24-c9m8WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-31875ADVISORY
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan