Vulnerability in org.sakaiproject.profile2:profile2-api
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-54050 has been found in org.sakaiproject.profile2:profile2-api.
Attackers can target a specific entry point like DELETE /api/users/{userId}/profile/image over the network to misuse the product.
Data can be tampered with by attackers. CVSS score: 6.5/10.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "org.sakaiproject.profile2:profile2-api CVE-2026-54050" on the vendor's site.
CVE-2026-54050 (org.sakaiproject.profile2:profile2-api) — CWE-639 / CVSS v3 6.5
Attack vector: remote (network-reachable) / no user interaction
Attack surface: DELETE /api/users/{userId}/profile/image / DELETE /api/users/{userId}/profile/pronunciation / POST /api/users/admin/profile/image / DELETE /api/users/admin/profile/image
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-639) exists in org.sakaiproject.profile2:profile2-api. Attackers reach the vulnerable code path via DELETE /api/users/{userId}/profile/image.
Check the vendor advisory for the affected versions of org.sakaiproject.profile2:profile2-api. Attack surface: DELETE /api/users/{userId}/profile/image / DELETE /api/users/{userId}/profile/pronunciation / POST /api/users/admin/profile/image / DELETE /api/users/admin/profile/image.
Severity: Medium (CVSS 6.5/10). Data can be tampered with by attackers.
Update to the patched release per vendor advisory.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual DELETE /api/users/{userId}/profile/image requests with malformed payloads or SQL meta-characters. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで org.sakaiproject.profile2:profile2-api を使っているサービスとバージョンを洗い出す。
-
2
Hunt for indicators of compromisedetect
grep 'DELETE /api/users/{userId}/profile/image' /var/log/nginx/access.log | grep -E '(unusual_payload|sqli_pattern)'アクセスログで
DELETE /api/users/{userId}/profile/imageへの異常なリクエスト (不正な認証ヘッダ・SQLメタ文字)を過去 30〜90日分捜索。WAF/SIEM があれば該当パスのアラート発火履歴を確認。 -
3
Post-deployment verificationverify
Replay attack against DELETE /api/users/{userId}/profile/image on staging to confirm patch closes the vectorパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 2 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| mavenorg.sakaiproject.profile2:profile2-api |
25.0 – 25.2→ Not listed |
Not listed |
| mavenorg.sakaiproject.profile2:profile2-impl |
25.0 – 25.2→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com
- web github.com