Incorrect authorization in Chamilo LMS - CVE-2026-40291

 

Incorrect authorization in Chamilo LMS - CVE-2026-40291

Published: April 24, 2026


Vulnerability identifier: #VU127558
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-40291
CWE-ID: CWE-863
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Chamilo
Affected software:
Chamilo LMS

Detailed vulnerability description

The vulnerability allows a remote user to escalate privileges.

The vulnerability exists due to incorrect authorization in the PUT operation of the API Platform User entity when handling PUT requests to /api/users/{id}. A remote user can modify their own roles field to escalate privileges.

The issue affects the writable roles field because the security expression only verifies record ownership.


How to mitigate CVE-2026-40291

Install security update from vendor's website.

Sources