CVE-2026-35196 Details
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.
A command injection vulnerability has been identified in Chamilo LMS versions prior to 2.0.0-RC.3. The issue resides in the gradebook AJAX endpoint, specifically within the export_all_certificates action. The vulnerability allows authenticated users to execute arbitrary commands on the server by injecting shell metacharacters into the course code variable, which is then passed to a shell_exec() command without proper sanitization. Exploitation of this vulnerability could lead to unauthorized access to system files, application data, and disruption of server availability.
Users are advised to update to Chamilo LMS version 2.0.0-RC.3 or later, and to apply the patch available in commit 62671e5.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| chamilo chamilo lms | <= 1.11.38 2.0.0 alpha1 2.0.0 alpha2 2.0.0 alpha3 2.0.0 alpha4 2.0.0 alpha5 2.0.0 beta1 2.0.0 beta2 2.0.0 beta3 2.0.0 rc1 2.0.0 rc2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 22, 2026 | Initial Analysis | [email protected] |
| Apr 14, 2026 | New CVE Received | [email protected] |