cve.bz

CVE-2026-54050

6.5 mediumEPSS 0.3%

Medium (6.5). EPSS 0.3% chance of exploitation in the next 30 days. Fixed in org.sakaiproject.profile2:profile2-api 23.5.

Sakai is a Collaboration and Learning Environment (CLE). From 23.0 until 23.5 and 25.3, the DELETE /api/users/{userId}/profile/image endpoint allows an authenticated user to delete another user's profile image because ProfileController.removeProfileImage() passes the attacker-controlled userId to ProfileServiceImpl.removeProfileImage() without verifying ownership, and profileImageUploadedRepository.deleteById(userId) removes the selected row. The related DELETE /api/users/{userId}/profile/pronunciation endpoint also omits session validation and ownership checks before ProfileServiceImpl.removePronunciationRecording() deletes the target user's recording. The upload path is not affected because it already verifies ownership, and superusers remain intentionally authorized to modify other profiles. Successful exploitation can repeatedly remove profile identity artifacts, including administrator and instructor images, and disrupt workflows that rely on those artifacts. This issue is fixed in versions 23.5, 25.3, and 26.0.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS
0.3% chance of exploitation in the next 30 days; higher than 24% of CVEs (scores of 2026-10-31)
CWE
CWE-639
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9284-fjc3-fmmjMavenorg.sakaiproject.profile2:profile2-api>=23.0 <23.523.5
GHSA-9284-fjc3-fmmjMavenorg.sakaiproject.profile2:profile2-api>=25.0 <=25.2no fix published
GHSA-9284-fjc3-fmmjMavenorg.sakaiproject.profile2:profile2-impl>=23.0 <23.523.5
GHSA-9284-fjc3-fmmjMavenorg.sakaiproject.profile2:profile2-impl>=25.0 <=25.2no fix published

References

Check your stackJSON