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

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-10-22T19:41:49.000Z
- Modified: 2026-10-08T11:10:00.250Z
- Also known as: GHSA-gr7h-xw4f-wh86
- Weaknesses: CWE-337
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- sakaiproject sakai: < 23.5; < 25.0
- org.sakaiproject.kernel:sakai-kernel-impl (Maven): up to 23.3
- sakailms sakai: before 23.5

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/sakaiproject/sakai/security/advisories/GHSA-gr7h-xw4f-wh86> (patch, vendor-advisory, web)
- <https://github.com/sakaiproject/sakai/commit/bde070104b1de01f4a6458dca6d9e0880a0e3c04> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-62710> (advisory)
- <https://github.com/sakaiproject/sakai> (package)

## Sources

- CVE List: [CVE-2025-62710](https://www.cve.org/CVERecord?id=CVE-2025-62710), CVE Terms of Use, modified 2025-10-24
- GitHub Advisory Database: [GHSA-gr7h-xw4f-wh86](https://github.com/advisories/GHSA-gr7h-xw4f-wh86), CC-BY-4.0, modified 2025-10-24
- NVD: [CVE-2025-62710](https://nvd.nist.gov/vuln/detail/CVE-2025-62710), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2025-62710 · Whole record: https://cve.day/CVE-2025-62710.json · Rebuilt by cve.day 2026-11-25T22:59:06.729Z
