CVE-2026-40291
highpriority · track · 0OT risk · elevatedEPSS 0.003 · 24 %ileEUUSEPSS · scored 2026-10-27
Chamilo LMS is an open-source learning management system. In versions prior to 2.0.0-RC.3, an insecure direct object modification vulnerability in the PUT /api/users/{id} endpoint allows any authenticated user with ROLE_STUDENT to escalate their privileges to ROLE_ADMIN by modifying the roles field on their own user record. The API Platform security expression is_granted('EDIT', object) only verifies record ownership, and the roles field is included in the writable serialization group, enabling any user to set arbitrary roles such as ROLE_ADMIN. Successful exploitation grants full administrative control of the platform, including access to all courses, user data, grades, and administrative settings. This issue has been fixed in version 2.0.0-RC.3.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/chamilo/chamilo-lms/releasesPatchcnnvd
- https://github.com/chamilo/chamilo-lms/releases/tag/v2.0.0-RC.3cnnvd
- https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-7phx-w897-4c9xcnnvd
- https://github.com/chamilo/chamilo-lms/releases/tag/v2.0.0-RC.3enisa_euvd
- https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-7phx-w897-4c9xenisa_euvd
- https://github.com/chamilo/chamilo-lms/releases/tag/v2.0.0-RC.3ProductRelease Notesnvd
- https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-7phx-w897-4c9xVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan