Description
EspoCRM through 10.0.8 uses PHP's rand() function to generate tokens for lead-capture opt-in, event invitation, and campaign URLs instead of a cryptographically secure generator. Remote unauthenticated attackers can guess these roughly 31-bit tokens to confirm opt-ins, accept or decline event invitations on behalf of other contacts, and access event details.
Severity (CVSS)
| Base score | 6.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-338 — Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
Affected products
| Vendor | Product | Versions |
|---|---|---|
| EspoCRM | EspoCRM | 0 to <=10.0.8 |
References
- https://gist.github.com/kazisabu/9e3109aab24245fde19b88f53f965e93 (technical-description)
- https://github.com/espocrm/espocrm/commit/8e5555c1ee0ed1e92a9ad54e62f735ac2c4051a1 (patch)
- https://github.com/espocrm/espocrm/blob/10.0.8/application/Espo/Core/Utils/Util.php#L585-L590 (technical-description)
- https://github.com/espocrm/espocrm/blob/10.0.8/application/Espo/Repositories/UniqueId.php#L47 (technical-description)
- https://github.com/espocrm/espocrm (product)
- https://www.vulncheck.com/advisories/espocrm-through-10.0.8-weak-token-generation-via-rand (third-party-advisory)
Generated from the official CVE List on 16 Sep 2026 07:01 UTC.