{"id":"CVE-2026-35196","aliases":["CVE-2026-35196"],"related":[],"kind":"vulnerability","state":"published","title":"Chamilo LMS has OS Command Injection via export_all_certificates action","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Chamilo LMS es un sistema de gestión del aprendizaje de código abierto. En versiones anteriores a la 2.0.0-RC.3, existe una vulnerabilidad de inyección de comandos del sistema operativo en el endpoint main/inc/ajax/gradebook.ajax.php dentro de la acción export_all_certificates, donde el código del curso recuperado de la variable de sesión $_SESSION['_cid'] a través de api_get_course_id() se concatena directamente en una cadena de comandos shell_exec() sin saneamiento o escape utilizando escapeshellarg(). Si un atacante puede manipular o envenenar sus datos de sesión para inyectar metacaracteres de shell en la variable _cid, pueden lograr la ejecución arbitraria de comandos en el servidor subyacente. La explotación exitosa otorga acceso completo para leer archivos del sistema y credenciales, altera la aplicación y la base de datos, o interrumpe la disponibilidad del servidor. Este problema ha sido solucionado en la versión 2.0.0-RC.3.","source":"nvd"}],"published":"2026-04-14T21:33:13.518Z","modified":"2026-07-24T21:10:00.143Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"< 2.0.0-RC.3","status":"affected"}],"vendor":"chamilo","product":"chamilo-lms","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"1.11.38"},{"status":"affected","version":"2.0.0"},{"status":"affected","version":"2.0.0"},{"status":"affected","version":"2.0.0"},{"status":"affected","version":"2.0.0"},{"status":"affected","version":"2.0.0"},{"status":"affected","version":"2.0.0"},{"status":"affected","version":"2.0.0"},{"status":"affected","version":"2.0.0"},{"status":"affected","version":"2.0.0"},{"status":"affected","version":"2.0.0"}],"vendor":"chamilo","product":"chamilo_lms","cpe":"cpe:2.3:a:chamilo:chamilo_lms:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-crc6-r6c7-44q3","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/chamilo/chamilo-lms/commit/62671e5e268f235cddfba704edee90f35c234df1","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/chamilo/chamilo-lms/releases/tag/v2.0.0-RC.3","tags":["product","release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-04-15T14:27:21.595Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-35196","url":"https://www.cve.org/CVERecord?id=CVE-2026-35196","licence":"CVE Terms of Use","modified":"2026-04-15T14:27:29.401Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-35196","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35196","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"}],"updatedAt":"2026-11-25T22:59:18.798Z","epss":{"score":0.01494,"percentile":0.74918,"date":"2026-12-01T12:00:22.000Z"}}