# CVE-2026-35196: Chamilo LMS has OS Command Injection via export_all_certificates action

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.49%, higher than 74% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-14T21:33:13.518Z
- Modified: 2026-07-24T21:10:00.143Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- chamilo chamilo-lms: < 2.0.0-RC.3
- chamilo chamilo_lms: up to 1.11.38; 2.0.0

## References

- <https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-crc6-r6c7-44q3> (exploit, vendor-advisory)
- <https://github.com/chamilo/chamilo-lms/commit/62671e5e268f235cddfba704edee90f35c234df1> (patch)
- <https://github.com/chamilo/chamilo-lms/releases/tag/v2.0.0-RC.3> (product, release-notes)

## Sources

- CVE List: [CVE-2026-35196](https://www.cve.org/CVERecord?id=CVE-2026-35196), CVE Terms of Use, modified 2026-04-15
- NVD: [CVE-2026-35196](https://nvd.nist.gov/vuln/detail/CVE-2026-35196), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-35196 · Whole record: https://cve.day/CVE-2026-35196.json · Rebuilt by cve.day 2026-11-25T22:59:18.798Z
