# CVE-2026-35196: Chamilo LMS has OS Command Injection via export\_all\_certificates action

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 2.73% (percentile 87, 2026-11-26)
- **CWE:** CWE-78
- **Published:** 2026-04-14T21:33:13.518Z
- **Modified:** 2026-07-24T21:10:00.143Z

## Who should check

- Anyone running chamilo-lms \< 2.0.0-RC.3

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

## Affected and fixed versions

- chamilo-lms: \< 2.0.0-RC.3 (cvelist)

## Mitigation

- Upgrade chamilo-lms to 2.0.0-RC.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-35196. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-35196.md
Affected: chamilo-lms < 2.0.0-RC.3
Fixed in: chamilo-lms 2.0.0-RC.3

Steps:
1. Search this machine and project for chamilo-lms: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-35196 being exploited?

There is no confirmed exploitation: CVE-2026-35196 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.73% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-35196?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-35196?

chamilo-lms \< 2.0.0-RC.3.

### Is there a fix for CVE-2026-35196?

Yes. Fixed in chamilo-lms 2.0.0-RC.3. Upgrade chamilo-lms to 2.0.0-RC.3 or later.

### How do I check if I'm affected by CVE-2026-35196?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-crc6-r6c7-44q3>
- patch: <https://github.com/chamilo/chamilo-lms/commit/62671e5e268f235cddfba704edee90f35c234df1>
- other: <https://github.com/chamilo/chamilo-lms/releases/tag/v2.0.0-RC.3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-35196>

HTML: <https://flawdb.com/CVE-2026-35196> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-35196>
