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.
References6
- gist.github.com/kazisabu/9e3109aab24245fde19b88f53f965e93
- github.com/espocrm/espocrm
- github.com/espocrm/espocrm/blob/10.0.8/application/Espo/Core/Ut…
- github.com/espocrm/espocrm/blob/10.0.8/application/Espo/Reposit…
- github.com/espocrm/espocrm/commit/8e5555c1ee0ed1e92a9ad54e62f73…
- www.vulncheck.com/advisories/espocrm-through-10.0.8-weak-token-…
Metrics
- CVSS 3.1
-
4.8
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N - CVSS 4.0
-
6.3
MEDIUM
Score source: CNA
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 0% percentile: 37 · as of 7 November 2026
- CWE
- CWE-338
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.