# CVE-2026-45146: Chamilo LMS SQL injection via groupOp parameter

Source: https://junglewise.ai/threats/cve-2026-45146-chamilo-lms-is-an-open-source-learning-management-system-prior-to  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-03. Updated: 2026-11-03  
License: CC BY 4.0 with a link back

CVE-2026-45146 · Severity: high · CVSS 7.2 · Published 2026-11-03

Chamilo LMS is an open-source learning management system used by educational institutions to manage courses and student data. An authenticated administrator can inject malicious SQL code through a crafted JSON filter parameter, allowing them to view, modify, or delete sensitive user and course data, or cause the system to become unresponsive.

Technologies: [Chamilo Lms](https://junglewise.ai/threats/technologies/chamilo-lms). Vendors: [Chamilo](https://junglewise.ai/threats/vendors/chamilo).

## Quick answers

**Is CVE-2026-45146 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-45146 being exploited in the wild.

**How severe is CVE-2026-45146?** High severity, with a CVSS score of 7.2, published 3 November 2026.

**Which products and versions are affected?** Chamilo Lms prior to 1.11.40 and 2.0.1.

**Is there a fix for CVE-2026-45146?** Yes: fixed in 1.11.40, 2.0.1. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-45146 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-45146?** Check whether you run Chamilo Lms at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 1.11.40, 2.0.1

## Technical details

The vulnerability is a blind/time-based SQL injection in the get_sessions AJAX action (/main/inc/ajax/model.ajax.php) where the groupOp field in JSON filters is not validated before being incorporated into SQL queries. An authenticated administrator can supply arbitrary SQL syntax in the groupOp parameter (normally restricted to AND/OR operators) to execute commands with database privileges. The fix validates groupOp to only accept AND or OR, rejecting or sanitizing all other values.

## Affected products

- Chamilo LMS prior to 1.11.40 and 2.0.1

## Timeline

- 2026-11-03: disclosed

## References

- [https://github.com/chamilo/chamilo-lms/commit/4472f3089bbbca1b4713bfd7059907676b80d07f](https://github.com/chamilo/chamilo-lms/commit/4472f3089bbbca1b4713bfd7059907676b80d07f)
- [https://github.com/chamilo/chamilo-lms/commit/7cc961d60ac27eaccd6bcc8db201de2c65adfdf3](https://github.com/chamilo/chamilo-lms/commit/7cc961d60ac27eaccd6bcc8db201de2c65adfdf3)

## Related threats

- [Chamilo LMS unsafe deserialization in career data](https://junglewise.ai/threats/cve-2026-45145-chamilo-lms-is-an-open-source-learning-management-system-prior-to)
- [Chamilo LMS stored XSS in user profile fields](https://junglewise.ai/threats/cve-2026-45144-chamilo-lms-is-an-open-source-learning-management-system-from-2-0)
- [Chamilo LMS CSRF in skill management AJAX](https://junglewise.ai/threats/cve-2026-45141-chamilo-lms-is-an-open-source-learning-management-system-prior-to)
- [Chamilo LMS arbitrary code execution in HTML_QuickForm](https://junglewise.ai/threats/cve-2026-44344-chamilo-lms-is-an-open-source-learning-management-system-in-the-1)
- [Chamilo LMS missing authorization in legacy AJAX handlers](https://junglewise.ai/threats/cve-2026-114390-chamilo-lms-from-2-0-0-alpha-1-before-2-0-0-rc-3-contains-a)
