CVE-2026-31875 Parse Server MFA recovery codes not consumed after use
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
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) 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. This vulnerability is fixed in 9.6.0-alpha.7 and 8.6.33.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm parse-server(npm) | < 8.6.33; >= 9.0.0-alpha.1, < 9.6.0-alpha.7 | 8.6.33, 9.6.0-alpha.7 | Fixed |
| parseplatform parse-server | < 8.6.33; = 9.6.0-alpha1; = 9.6.0-alpha2; = 9.6.0-alpha3 +4 more | 8.6.33, 9.6.0 | Fixed |
| parse-community parse-server | = < 8.6.33; = >= 9.0.0 < 9.6.0-alpha.7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| parse-community parse-server | = >= 9.0.0 < 9.6.0-alpha.7 | No fix listed |
| parse-community parse-server | = < 8.6.33 | No fix listed |
| npm parse-server(npm) | >= 9.0.0-alpha.1, < 9.6.0-alpha.7 | 9.6.0-alpha.7 |
| npm parse-server(npm) | < 8.6.33 | 8.6.33 |
| parseplatform parse-server | < 8.6.33 | 8.6.33 |
| parseplatform parse-server | >= 9.0.0, < 9.6.0 | 9.6.0 |
| parseplatform parse-server | = 9.6.0-alpha1 | No fix listed |
| parseplatform parse-server | = 9.6.0-alpha2 | No fix listed |
| parseplatform parse-server | = 9.6.0-alpha3 | No fix listed |
| parseplatform parse-server | = 9.6.0-alpha4 | No fix listed |
| parseplatform parse-server | = 9.6.0-alpha5 | No fix listed |
| parseplatform parse-server | = 9.6.0-alpha6 | No fix listed |
References
- https://github.com/parse-community/parse-server/security/advisories/GHSA-4hf6-3x24-c9m8 patch vendor-advisory
- https://github.com/parse-community/parse-server/releases/tag/8.6.33 product release-notes
- https://github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.7 product release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product