CVE-2026-35196: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in chamilo chamilo-lms
Chamilo LMS versions prior to 2. 0. 0-RC. 3 contain an OS Command Injection vulnerability in the gradebook. ajax. php endpoint. The vulnerability arises because the course code from the session variable is directly concatenated into a shell_exec() command without proper sanitization. An attacker able to manipulate session data can inject shell metacharacters, leading to arbitrary command execution on the server. This can result in full system compromise, including reading sensitive files, altering the application or database, and disrupting server availability. The issue is fixed in version 2.
AI Analysis
Technical Summary
Chamilo LMS before version 2.0.0-RC.3 has an OS Command Injection vulnerability (CWE-78) in the main/inc/ajax/gradebook.ajax.php script within the export_all_certificates action. The vulnerability occurs because the course code obtained from the session variable $_SESSION['_cid'] via api_get_course_id() is concatenated directly into a shell_exec() call without using escapeshellarg() or other sanitization. If an attacker can manipulate their session data to inject shell metacharacters into the _cid variable, they can execute arbitrary OS commands with the privileges of the web server process. This can lead to full system compromise, including unauthorized file access, modification of application data, or denial of service. The vulnerability has been addressed and fixed in Chamilo LMS version 2.0.0-RC.3.
Potential Impact
Successful exploitation allows an attacker with the ability to manipulate session data to execute arbitrary operating system commands on the server hosting Chamilo LMS. This can lead to full compromise of the system, including reading sensitive files and credentials, modifying application and database contents, and disrupting server availability. The CVSS v3.1 score is 8.8 (High), reflecting the critical impact on confidentiality, integrity, and availability.
Mitigation Recommendations
This vulnerability is fixed in Chamilo LMS version 2.0.0-RC.3. Users should upgrade to this version or later to remediate the issue. No official patch or temporary fix is indicated beyond upgrading. Until upgraded, restricting access to trusted users and preventing session manipulation may reduce risk, but upgrading is the recommended and definitive mitigation.
CVE-2026-35196: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in chamilo chamilo-lms
Description
Chamilo LMS versions prior to 2. 0. 0-RC. 3 contain an OS Command Injection vulnerability in the gradebook. ajax. php endpoint. The vulnerability arises because the course code from the session variable is directly concatenated into a shell_exec() command without proper sanitization. An attacker able to manipulate session data can inject shell metacharacters, leading to arbitrary command execution on the server. This can result in full system compromise, including reading sensitive files, altering the application or database, and disrupting server availability. The issue is fixed in version 2.
CVSS v3.1
Score 8.8high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Chamilo LMS before version 2.0.0-RC.3 has an OS Command Injection vulnerability (CWE-78) in the main/inc/ajax/gradebook.ajax.php script within the export_all_certificates action. The vulnerability occurs because the course code obtained from the session variable $_SESSION['_cid'] via api_get_course_id() is concatenated directly into a shell_exec() call without using escapeshellarg() or other sanitization. If an attacker can manipulate their session data to inject shell metacharacters into the _cid variable, they can execute arbitrary OS commands with the privileges of the web server process. This can lead to full system compromise, including unauthorized file access, modification of application data, or denial of service. The vulnerability has been addressed and fixed in Chamilo LMS version 2.0.0-RC.3.
Potential Impact
Successful exploitation allows an attacker with the ability to manipulate session data to execute arbitrary operating system commands on the server hosting Chamilo LMS. This can lead to full compromise of the system, including reading sensitive files and credentials, modifying application and database contents, and disrupting server availability. The CVSS v3.1 score is 8.8 (High), reflecting the critical impact on confidentiality, integrity, and availability.
Mitigation Recommendations
This vulnerability is fixed in Chamilo LMS version 2.0.0-RC.3. Users should upgrade to this version or later to remediate the issue. No official patch or temporary fix is indicated beyond upgrading. Until upgraded, restricting access to trusted users and preventing session manipulation may reduce risk, but upgrading is the recommended and definitive mitigation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-01T18:48:58.937Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69deb5cc82d89c981f06f4d2
Added to database: 4/14/2026, 9:46:52 PM
Last enriched: 4/22/2026, 6:47:55 AM
Last updated: 5/29/2026, 1:21:56 AM
Views: 63
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.