CVE-2026-93868
Cotonti through 1.0.0 Predictable Password Recovery Token via Weak PRNG
- State
- Published
- Severity
- 9.2 Critical
- Published
- Sep 18, 2026
- Updated
- Sep 24, 2026
- Reserved
- Sep 18, 2026
Description
Cotonti through 1.0.0 derives password recovery validation tokens from md5(microtime()) in users.passrecover.php, creating a predictable token space of approximately one million values per second. Unauthenticated attackers can read the server Date header, precompute candidate tokens within a narrow time window, and probe them against the passrecover authentication endpoint to reset any account password including administrators.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 9.2 Critical | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 8.1 High | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
Affected Products
| Product | Versions |
|---|---|
CotontiCotonti |
|
References
- https://github.com/Cotonti/Cotonti/issues/1890issue-tracking
- https://github.com/Cotonti/Cotonti/pull/1898patchissue-tracking
- https://github.com/Cotonti/Cotonti/blob/1.0.0/modules/users/inc/users.passrecover.phptechnical-description
- https://github.com/Cotonti/Cotontiproduct
- VulnCheck Advisory: Cotonti through 1.0.0 Predictable Password Recovery Token via Weak PRNGthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.