CVE-2026-35196
Description
Chamilo LMS is an open-source learning management system. In versions prior to 2.0.0-RC.3, an OS Command Injection vulnerability exists in the main/inc/ajax/gradebook.ajax.php endpoint within the export_all_certificates action, where the course code retrieved from the session variable $_SESSION['_cid'] via api_get_course_id() is concatenated directly into a shell_exec() command string without sanitization or escaping using escapeshellarg(). If an attacker can manipulate or poison their session data to inject shell metacharacters into the _cid variable, they can achieve arbitrary command execution on the underlying server. Successful exploitation grants full access to read system files and credentials, alters the application and database, or disrupts server availability. This issue has been fixed in version 2.0.0-RC.3.
Affected products
11cpe:2.3:a:chamilo:chamilo_lms:*:*:*:*:*:*:*:*+ 10 more
- cpe:2.3:a:chamilo:chamilo_lms:*:*:*:*:*:*:*:*range: <=1.11.38
- cpe:2.3:a:chamilo:chamilo_lms:2.0.0:alpha1:*:*:*:*:*:*
- cpe:2.3:a:chamilo:chamilo_lms:2.0.0:alpha2:*:*:*:*:*:*
- cpe:2.3:a:chamilo:chamilo_lms:2.0.0:alpha3:*:*:*:*:*:*
- cpe:2.3:a:chamilo:chamilo_lms:2.0.0:alpha4:*:*:*:*:*:*
- cpe:2.3:a:chamilo:chamilo_lms:2.0.0:alpha5:*:*:*:*:*:*
- cpe:2.3:a:chamilo:chamilo_lms:2.0.0:beta1:*:*:*:*:*:*
- cpe:2.3:a:chamilo:chamilo_lms:2.0.0:beta2:*:*:*:*:*:*
- cpe:2.3:a:chamilo:chamilo_lms:2.0.0:beta3:*:*:*:*:*:*
- cpe:2.3:a:chamilo:chamilo_lms:2.0.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:chamilo:chamilo_lms:2.0.0:rc2:*:*:*:*:*:*
Patches
162671e5e268fVulnerability mechanics
Synthesis attempt was rejected by the grounding validator. Re-run pending.
References
3- github.com/chamilo/chamilo-lms/commit/62671e5e268f235cddfba704edee90f35c234df1nvdPatch
- github.com/chamilo/chamilo-lms/security/advisories/GHSA-crc6-r6c7-44q3nvdExploitVendor Advisory
- github.com/chamilo/chamilo-lms/releases/tag/v2.0.0-RC.3nvdProductRelease Notes
News mentions
0No linked articles in our index yet.