All vulnerabilities

Servers and applications

CVE-2026-35196

OS Command Injection on Chamilo LMS

Severity
High 8.8
Published
14 Apr 2026
Last changed
27 Jul 2026
Added to UpHeron
1 Nov 2026
Exploit chance
1.8% in the next 30 daysHigher than 78% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
OS command injection (CWE-78)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Also known as
GHSA-crc6-r6c7-44q3
Sources
NVD, Project advisories (GitHub)

Description

Product: Chamilo LMS Version: <2.0 (Confirmed) Vulnerability Type: OS Command Injection (CWE-78) Impact: Authenticated Remote Code Execution (RCE) Severity: High Auth Required: Yes (Authenticated User with poisoned session)

A critical OS Command Injection vulnerability exists in the main/inc/ajax/gradebook.ajax.php endpoint of Chamilo LMS v1.11.32. The export_all_certificates action handles the export of course certificates by executing a background PHP script via shell_exec.

The application retrieves the course code using api_get_course_id(), which derives its value from the $_SESSION['_cid'] session variable. This value is subsequently concatenated directly into a shell command string without any sanitization or escaping (e.g., using escapeshellarg()). If an attacker can manipulate or poison their session data to inject arbitrary shell metacharacters into the $_SESSION['_cid'] variable, they can achieve arbitrary command execution on the underlying server.

From chamilo/chamilo-lms's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Chamilo LMSServers and applications · cpe:a:chamilo:chamilo_lms
  • Version 2.0.0-rc2
  • Version 2.0.0-rc1
  • Version 2.0.0-beta3
  • Version 2.0.0-beta2
All 11 release lines
  • Every version up to 1.11.38
  • Version 2.0.0-alpha1
  • Version 2.0.0-alpha2
  • Version 2.0.0-alpha3
  • Version 2.0.0-alpha4
  • Version 2.0.0-alpha5
  • Version 2.0.0-beta1
  • Version 2.0.0-beta2
  • Version 2.0.0-beta3
  • Version 2.0.0-rc1
  • Version 2.0.0-rc2
Chamilo LMSServers and applications · github:chamilo/chamilo-lms
  • Version 2.0.0-rc

About Chamilo LMS

Free Software Learning Management System

From Wikidata, CC0 1.0.
Share of websites with a known CMS
0.6%W3Techs, Nov 2026
GitHub stars
1,024GitHub, 15 Nov 2026
Forks
567GitHub, 15 Nov 2026
Latest release
v3.0.2GitHub, 15 Nov 2026
Released
3 Nov 2026GitHub
License
GPL-3.0GitHub
Written in
PHP, JavaScriptWikidata
First released
18 Jan 2010Wikidata
First published on GitHub
29 Mar 2013GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-35196
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-35196
  • GitHub Advisory Database https://github.com/advisories/GHSA-crc6-r6c7-44q3
  • github.com https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-crc6-r6c7-44q3