CVE-2025-50191 Chamilo: Error-based SQL Injection via POST userFile with the /main/exercise/hotpotatoes.php script
An attacker can perform error-based SQL injection via the hotpotatoes.php script to read sensitive database information.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-50191?
CVE-2025-50191 is a high-severity SQL injection vulnerability in Chamilo Chamilo Lms, published on 2 Mar 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Chamilo is a learning management system. Prior to version 1.11.30, there is an error-based SQL Injection via POST userFile with the /main/exercise/hotpotatoes.php script. This issue has been patched in version 1.11.30.
Weakness: CWE-89
Which versions are affected by CVE-2025-50191?
It affects 1 product.
Products include Chamilo Chamilo Lms.
How do I fix CVE-2025-50191?
No fix has been published for CVE-2025-50191 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-50191 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-50191 exists.
Other vulnerabilities in Chamilo Chamilo Lms
Sources
Also known as GHSA-82qx-25j7-5639.