Chamilo LMS has OS Command Injection via export_all_certificates action
Summary
| CVE | CVE-2026-35196 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-04-14 22:16:31 UTC |
| Updated | 2026-04-22 18:37:44 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 8.8 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.001580000 probability, percentile 0.366150000 (date 2026-04-22)
Problem Types: CWE-78 | CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Chamilo | Chamilo Lms | 2.0.0 | alpha1 | All | All |
| Application | Chamilo | Chamilo Lms | 2.0.0 | alpha2 | All | All |
| Application | Chamilo | Chamilo Lms | 2.0.0 | alpha3 | All | All |
| Application | Chamilo | Chamilo Lms | 2.0.0 | alpha4 | All | All |
| Application | Chamilo | Chamilo Lms | 2.0.0 | alpha5 | All | All |
| Application | Chamilo | Chamilo Lms | 2.0.0 | beta1 | All | All |
| Application | Chamilo | Chamilo Lms | 2.0.0 | beta2 | All | All |
| Application | Chamilo | Chamilo Lms | 2.0.0 | beta3 | All | All |
| Application | Chamilo | Chamilo Lms | 2.0.0 | rc1 | All | All |
| Application | Chamilo | Chamilo Lms | 2.0.0 | rc2 | All | All |
| Application | Chamilo | Chamilo Lms | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Chamilo | Chamilo-lms | affected < 2.0.0-RC.3 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/chamilo/chamilo-lms/security/advisories/GHSA-crc6-r6c7-44q3 | [email protected] | github.com | Exploit, Vendor Advisory |
| github.com/chamilo/chamilo-lms/releases/tag/v2.0.0-RC.3 | [email protected] | github.com | Product, Release Notes |
| github.com/chamilo/chamilo-lms/commit/62671e5e268f235cddfba704edee90f35c... | [email protected] | github.com | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.