---
id: CVE-2025-62710
title: Sakai is a Collaboration and Learning Environment
summary: >-
  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.
  jav…
severity: medium
cvss: 5.9
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-337
vendor: sakailms
product: sakai
affected:
  - sakai < 23.5
patched:
  - sakai 23.5
published: '2025-10-22'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T11:10:00.250'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-62710'
references:
  - url: >-
      https://github.com/sakaiproject/sakai/commit/bde070104b1de01f4a6458dca6d9e0880a0e3c04
    label: security-advisories@github.com
  - url: >-
      https://github.com/sakaiproject/sakai/security/advisories/GHSA-gr7h-xw4f-wh86
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.002
epssPercentile: 0.08967
ingestedAt: '2026-10-08T11:31:27.553Z'
---

## Overview

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.

## Affected

- `sakai < 23.5`

## Remediation

Upgrade past the affected range:

- `sakai 23.5`
