CVE-2026-30881 Chamilo LMS: SQL Injection in the statistics AJAX endpoint
An authenticated attacker can inject arbitrary SQL into the statistics endpoint to extract data from the database.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-30881?
CVE-2026-30881 is a high-severity SQL injection vulnerability in Chamilo Chamilo Lms, published on 16 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Chamilo LMS is a learning management system. Version 1.11.34 and prior contains a SQL Injection vulnerability in the statistics AJAX endpoint. The parameters date_start and date_end from $_REQUEST are embedded directly into a raw SQL string without proper sanitization. Although Database::escape_string() is called downstream, its output is immediately neutralized by str_replace("\'", "'", ...), which restores any injected single quotes — effectively bypassing the escaping mechanism entirely. This allows an authenticated attacker to inject arbitrary SQL statements into the database query, enabling blind time-based and conditional data extraction. This issue has been patched in version 1.11.36.
Weakness: CWE-89
Which versions are affected by CVE-2026-30881?
It affects 1 product.
Products include Chamilo Chamilo Lms.
How do I fix CVE-2026-30881?
No fix has been published for CVE-2026-30881 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-30881 being exploited?
There is no known exploitation of CVE-2026-30881 in the wild and no public exploit code.
Other vulnerabilities in Chamilo Chamilo Lms
Sources
Also known as GHSA-5ggx-x2cv-4h44.