---
id: CVE-2026-94107
title: >-
  NivoCart through 2.4.0 contains a predictable password reset token
  vulnerability in the forgotten.php endpoint that generates recovery codes
  using substr(md5(mt_rand()), 0, 10)
summary: >-
  NivoCart through 2.4.0 contains a predictable password reset token
  vulnerability in the forgotten.php endpoint that generates recovery codes
  using substr(md5(mt_rand()), 0, 10). Attackers who know an administrator's
  email address can req…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-338
vendor: nivocart
product: nivocart
affected:
  - nivocart <= 2.4.0
published: '2026-09-20'
updated: '2026-09-22'
sourceUpdated: '2026-09-22T20:43:58.793'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-94107'
references:
  - url: 'https://github.com/nivocart/nivocart'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/nivocart/nivocart/blob/6ea6600cda1263ae70c0aab0a70d31091a32c46b/upload/admin/controller/common/forgotten.php#L20-L34
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/nivocart/nivocart/blob/6ea6600cda1263ae70c0aab0a70d31091a32c46b/upload/admin/model/user/user.php#L119-L123
    label: disclosure@vulncheck.com
  - url: 'https://github.com/nivocart/nivocart/issues/25'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/nivocart-through-2.4.0-predictable-administrator-password-reset-token
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
epss: 0.00568
epssPercentile: 0.44732
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-21T16:47:54.786105Z'
ingestedAt: '2026-09-20T11:20:23.393Z'
---

## Overview

NivoCart through 2.4.0 contains a predictable password reset token vulnerability in the forgotten.php endpoint that generates recovery codes using substr(md5(mt_rand()), 0, 10). Attackers who know an administrator's email address can request a password reset and predict the token to gain administrative account access without rate limiting or expiration.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
