Skip to content

CVE-2026-54050 Sakai: IDOR in Profile Image Deletion Allows Any Authenticated User to Delete Any User's Profile Image

MediumCVSS 6.5 EPSS 0.31%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
org.sakaiproject.profile2/profile2-api(Maven) = 23.0; = 23.1; = 23.2; = 23.3 +5 more 23.5 Fixed
org.sakaiproject.profile2/profile2-impl(Maven) >= 23.0, < 23.5; >= 25.0, <= 25.2 23.5 Fixed
sakaiproject sakai = >= 23.0, < 23.5; = >= 25.0, <= 25.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
sakaiproject sakai = >= 23.0, < 23.5 No fix listed
sakaiproject sakai = >= 25.0, <= 25.2 No fix listed
org.sakaiproject.profile2/profile2-api(Maven) >= 23.0, < 23.5 23.5
org.sakaiproject.profile2/profile2-api(Maven) = 23.0 No fix listed
org.sakaiproject.profile2/profile2-api(Maven) = 23.1 No fix listed
org.sakaiproject.profile2/profile2-api(Maven) = 23.2 No fix listed
org.sakaiproject.profile2/profile2-api(Maven) = 23.3 No fix listed
org.sakaiproject.profile2/profile2-api(Maven) >= 25.0, <= 25.2 No fix listed
org.sakaiproject.profile2/profile2-api(Maven) = 25.0 No fix listed
org.sakaiproject.profile2/profile2-api(Maven) = 25.1 No fix listed
org.sakaiproject.profile2/profile2-api(Maven) = 25.2 No fix listed
org.sakaiproject.profile2/profile2-impl(Maven) >= 23.0, < 23.5 23.5
org.sakaiproject.profile2/profile2-impl(Maven) >= 25.0, <= 25.2 No fix listed

References