Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 50%

CVE-2026-35196: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in chamilo chamilo-lms

0
High
VulnerabilityCVE-2026-35196cvecve-2026-35196cwe-78
Published: Tue Apr 14 2026 (04/14/2026, 21:33:13 UTC)
Source: CVE Database V5
Vendor/Project: chamilo
Product: 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

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/22/2026, 06:47:55 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses