CVE-2026-45145: 
Chamilo vulnerability analysis and mitigation

Overview

CVE-2026-45145 is an insecure deserialization vulnerability (PHP Object Injection) in Chamilo LMS that allows an attacker who can influence database content to execute arbitrary OS commands via PHP Property-Oriented Programming (POP) gadget chains. It affects Chamilo LMS version 2.0.0 (prior to 2.0.1) and was published on October 30, 2026. The vulnerability was fixed in version 2.0.1, released on May 8, 2026. It carries a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory, Feedly).

Technical details

The root cause is unsafe use of PHP's native unserialize() function without the allowed_classes: false safety option (CWE-502: Deserialization of Untrusted Data), occurring in two files: public/main/inc/lib/career.lib.php (line 495) and public/main/cron/import_csv.php (line 2768), both of which deserialize the extra_data column from user_career database records (GitHub Advisory). An attacker who can write crafted serialized PHP objects into the user_career.extra_data column — via SQL injection, a compromised admin CSV import, or a lower-privilege admin panel — can instantiate arbitrary PHP objects and trigger POP gadget chains present in autoloaded Symfony, Doctrine, or Monolog components (GitHub Advisory). Notably, the codebase already provides a safe wrapper (UnserializeApi::unserialize() with an allowed-class whitelist) used correctly elsewhere in the same file, but it was not applied consistently to these two call sites (GitHub Commit).

Impact

Successful exploitation results in Remote Code Execution (RCE) as the web server user, fully compromising server confidentiality, integrity, and availability. An attacker can execute arbitrary OS commands, exfiltrate sensitive data (including student and instructor records stored in the LMS), modify or destroy application data, and potentially pivot to other systems accessible from the web server. The scope is limited to the affected server instance, but the impact on all three CIA pillars is rated High (GitHub Advisory, Feedly).

Exploitability

As of the time of disclosure, there are no known public proof-of-concept exploits, no reported in-the-wild exploitation, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (Feedly). The EPSS score is approximately 0.35%, reflecting a low but non-negligible probability of exploitation in the near term. Exploitation requires a precondition — the attacker must first be able to write to the user_career.extra_data database column, which raises the attack complexity to High and requires at least low-level privileges (GitHub Advisory). No threat actor attribution has been reported.

Exploitation steps

  1. Gain write access to user_career.extra_data: Obtain the ability to write to the target database column through one of the identified attack vectors — exploit a secondary SQL injection vulnerability in Chamilo LMS, abuse a compromised admin account to perform a malicious CSV import, or leverage a lower-privilege admin panel feature that populates this column.
  2. Identify available POP gadget chains: Research known PHP deserialization gadget chains in the versions of Symfony, Doctrine, or Monolog bundled with the target Chamilo 2.0.0 installation. Tools like phpggc (PHP Generic Gadget Chains) can be used to generate serialized payloads for these frameworks.
  3. Craft a malicious serialized payload: Using phpggc or a custom script, generate a serialized PHP object payload targeting an available gadget chain (e.g., a Symfony or Monolog chain that triggers OS command execution). Example: phpggc Monolog/RCE1 system 'id' -s
  4. Write the payload to the database: Insert the crafted serialized string into the user_career.extra_data column for a target user record, using the chosen injection vector (SQL injection, CSV import, or admin panel).
  5. Trigger deserialization: Cause the application to execute the vulnerable code path — either by accessing a career diagram page that calls career.lib.php for the target user, or by triggering the cron job import_csv.php that processes career data.
  6. Achieve RCE: The unsafe unserialize() call instantiates the attacker-controlled PHP object, the POP gadget chain executes, and arbitrary OS commands run as the web server user (GitHub Advisory, GitHub Commit).

Indicators of compromise

  • Logs: Unexpected PHP errors or stack traces in web server error logs referencing unserialize(), career.lib.php, or import_csv.php; unusual cron job execution logs for import_csv.php at non-scheduled times.
  • Database: Anomalous or binary-looking data in the user_career.extra_data column, particularly values beginning with PHP serialization markers (e.g., O:, a:, s:) that reference class names from Symfony, Doctrine, or Monolog.
  • File System: Unexpected new files (web shells, scripts) written to the Chamilo web root or temp directories by the web server process; modification timestamps on PHP files inconsistent with deployment history.
  • Process: Unusual child processes spawned by the PHP-FPM or Apache/Nginx worker process (e.g., sh, bash, curl, wget, python, nc); unexpected outbound network connections from the web server process.
  • Network: Outbound connections from the web server to unknown external IPs or domains, particularly on non-standard ports, following access to career-related Chamilo pages.

Mitigation and workarounds

Upgrade Chamilo LMS to version 2.0.1 or later, which replaces the unsafe unserialize() calls in career.lib.php and import_csv.php with the safe UnserializeApi::unserialize('not_allowed_classes', ...) wrapper that enforces an allowed-class whitelist (GitHub Release, GitHub Commit). As an interim workaround for organizations unable to upgrade immediately, restrict access to the admin CSV import functionality and audit all admin-level accounts for compromise. Additionally, implement database-level controls to prevent unauthorized writes to the user_career.extra_data column, and review the application for secondary SQL injection vulnerabilities that could serve as the initial write vector (GitHub Advisory).

Community reactions

The vulnerability was reported by security researchers Casper-07-R and liyander and disclosed via GitHub Security Advisories by Chamilo maintainer ywarnier (GitHub Advisory). No significant broader media coverage, vendor statements beyond the advisory, or notable social media commentary has been identified at this time.

Additional resources


Source: This report was generated using AI

Related Chamilo vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-61532CRITICAL9
  • Chamilo logoChamilo
  • cpe:2.3:a:chamilo:chamilo_lms
NoYesNov 18, 2026
CVE-2026-61583HIGH8.7
  • Chamilo logoChamilo
  • cpe:2.3:a:chamilo:chamilo_lms
NoYesNov 18, 2026
CVE-2026-61578HIGH7
  • PHP logoPHP
  • chamilo/chamilo-lms
NoYesNov 18, 2026
CVE-2026-61582MEDIUM6.4
  • PHP logoPHP
  • chamilo/chamilo-lms
NoYesNov 18, 2026
CVE-2026-61584MEDIUM5.3
  • Chamilo logoChamilo
  • cpe:2.3:a:chamilo:chamilo_lms
NoYesNov 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management