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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/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.27%, higher than 20% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-24T19:40:37.000Z
- Modified: 2026-09-25T14:23:59.847Z
- Also known as: GHSA-9284-fjc3-fmmj
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- sakaiproject sakai: >= 23.0, < 23.5; >= 25.0, <= 25.2
- org.sakaiproject.profile2:profile2-api (Maven): from 23.0 before 23.5; from 25.0 up to 25.2
- org.sakaiproject.profile2:profile2-impl (Maven): from 23.0 before 23.5; from 25.0 up to 25.2

## Every score

- GitHub_M: 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`
- GitHub: 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`

## References

- <https://github.com/sakaiproject/sakai/security/advisories/GHSA-9284-fjc3-fmmj> (exploit, web)
- <https://github.com/sakaiproject/sakai/commit/a092dbf3dc6bf343131f50007c207a9abd95e852> (web)
- <https://github.com/sakaiproject/sakai> (package)
- <https://github.com/sakaiproject/sakai/releases/tag/23.5> (web)

## Sources

- CVE List: [CVE-2026-54050](https://www.cve.org/CVERecord?id=CVE-2026-54050), CVE Terms of Use, modified 2026-09-15
- GitHub Advisory Database: [GHSA-9284-fjc3-fmmj](https://github.com/advisories/GHSA-9284-fjc3-fmmj), CC-BY-4.0, modified 2026-08-24
- NVD: [CVE-2026-54050](https://nvd.nist.gov/vuln/detail/CVE-2026-54050), Public domain, modified 2026-09-25

---

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