CVE-2026-35196 | Chamilo LMS up to 2.0.0-RC.2 gradebook.ajax.php api_get_course_id _cid os command injection
VulDBArchived Apr 15, 2026✓ Full text saved
A vulnerability was found in Chamilo LMS up to 2.0.0-RC.2 . It has been rated as critical . This issue affects the function api_get_course_id of the file main/inc/ajax/gradebook.ajax.php . The manipulation of the argument _cid leads to os command injection. This vulnerability is documented as CVE-2026-35196 . The attack can be initiated remotely. There is not any exploit available. Upgrading the affected component is advised.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-357582 · CVE-2026-35196 · GCVE-0-2026-35196
CHAMILO LMS UP TO 2.0.0-RC.2 GRADEBOOK.AJAX.PHP API_GET_COURSE_ID _CID OS COMMAND INJECTION
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
7.4 $0-$5k 1.52+
Summaryinfo
A vulnerability categorized as critical has been discovered in Chamilo LMS up to 2.0.0-RC.2. Impacted is the function api_get_course_id of the file main/inc/ajax/gradebook.ajax.php. The manipulation of the argument _cid results in os command injection. This vulnerability is reported as CVE-2026-35196. The attack can be launched remotely. No exploit exists. It is advisable to upgrade the affected component.
Detailsinfo
A vulnerability, which was classified as critical, was found in Chamilo LMS up to 2.0.0-RC.2. Affected is the function api_get_course_id of the file main/inc/ajax/gradebook.ajax.php. The manipulation of the argument _cid with an unknown input leads to a os command injection vulnerability. CWE is classifying the issue as CWE-78. The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
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.
The advisory is available at github.com. This vulnerability is traded as CVE-2026-35196 since 04/01/2026. The exploitability is told to be easy. It is possible to launch the attack remotely. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1202 by the MITRE ATT&CK project.
By approaching the search of inurl:main/inc/ajax/gradebook.ajax.php it is possible to find vulnerable targets with Google Hacking.
Upgrading to version 2.0.0-RC.3 eliminates this vulnerability.
Productinfo
Type
Content Management System
Vendor
Chamilo
Name
LMS
Version
2.0.0-RC.0
2.0.0-RC.1
2.0.0-RC.2
License
open-source
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 7.6
VulDB Meta Temp Score: 7.4
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 8.8
CNA Vector (GitHub_M): 🔒
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Os command injection
CWE: CWE-78 / CWE-77 / CWE-74
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Google Hack: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: LMS 2.0.0-RC.3
Timelineinfo
04/01/2026 CVE reserved
04/14/2026 +13 days Advisory disclosed
04/14/2026 +0 days VulDB entry created
04/14/2026 +0 days VulDB entry last update
Sourcesinfo
Advisory: github.com
Status: Confirmed
CVE: CVE-2026-35196 (🔒)
GCVE (CVE): GCVE-0-2026-35196
GCVE (VulDB): GCVE-100-357582
Entryinfo
Created: 04/14/2026 23:53
Changes: 04/14/2026 23:53 (68)
Complete: 🔍
Cache ID: 99:771:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸