
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-50196 is an OS Command Injection vulnerability in Chamilo LMS affecting the VChamilo plugin's editinstance.php file. The vulnerability exists in all versions prior to 1.11.30 (specifically confirmed through 1.11.28), where the main_database POST parameter is passed unsanitized to OS-level operations. It was discovered by Nikolay Archakov of Positive Technologies and disclosed on March 2, 2026, with a patch released in version 1.11.30. The vulnerability carries a CVSS v3.1 base score of 7.2 (High) and a CVSS v4.0 base score of 7.1 (High) (GitHub Advisory, Red Hat).
The root cause is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command) and CWE-77 (Command Injection). The vulnerable component is /plugin/vchamilo/views/editinstance.php, which accepts the main_database POST parameter and passes it without adequate server-side sanitization to shell-level operations within plugin/vchamilo/lib/Virtual.php. The fix introduced a clearDatabaseName() method in Database class that strips all characters except alphanumerics, underscores, and hyphens via preg_replace('/[^a-zA-Z0-9_\-]/', '', $dbName), applied at multiple points in the addInstance() and importInstance() methods. Exploitation requires an authenticated session with administrator-level privileges (GitHub Advisory, Patch Commit).
A successful exploit allows an authenticated administrator to execute arbitrary OS commands in the context of the web server process, resulting in high impact to confidentiality, integrity, and availability of the affected system. This could lead to unauthorized data access or exfiltration, modification or deletion of data, service disruption, and potentially full compromise of the underlying server. Lateral movement within the network hosting the Chamilo LMS instance is also a realistic consequence (GitHub Advisory, Red Hat).
A proof-of-concept reference is available via the GitHub Security Advisory, but there is no evidence of active in-the-wild exploitation at this time. The EPSS score is approximately 0.51%, indicating a low but non-negligible probability of exploitation in the near term. The vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires high privileges (administrator role), which limits the attack surface compared to unauthenticated vulnerabilities (GitHub Advisory, Red Hat).
/plugin/vchamilo/views/editinstance.php.main_database parameter, such as legit_db; id or legit_db$(whoami) to chain arbitrary commands.addInstance() function in Virtual.php, executing with the privileges of the web server process (e.g., www-data), enabling reverse shell establishment, data exfiltration, or further lateral movement (GitHub Advisory, Patch Commit)./plugin/vchamilo/views/editinstance.php; reverse shell traffic on non-standard ports originating from the Chamilo server process./plugin/vchamilo/views/editinstance.php with unusual or encoded values in the main_database parameter (e.g., containing semicolons, backticks, $(), or pipe characters); PHP error logs showing unexpected command execution output./tmp; new cron jobs or scheduled tasks created by the web server user (www-data)./bin/bash, curl, wget, nc, python) visible in process trees; unexpected database operations or new database creation events in MySQL/MariaDB logs.The primary remediation is to upgrade Chamilo LMS to version 1.11.30, which introduces the Database::clearDatabaseName() sanitization method applied to the main_database parameter in Virtual.php. Until patching is possible, administrators should restrict access to the /plugin/vchamilo/ directory via web server configuration (e.g., IP allowlisting), limit administrator account access to only trusted personnel, and deploy a web application firewall (WAF) rule to detect and block OS command injection patterns in POST parameters targeting editinstance.php. Monitoring system logs for suspicious command execution attempts is also recommended (GitHub Advisory, Release v1.11.30).
The vulnerability was discovered and reported by Nikolay Archakov of Positive Technologies, a well-known security research firm. The Chamilo project maintainer (ywarnier) published the GitHub Security Advisory on March 2, 2026, and the fix was included in the v1.11.30 release. Red Hat also tracked the CVE in their security advisory database. Community discussion was limited, with brief mentions on Bluesky and vulnerability aggregator platforms shortly after disclosure (GitHub Advisory, Red Hat).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."