Servers and applications
CVE-2026-33141
IDOR in REST API Stats Endpoint Exposes Any User's Learning Data (2.0.0 RC)
- Severity
- Medium 6.5
- Published
- 10 Apr 2026
- Last changed
- 26 Oct 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 2.0-RC.2
- Exploit chance
- 0.1% in the next 30 daysHigher than 3% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- Authorization bypass through a user-controlled key (IDOR) (CWE-639)Missing authorization (CWE-862)
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Read data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N- Also known as
- GHSA-j2pr-2r5w-jrpj
- Sources
- NVD, Project advisories (GitHub)
Description
An Insecure Direct Object Reference (IDOR) vulnerability in the REST API stats endpoint allows any authenticated user (including low-privilege students with ROLE_USER) to read any other user's learning progress, certificates, and gradebook scores for any course, without enrollment or supervisory relationship.
The API route GET /api/users/{id}/courses/{courseId}/stats/{metric} is defined in src/CoreBundle/Entity/User.php (lines 63-104) with the security expression is_granted('ROLE_USER'), which only verifies the user is logged in — not that they own or have authority over the requested data.
The controller src/CoreBundle/Controller/Api/GetStatsAction.php (lines 30-61) loads the target user and course by ID from the URL path without any ownership or enrollment check:
Compare with properly protected operations on the same entity:
- GET /api/users/{id} uses is_granted('VIEW', object) — object-level check
- PUT /api/users/{id} uses is_granted('EDIT', object) — object-level check
Affected software
| Software | Affected versions |
|---|---|
Chamilo LMSServers and applications · cpe:a:chamilo:chamilo_lms |
All 11 release lines
|
Chamilo LMSServers and applications · github:chamilo/chamilo-lms |
|
About Chamilo LMS
Free Software Learning Management System
- 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
Vulnerabilities in Chamilo LMS
- In our list
- 196
- Published in the last 12 months
- 145
- Critical, last 12 months
- 21
- High, last 12 months
- 75
- Known exploited
- 0
- GHSA-rrjh-7f5h-8w96Stored XSS in course chat leads to account takeover (sanitizer runs before Markdown) (< 3.0.0)High 8.7 17 Nov 2026
- GHSA-4j89-qjx2-3wcrUnauthenticated arbitrary resource file deletion via `delete_variant` endpoint (< 3.0.0)Critical 9.1 17 Nov 2026
- GHSA-2prx-vqcv-mv68Authenticated arbitrary resource file read via mismatched `resourceFileId` (< 3.0.0)Medium 6.5 17 Nov 2026
- GHSA-r6vc-jgrj-jqp6IDOR in certificates (< 1.11.42)Medium 4.3 17 Nov 2026
- GHSA-jf75-vp35-w4mgMessageAttachment API item GET is gated on ROLE_USER only, with no message-ownership voter (< 3.0.0)Medium 4.3 17 Nov 2026
- GHSA-j7rr-2665-j2w3Missing Authorization in StudentPublicationController allows any authenticated user (incl. students) to read all submissions, exfiltrate submitted files, and tamper with corrections (< 3.0.0)High 8.3 17 Nov 2026
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2026-33141
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-33141
- GitHub Advisory Database https://github.com/advisories/GHSA-j2pr-2r5w-jrpj
- github.com https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-j2pr-2r5w-jrpj