CVE-2026-35196

HIGH

Chamilo LMS has OS Command Injection via export_all_certificates action

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-35196. PoCs published by kx00007.

AI-analyzed exploit summary This repository provides a detailed technical analysis of CVE-2026-35196, an OS command injection vulnerability in Chamilo LMS. It includes root cause analysis, proof-of-concept steps, and mitigation recommendations, demonstrating a deep understanding of the vulnerability.

Description

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.

Exploits (1)

github WRITEUP
by kx00007 · poc
https://github.com/kx00007/CVE-2026-35196

This repository provides a detailed technical analysis of CVE-2026-35196, an OS command injection vulnerability in Chamilo LMS. It includes root cause analysis, proof-of-concept steps, and mitigation recommendations, demonstrating a deep understanding of the vulnerability.

Classification
Writeup 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Chamilo LMS < 2.0 (Confirmed on v1.11.32)
Auth required
Prerequisites: authenticated user access · ability to manipulate session variables
devstral-2 · analyzed May 25, 2026 Full analysis →

Scores

CVSS v3 8.8
EPSS 0.0026
EPSS Percentile 49.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-78
Status published
Products (3)
chamilo/chamilo-lms < 2.0.0-RC.3
chamilo/chamilo_lms 2.0.0 alpha1 (10 CPE variants)
chamilo/chamilo_lms < 1.11.38
Published Apr 14, 2026
Tracked Since Apr 15, 2026