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

Published Apr 14, 2026
·
Updated

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 exportallcertificates action, where the course code retrieved from the session variable $SESSION['cid'] via apigetcourseid() is concatenated directly into a shellexec() 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 Software

12 affected components
Chamilo Chamilo LMS<2.0.0-RC.3
Chamilo Chamilo LMS<=1.11.38
Chamilo Chamilo LMS=2.0.0-alpha1
Chamilo Chamilo LMS=2.0.0-alpha2
Chamilo Chamilo LMS=2.0.0-alpha3
Chamilo Chamilo LMS=2.0.0-alpha4
Chamilo Chamilo LMS=2.0.0-alpha5
Chamilo Chamilo LMS=2.0.0-beta1
Chamilo Chamilo LMS=2.0.0-beta2
Chamilo Chamilo LMS=2.0.0-beta3
Chamilo Chamilo LMS=2.0.0-rc1
Chamilo Chamilo LMS=2.0.0-rc2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Chamilo LMS to a version that resolves this vulnerability.

    Fixed in 2.0.0-RC.3

Event History

Apr 14, 2026
CVE Published
via MITRE·09:33 PM
Data Sourced
via MITRE·09:33 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-35196?

CVE-2026-35196 is classified as a critical severity vulnerability due to its potential for OS Command Injection.

2

How do I fix CVE-2026-35196?

To fix CVE-2026-35196, update Chamilo LMS to version 2.0.0-RC.3 or later.

3

Which versions of Chamilo LMS are affected by CVE-2026-35196?

CVE-2026-35196 affects all versions of Chamilo LMS prior to 2.0.0-RC.3.

4

What type of vulnerability is CVE-2026-35196?

CVE-2026-35196 is an OS Command Injection vulnerability.

5

Where in the Chamilo LMS is CVE-2026-35196 found?

CVE-2026-35196 is found in the main/inc/ajax/gradebook.ajax.php endpoint within the export_all_certificates action.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203