CVE-2025-50189 Chamilo: Error-based SQL Injection

High 7.2 Published Updated

An attacker can inject arbitrary SQL statements via POST parameters in Chamilo LMS to modify database query logic, potentially reading or altering data.

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-2025-50189?

CVE-2025-50189 is a high-severity SQL injection vulnerability in Chamilo Chamilo Lms, published on 2 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Chamilo is a learning management system. Prior to version 1.11.30, the application performs insufficient validation of data coming from the user from the POST resource[document][SQL_INJECTION_HERE] and POST login parameters found in /main/coursecopy/copy_course_session_selected.php, which allows an attacker to perform an attack aimed at modifying the database query logic by injecting an arbitrary SQL statements. This issue has been patched in version 1.11.30.

Weakness: CWE-89

Which versions are affected by CVE-2025-50189?

It affects 1 product.

Products include Chamilo Chamilo Lms.

How do I fix CVE-2025-50189?

No fix has been published for CVE-2025-50189 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-2025-50189 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-50189 exists.

All Chamilo Chamilo Lms vulnerabilities

Sources

Also known as GHSA-vxx3-648j-7p4r.

Is CVE-2025-50189 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free