Incorrect authorization in Chamilo LMS - CVE-2026-40291
Published: April 24, 2026
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.