# CVE-2025-62710: Sakai kernel-impl: predictable PRNG used to generate server‑side encryption key in EncryptionUtilityServiceImpl

Source: https://junglewise.ai/threats/cve-2025-62710-sakai-kernel-impl-predictable-prng-used-to-generate-server-side  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-10-22  
License: CC BY 4.0 with a link back

CVE-2025-62710 · Severity: medium · CVSS 5.9 · Published 2025-10-22

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.

Technologies: [org.sakaiproject.kernel:sakai-kernel-impl (Maven)](https://junglewise.ai/threats/technologies/org-sakaiproject-kernel-sakai-kernel-impl). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2025-62710 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-62710 being exploited in the wild.

**How severe is CVE-2025-62710?** Medium severity, with a CVSS score of 5.9, published 22 October 2025.

**Which products and versions are affected?** org.sakaiproject.kernel:sakai-kernel-impl (Maven) ECOSYSTEM:introduced=0,last_affected=23.3.

**Is there a fix for CVE-2025-62710?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2025-62710?** Check whether you run org.sakaiproject.kernel:sakai-kernel-impl (Maven) or Sakailms Sakai at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- org.sakaiproject.kernel:sakai-kernel-impl (Maven) ECOSYSTEM:introduced=0,last_affected=23.3
- Sakailms Sakai

## Identifiers

- CVE-2025-62710
- GHSA-gr7h-xw4f-wh86

## Related threats

- [Sakai Conversations stored cross-site scripting in messages](https://junglewise.ai/threats/cve-2026-54049-sakai-conversations-stored-cross-site-scripting-in-messages)
- [SAK-50571 Sakai Kernel users created with type roleview can login as a normal user](https://junglewise.ai/threats/cve-2024-47876-sak-50571-sakai-kernel-users-created-with-type-roleview-can-login)
