Skip to content
Heist/ feed
Back to feed
High

Parse Server MFA recovery codes not consumed after use

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-31875
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 18:13 UTC · Revision 1

Source evidence

Parse Server MFA recovery codes not consumed after use

core-osv · Original source

Published 11 Mar 2026, 18:04 UTC

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.

osv:CVE-2026-31875
Complete source record
{
  "id": "f3d4bc74e0f751ded6edb95e0285e5ca13a34603c465ddfa5bfc817f7470ff7e",
  "url": "https://osv.dev/vulnerability/CVE-2026-31875",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Parse Server MFA recovery codes not consumed after use",
    "summary": "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.",
    "evidence": "osv:CVE-2026-31875",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-31875",
      "aliases": [
        "BIT-parse-2026-31875",
        "CVE-2026-31875",
        "GHSA-4hf6-3x24-c9m8"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/parse-community/parse-server",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "c1dc6d3c1aeeb71369db1da70822bf20f36d6deb"
                },
                {
                  "introduced": "532a461d30a6ed4457839f2caf5f30d5abf51a55"
                },
                {
                  "fixed": "cb062a6bca0827265804fd6ad60a55f1a360c15e"
                },
                {
                  "fixed": "f0f3bbb9a5685218a237f6896395a7aebcd1c4e8"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:parseplatform:parse-server:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "8.6.33"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:parseplatform:parse-server:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "9.0.0"
                      },
                      {
                        "fixed": "9.6.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c1dc6d3c1aeeb71369db1da70822bf20f36d6deb"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "8.6.33"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f0f3bbb9a5685218a237f6896395a7aebcd1c4e8"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "9.6.0-alpha.7"
                  }
                ]
              }
            }
          ],
          "versions": [
            "9.5.1",
            "8.6.32",
            "9.6.0-alpha.6",
            "8.6.31",
            "9.6.0-alpha.5",
            "8.6.30",
            "9.6.0-alpha.4",
            "9.6.0-alpha.3",
            "8.6.29",
            "8.6.28",
            "9.6.0-alpha.2",
            "8.6.27",
            "9.6.0-alpha.1",
            "9.5.2-alpha.14",
            "8.6.26",
            "9.5.2-alpha.13",
            "9.5.2-alpha.12",
            "8.6.25",
            "8.6.24",
            "9.5.2-alpha.11",
            "8.6.23",
            "9.5.2-alpha.10",
            "9.5.2-alpha.9",
            "8.6.22",
            "8.6.21",
            "9.5.2-alpha.8",
            "8.6.20",
            "9.5.2-alpha.7",
            "8.6.19",
            "9.5.2-alpha.6",
            "8.6.18",
            "9.5.2-alpha.5",
            "8.6.17",
            "9.5.2-alpha.4",
            "8.6.16",
            "9.5.2-alpha.3",
            "8.6.15",
            "9.5.2-alpha.2",
            "9.5.2-alpha.1",
            "8.6.14",
            "8.6.13",
            "9.5.0",
            "8.6.12",
            "8.6.11",
            "9.4.1",
            "8.6.10",
            "8.6.9",
            "8.6.8",
            "8.6.7",
            "8.6.6",
            "8.6.5",
            "8.6.4",
            "9.4.0",
            "8.6.3",
            "9.3.1",
            "9.3.0",
            "8.6.2",
            "9.2.0",
            "9.1.1",
            "9.1.0",
            "8.6.1",
            "9.0.0",
            "8.6.0",
            "8.5.0",
            "8.4.0",
            "8.3.0",
            "8.2.5",
            "8.2.4",
            "8.2.3",
            "8.2.2",
            "8.2.1",
            "8.2.0",
            "8.1.0",
            "8.0.2",
            "8.0.1",
            "8.0.0",
            "7.4.0",
            "7.3.0",
            "7.2.0",
            "7.1.0",
            "7.0.0",
            "6.4.0",
            "6.3.1",
            "6.3.0",
            "6.2.2",
            "6.2.1",
            "6.2.0",
            "6.1.0",
            "6.0.0",
            "5.4.0",
            "5.3.3",
            "5.3.2",
            "5.3.1",
            "5.3.0",
            "5.2.8",
            "5.2.7",
            "5.2.6",
            "5.2.5",
            "5.2.4",
            "5.2.3",
            "5.2.2",
            "5.2.1",
            "5.2.0",
            "5.1.1",
            "5.1.0",
            "5.0.0",
            "5.0.0-alpha.1",
            "4.5.0",
            "4.4.0",
            "4.3.0",
            "4.2.0",
            "4.1.0",
            "4.0.2",
            "4.0.1",
            "4.0.0",
            "3.10.0",
            "3.9.0",
            "3.8.0",
            "3.7.2",
            "3.7.1",
            "3.7.0",
            "3.6.0",
            "3.5.0",
            "3.4.0",
            "3.4.1",
            "3.3.0",
            "3.2.3",
            "3.2.2",
            "3.2.1",
            "3.2.0",
            "3.1.3",
            "3.1.2",
            "3.1.1",
            "3.1.0",
            "3.0.0",
            "2.8.2",
            "2.8.0",
            "2.7.4",
            "2.7.3",
            "2.7.2",
            "2.7.1",
            "2.7.0",
            "2.6.5",
            "2.6.4",
            "2.6.3",
            "2.6.2",
            "2.6.1",
            "2.6.0",
            "2.5.3",
            "2.5.2",
            "2.5.1",
            "2.5.0",
            "2.4.2",
            "2.4.1",
            "2.4.0",
            "2.3.8",
            "2.3.7",
            "2.3.6",
            "2.3.5",
            "2.3.4",
            "2.3.3",
            "2.3.2",
            "2.3.1",
            "2.2.25",
            "2.2.25-beta.1",
            "2.2.24",
            "2.2.23",
            "2.2.22",
            "2.2.21",
            "2.2.20",
            "2.2.19",
            "2.2.18",
            "2.2.17",
            "2.2.16",
            "2.2.15",
            "2.2.14",
            "2.2.13",
            "2.2.12",
            "2.2.11",
            "2.2.10",
            "2.2.9",
            "2.2.8",
            "2.2.7",
            "2.2.6",
            "2.2.5",
            "2.2.4",
            "2.2.3",
            "2.2.2",
            "2.2.1",
            "2.2.0",
            "2.1.6",
            "2.1.5",
            "2.1.4",
            "2.1.3",
            "2.1.2",
            "2.1.1",
            "2.1.0",
            "2.0.8",
            "2.0.7",
            "2.0.3",
            "2.0.6",
            "2.0.5",
            "2.0.4",
            "2.0.2",
            "2.0.1",
            "2.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31875.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.127556176Z",
      "provider": "osv",
      "references": [
        "https://github.com/parse-community/parse-server/releases/tag/8.6.33",
        "https://github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.7",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31875.json",
        "https://github.com/parse-community/parse-server/security/advisories/GHSA-4hf6-3x24-c9m8",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-31875"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-672"
        ],
        "cna_assigner": "GitHub_M",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": ">= 9.0.0 < 9.6.0-alpha.7"
                  },
                  {
                    "last_affected": ">= 9.0.0 < 9.6.0-alpha.7"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31875.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-31875",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 488191,
  "published_at": "2026-03-11T18:04:55.7+00:00"
}