CVE-2026-34602: Chamilo LMS: IDOR in /api/course_rel_users Allows Unauthorized Enrollment of Arbitrary Users into Courses
Chamilo LMS is an open-source learning management system. In versions prior to 2.0.0-RC.3, the /api/courserelusers endpoint is vulnerable to Insecure Direct Object Reference (IDOR), allowing an authenticated attacker to modify the user parameter in the request body to enroll any arbitrary user into any course without proper authorization checks. The backend trusts the user-supplied input for the user field and performs no server-side verification that the requester owns the referenced user ID or has permission to act on behalf of other users. This enables unauthorized manipulation of user-course relationships, potentially granting unintended access to course materials, bypassing enrollment controls, and compromising platform integrity. This issue has been fixed in version 2.0.0-RC.3.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Chamilo LMSto a version that resolves this vulnerability.Fixed in 2.0.0-RC.3
Event History
Frequently Asked Questions
What is the severity of CVE-2026-34602?
The severity of CVE-2026-34602 is classified as a medium risk due to its potential for unauthorized user enrollment.
How do I fix CVE-2026-34602?
To fix CVE-2026-34602, upgrade Chamilo LMS to version 2.0.0-RC.3 or later.
What systems are affected by CVE-2026-34602?
CVE-2026-34602 affects Chamilo LMS versions prior to 2.0.0-RC.3.
What type of vulnerability is CVE-2026-34602?
CVE-2026-34602 is an Insecure Direct Object Reference (IDOR) vulnerability.
What can attackers do with CVE-2026-34602?
Attackers can exploit CVE-2026-34602 to enroll arbitrary users into courses without authorization.