CVE-2025-62710 Sakai kernel-impl: predictable PRNG used to generate server‑side encryption key in EncryptionUtilityServiceImpl
Attackers can predict server encryption keys due to weak PRNG usage, allowing decryption of protected data in Sakai LMS.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-62710?
CVE-2025-62710 is a medium-severity vulnerability in sakaiproject sakai, published on 22 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Sakai is a Collaboration and Learning Environment. Prior to versions 23.5 and 25.0, EncryptionUtilityServiceImpl initialized an AES256TextEncryptor password (serverSecretKey) using RandomStringUtils with the default java.util.Random. java.util.Random is a non‑cryptographic PRNG and can be predicted from limited state/seed information (e.g., start time window), substantially reducing the effective search space of the generated key. An attacker who can obtain ciphertexts (e.g., exported or at‑rest strings protected by this service) and approximate the PRNG seed can feasibly reconstruct the serverSecretKey and decrypt affected data. SAK-49866 is patched in Sakai 23.5, 25.0, and trunk.
Weakness: CWE-337
Which versions are affected by CVE-2025-62710?
2 open source packages ship an affected version, including org.sakaiproject.kernel:sakai-kernel-impl. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.sakaiproject.kernel:sakai-kernel-impl Maven | All versions to 23.3 | None |
org.sakaiproject.kernel:sakai-kernel-impl Maven | All versions to 23.3 | None |
Products include Sakailms Sakai.
How do I fix CVE-2025-62710?
No fix has been published for CVE-2025-62710 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-62710 being exploited?
There is no known exploitation of CVE-2025-62710 in the wild and no public exploit code.
Other vulnerabilities in sakaiproject sakai
Sources
Also known as GHSA-gr7h-xw4f-wh86.