All vulnerabilities

Servers and applications

CVE-2026-34602

IDOR in /api/course_rel_users Allows Unauthorized Enrollment of Arbitrary Users into Courses (<=2.0-RC.2)

Severity
High 7.1
Published
14 Apr 2026
Last changed
24 Jul 2026
Added to UpHeron
1 Nov 2026
Exploit chance
0.2% in the next 30 daysHigher than 11% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Authorization bypass through a user-controlled key (IDOR) (CWE-639)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
Also known as
GHSA-x373-8j9j-g5pj
Sources
NVD, Project advisories (GitHub)

Description

The /api/course_rel_users endpoint is vulnerable to Insecure Direct Object Reference (IDOR) / Broken Object Level Authorization (BOLA). An authenticated attacker can modify the user parameter in the request body to enroll any arbitrary user into any course without proper authorization checks.

This results in unauthorized manipulation of user-course relationships and may lead to privilege escalation, data exposure, and integrity compromise, making it a high severity issue.

The application exposes an API endpoint: POST /api/course_rel_users

This endpoint accepts a JSON payload containing a user field:

  • The backend trusts user-supplied input for the user field.
  • There is no server-side authorization check to verify that:
  • The requester owns the referenced user_id, or
  • The requester has permission to act on behalf of other users.

As a result, attackers can:

  • Replace the user ID with another user's ID
  • Perform actions (course enrollment) on behalf of that user
From chamilo/chamilo-lms's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Chamilo LMSServers and applications · cpe:a:chamilo:chamilo_lms
  • Version 2.0.0-rc2
  • Version 2.0.0-rc1
  • Version 2.0.0-beta3
  • Version 2.0.0-beta2
All 11 release lines
  • Every version 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
Chamilo LMSServers and applications · github:chamilo/chamilo-lms
  • Version 2.0-RC.2

About Chamilo LMS

Free Software Learning Management System

From Wikidata, CC0 1.0.
Share of websites with a known CMS
0.6%W3Techs, Nov 2026
GitHub stars
1,024GitHub, 15 Nov 2026
Forks
567GitHub, 15 Nov 2026
Latest release
v3.0.2GitHub, 15 Nov 2026
Released
3 Nov 2026GitHub
License
GPL-3.0GitHub
Written in
PHP, JavaScriptWikidata
First released
18 Jan 2010Wikidata
First published on GitHub
29 Mar 2013GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-34602
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-34602
  • GitHub Advisory Database https://github.com/advisories/GHSA-x373-8j9j-g5pj
  • github.com https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-x373-8j9j-g5pj