Skip to content

CVE-2026-35196 Chamilo LMS has OS Command Injection via export_all_certificates action

HighCVSS 8.8 EPSS 1.8%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
PHP

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
chamilo lms <= 1.11.38; = 2.0.0-alpha1; = 2.0.0-alpha2; = 2.0.0-alpha3 +7 more after 1.11.38 Fixed
chamilo/chamilo-lms = < 2.0.0-RC.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
chamilo/chamilo-lms = < 2.0.0-RC.3 No fix listed
chamilo lms <= 1.11.38 No fix listed
chamilo lms = 2.0.0-alpha1 No fix listed
chamilo lms = 2.0.0-alpha2 No fix listed
chamilo lms = 2.0.0-alpha3 No fix listed
chamilo lms = 2.0.0-alpha4 No fix listed
chamilo lms = 2.0.0-alpha5 No fix listed
chamilo lms = 2.0.0-beta1 No fix listed
chamilo lms = 2.0.0-beta2 No fix listed
chamilo lms = 2.0.0-beta3 No fix listed
chamilo lms = 2.0.0-rc1 No fix listed
chamilo lms = 2.0.0-rc2 No fix listed

References