OS Command Injection in Chamilo LMS - CVE-2026-35196

 

OS Command Injection in Chamilo LMS - CVE-2026-35196

Published: April 24, 2026


Vulnerability identifier: #VU127568
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-35196
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Chamilo
Affected software:
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.


How to mitigate CVE-2026-35196

Install security update from vendor's website.

Sources