RCE in Chamilo Chamilo-Lms
CVE-2026-35196
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.018, 78.7th percentile (scored ); down from 0.026 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.026 · newest: 0.018 · change: -0.008
Affected products
- Chamilo Chamilo-Lms — versions < 2.0.0-RC.3
- Chamilo Lms — versions 2.0.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- kx00007/CVE-2026-35196 (last pushed 2026-05-25): Second CVE still Remote Code Execution
References
- https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-crc6-r6c7-44q3 (Exploit, Vendor Advisory)
- https://github.com/chamilo/chamilo-lms/commit/62671e5e268f235cddfba704edee90f35c234df1 (Patch)
- https://github.com/chamilo/chamilo-lms/releases/tag/v2.0.0-RC.3 (Product, Release Notes)
This CVE has public exploit evidence. See the latest CVEs with public exploits.