GHSA-4hf6-3x24-c9m8

Suggest an improvement
Source
https://github.com/advisories/GHSA-4hf6-3x24-c9m8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-4hf6-3x24-c9m8/GHSA-4hf6-3x24-c9m8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4hf6-3x24-c9m8
Aliases
Published
2026-03-11T00:35:41Z
Modified
2026-03-13T13:10:58Z
Severity
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Parse Server's MFA recovery codes not consumed after use
Details

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

Database specific
{
    "cwe_ids":  [
        "CWE-672"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-03-11T00:35:41Z",
    "nvd_published_at":  "2026-03-11T18:16:27Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / parse-server

Package

Affected ranges

Type
SEMVER
Events
Introduced
9.0.0-alpha.1
Fixed
9.6.0-alpha.7

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-4hf6-3x24-c9m8/GHSA-4hf6-3x24-c9m8.json"

npm / parse-server

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
8.6.33

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-4hf6-3x24-c9m8/GHSA-4hf6-3x24-c9m8.json"