Chamilo chamilo-lms
Chamilo LMS has OS Command Injection via export_all_certificates action
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.0.0-RC.3
Fixed in 2.0.0-RC.3
Mitigation
Upgrade chamilo-lms to 2.0.0-RC.3 or later.
References
- Vendor advisory github.com/chamilo/chamilo-lms/security/adviso…
- Patch github.com/chamilo/chamilo-lms/commit/62671e5e…
- Release notes github.com/chamilo/chamilo-lms/releases/tag/v2…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 informational
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| kx00007/CVE-2026-35196 | 2 Apr 2026 −13 d | 0 | Informational · write-up |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.