← Back

CVE-2026-40291

nvd nist
Published: Apr 14, 2026Modified: Jul 24, 2026

JSON object

Loading...
8.8
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Exploitability: 2.8 / Impact: 5.9
Source: security-advisories@github.com (Secondary)

Description

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.

Affected (11)

Products: Chamilo: Chamilo Lms
1 product
Chamilo Lms
Configuration A
11 vulnerable
Vulnerable SoftwareAffected Versions
Chamilo
Up to 1.11.38
Version 2.0.0 alpha1
Version 2.0.0 alpha2
Version 2.0.0 alpha3
Version 2.0.0 alpha4
Version 2.0.0 alpha5
Version 2.0.0 beta1
Version 2.0.0 beta2
Version 2.0.0 beta3
Version 2.0.0 rc1
Version 2.0.0 rc2

References (2)

Source: security-advisories@github.com
ProductRelease Notes
Source: security-advisories@github.com
Vendor Advisory

Timeline

No history available yet.