Chamilo LMS has OS Command Injection via export_all_certificates action

Summary

CVECVE-2026-35196
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-04-14 22:16:31 UTC
Updated2026-04-22 18:37:44 UTC
DescriptionChamilo 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.

Risk And Classification

Primary CVSS: v3.1 8.8 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS: 0.001580000 probability, percentile 0.366150000 (date 2026-04-22)

Problem Types: CWE-78 | CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary8.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1CNADECLARED8.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Chamilo Chamilo Lms 2.0.0 alpha1 All All
Application Chamilo Chamilo Lms 2.0.0 alpha2 All All
Application Chamilo Chamilo Lms 2.0.0 alpha3 All All
Application Chamilo Chamilo Lms 2.0.0 alpha4 All All
Application Chamilo Chamilo Lms 2.0.0 alpha5 All All
Application Chamilo Chamilo Lms 2.0.0 beta1 All All
Application Chamilo Chamilo Lms 2.0.0 beta2 All All
Application Chamilo Chamilo Lms 2.0.0 beta3 All All
Application Chamilo Chamilo Lms 2.0.0 rc1 All All
Application Chamilo Chamilo Lms 2.0.0 rc2 All All
Application Chamilo Chamilo Lms All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Chamilo Chamilo-lms affected < 2.0.0-RC.3 Not specified

References

ReferenceSourceLinkTags
github.com/chamilo/chamilo-lms/security/advisories/GHSA-crc6-r6c7-44q3 [email protected] github.com Exploit, Vendor Advisory
github.com/chamilo/chamilo-lms/releases/tag/v2.0.0-RC.3 [email protected] github.com Product, Release Notes
github.com/chamilo/chamilo-lms/commit/62671e5e268f235cddfba704edee90f35c... [email protected] github.com Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report