CVE-2026-45146Chamilo LMS: Blind SQL Injection in model.ajax.php via filters[groupOp] authentificated
Description
Chamilo LMS is an open-source learning management system. Prior to 1.11.40 and 2.0.1, an authenticated administrator can call the get_sessions action in /main/inc/ajax/model.ajax.php with _search=true and a crafted JSON filters parameter whose groupOp field contains SQL syntax. Because groupOp is not restricted to the expected AND or OR operators before it is incorporated into query logic, attacker-controlled input is interpreted by the database and enables blind or time-based SQL injection. Successful exploitation can disclose sensitive user, course, session, configuration, password-reset, and administrative data, modify or delete records subject to database privileges, and cause denial of service through expensive delayed queries. This issue is fixed in versions 1.11.40 and 2.0.1.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| chamilo | chamilo-lms | < 1.11.40, >= 2.0.0, < 2.0.1 |
References and patches
- https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-prqp-8x29-cr88
- https://github.com/chamilo/chamilo-lms/commit/4472f3089bbbca1b4713bfd7059907676b80d07f
- https://github.com/chamilo/chamilo-lms/commit/7cc961d60ac27eaccd6bcc8db201de2c65adfdf3
- https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.40
- https://github.com/chamilo/chamilo-lms/releases/tag/v2.0.1