critical CVSS 9.8

CVE-2026-33698·PHP vulnerability

Chamilo LMS is a learning management system. Prior to 1.11.38, a chained attack can enable otherwise-blocked PHP code from the main/install/ directory and allow an unauthenticated attacker to modify existing files or create new files where allowed by system permissions. This only affects portals with the main/install/ directory still present and read-accessible. This vulnerability is fixed in 1.11.38.

Severity
critical
Software
PHP
Fixed in
1.11.38
Published
2026-04-10

Affected versions

Until: 1.11.38

Fixed in: 1.11.38

How to fix this CVE

Organizations running Chamilo LMS must upgrade to version 1.11.38 or later immediately to patch this critical remote code execution vulnerability. If the main/install/ directory is still present on your server, remove or restrict access to it via web server configuration. Verify that your PHP installation and Chamilo LMS deployment are fully updated and that installation directories are not web-accessible.

sudo dnf update php && sudo systemctl restart httpd

Defensia detects this vulnerability

What an exploitation attempt looks like

Sample log line indicative of exploitation attempts:

POST|GET /main/install/ HTTP/1.1.*User-Agent:.*Accept.*Content-Type:.*php|php5|php7

WAF mitigation (if patching is not yet possible)

Add this rule to your WAF to block exploitation attempts while you schedule the patch.

Block all HTTP requests to /main/install/ directory with a 403 Forbidden response. Implement location-based rules: if request_uri ~ '^/main/install/' { return 403; } in nginx or <Directory /main/install> Deny from all </Directory> in Apache httpd.conf

How to check if you are affected

  1. Run `php -v` to verify your current PHP version and confirm if Chamilo LMS is installed
  2. Check if the main/install/ directory exists: `ls -la /path/to/chamilo/main/install/` (note the presence and permissions)
  3. Search web server access logs for requests to /main/install/ using: `grep -i 'main/install' /var/log/apache2/access.log /var/log/nginx/access.log 2>/dev/null`
  4. Verify Chamilo LMS version by checking the version file: `grep -i version /path/to/chamilo/main/inc/conf/version.php` and confirm it is 1.11.38 or later

Indicators of compromise

  • /main/install/
  • /main/install/index.php
  • /main/install/install.php
  • chamilo_install_detected

FAQ

What is CVE-2026-33698?

This is a critical vulnerability in Chamilo LMS that allows unauthenticated attackers to bypass access controls and execute arbitrary PHP code through the installation directory if it remains accessible after setup. The vulnerability can lead to unauthorized file modification, creation, and complete system compromise.

Is CVE-2026-33698 being actively exploited?

No, this vulnerability is not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog, and no public exploits have been released. However, given its critical severity and ease of exploitation, organizations should prioritize patching immediately.

What versions of Chamilo LMS are affected by CVE-2026-33698?

All versions of Chamilo LMS prior to 1.11.38 are affected. The vulnerability only impacts installations where the main/install/ directory remains present and is readable by the web server.

How do I check if my server is vulnerable to CVE-2026-33698?

Run `test -d /path/to/chamilo/main/install/ && echo 'Vulnerable - install directory present' || echo 'Not vulnerable - install directory removed'` and verify your Chamilo version with `grep version /path/to/chamilo/main/inc/conf/version.php`

Does Defensia detect CVE-2026-33698?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Chamilo LMS is installed on a monitored server, CVE-2026-33698 will appear in your dashboard with remediation steps.

Related PHP CVEs

CVE-2025-25174CVSS 10Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in beeteam368 BeeTeam368 Extensions beeteam368-extensions allows PHP Local File Inclusion.This issue affects BeeTeam368 Extensions: from n/a through <= 1.9.4.
CVE-2025-46348CVSS 10YesWiki is a wiki system written in PHP. Prior to version 4.5.4, the request to commence a site backup can be performed and downloaded without authentication. The archives are created with a predictable filename, so a malicious user could create and download an archive without being authenticated. This could result in a malicious attacker making numerous requests to create archives and fill up the file system, or by downloading the archive which contains sensitive site information. This issue has been patched in version 4.5.4.
CVE-2026-39337CVSS 10ChurchCRM is an open-source church management system. Prior to 7.1.0, critical pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The "$dbPassword" variable is not sanitized. This vulnerability exists due to an incomplete fix for CVE-2025-62521. This vulnerability is fixed in 7.1.0.
CVE-2025-62521CVSS 10ChurchCRM is an open-source church management system. Prior to version 5.21.0, a pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The vulnerability exists in `setup/routes/setup.php` where user input from the setup form is directly concatenated into a PHP configuration template without any validation or sanitization. Any parameter in the setup form can be used to inject PHP code that gets written to `Include/Config.php`, which is then executed on every page load. This is more severe than typical authenticated RCE vulnerabilities because it requires no credentials and affects the installation process that administrators must complete. Version 5.21.0 patches the issue.
CVE-2024-5932CVSS 10The GiveWP – Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 3.14.1 via deserialization of untrusted input from the 'give_title' parameter. This makes it possible for unauthenticated attackers to inject a PHP Object. The additional presence of a POP chain allows attackers to execute code remotely, and to delete arbitrary files.

References

Track CVEs across your fleet automatically

Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-33698. Free for 1 server.

Get started free