Vulnerability · Published Sep 15, 2026 · Assigned by GitHub_M

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

Medium 6.5

In plain English

A medium-severity authorization bypass via user-controlled key in sakai from sakaiproject. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.3%top 75.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.sakaiproject.profile2:profile2-api23.5GHSA-9284-fjc3-fmmj
Mavenorg.sakaiproject.profile2:profile2-apino fix listedGHSA-9284-fjc3-fmmj
Mavenorg.sakaiproject.profile2:profile2-impl23.5GHSA-9284-fjc3-fmmj
Mavenorg.sakaiproject.profile2:profile2-implno fix listedGHSA-9284-fjc3-fmmj

Affected products (as reported)

VendorProductVersions
sakaiproject sakai >= 23.0, < 23.5>= 25.0, <= 25.2

Weakness: CWE-639 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

References