OS Command Injection in Chamilo LMS - CVE-2026-35196
Published: April 24, 2026
Chamilo LMS
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary commands on the underlying server.
The vulnerability exists due to improper neutralization of special elements used in an os command in main/inc/ajax/gradebook.ajax.php export_all_certificates action when processing session-derived course code data in a shell_exec command. A remote user can manipulate poisoned session data to inject shell metacharacters and execute arbitrary commands on the underlying server.
Exploitation requires a poisoned session in which the $_SESSION['_cid'] value can be manipulated.