Cyber Resilience

CVE-2026-35196

HighPublic PoCRCE

Published: 14 April 2026

Published
14 April 2026
Modified
22 April 2026
KEV Added
Patch
CVSS Score v3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0176 75.1th percentile
Risk Priority 55 floored blend · peak EPSS

Summary

CVE-2026-35196 is a high-severity OS Command Injection (CWE-78) vulnerability in Chamilo Chamilo Lms. Its CVSS base score is 8.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 24.9% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).

Deeper analysis

CVE-2026-35196 is an OS Command Injection vulnerability (CWE-78) affecting Chamilo LMS, an open-source learning management system, in versions prior to 2.0.0-RC.3. The issue resides in the main/inc/ajax/gradebook.ajax.php endpoint, specifically within the export_all_certificates action. There, the course code retrieved from the session variable $_SESSION['_cid'] via api_get_course_id() is directly concatenated into a shell_exec() command string without sanitization or escaping using escapeshellarg(), enabling injection of shell metacharacters. The vulnerability carries a CVSS v3.1 base score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

An authenticated attacker with low privileges (PR:L) can exploit this by manipulating or poisoning their session data to inject malicious content into the _cid variable. Upon triggering the export_all_certificates action, this leads to arbitrary command execution on the underlying server. Successful exploitation allows the attacker to read system files and credentials, alter the application and database, or disrupt server availability.

The vulnerability has been addressed in Chamilo LMS version 2.0.0-RC.3, as detailed in the project's security advisory (GHSA-crc6-r6c7-44q3), release notes, and the fixing commit. Security practitioners should urge users to upgrade to 2.0.0-RC.3 or later to mitigate the issue.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability details

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1059.004 Unix Shell Execution
Adversaries may abuse Unix shell commands and scripts for execution.
Why these techniques?

CVE-2026-35196 is an OS command injection vulnerability in a public-facing web application (Chamilo LMS), enabling authenticated low-privilege attackers to achieve arbitrary Unix shell command execution via unsanitized session data in shell_exec().

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2025-50195Same product: Chamilo Chamilo Lms
CVE-2026-32892Same product: Chamilo Chamilo Lms
CVE-2025-50197Same product: Chamilo Chamilo Lms
CVE-2025-50193Same product: Chamilo Chamilo Lms
CVE-2025-50196Same product: Chamilo Chamilo Lms
CVE-2025-50194Same product: Chamilo Chamilo Lms
CVE-2025-50187Same product: Chamilo Chamilo Lms
CVE-2025-50192Same product: Chamilo Chamilo Lms
CVE-2024-47886Same product: Chamilo Chamilo Lms
CVE-2025-50188Same product: Chamilo Chamilo Lms

Affected Assets

chamilo
chamilo lms
2.0.0 · ≤ 1.11.38

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

SI-10 requires input validation mechanisms that would sanitize or validate the session-derived course code before concatenation into shell_exec(), directly preventing OS command injection.

prevent

SI-2 mandates timely flaw remediation, including applying the patch in Chamilo LMS 2.0.0-RC.3 that fixes the unsanitized shell_exec() usage.

detect

SI-4 enables system monitoring to detect anomalous command executions or indicators of OS command injection from the gradebook.ajax.php endpoint.

References