CVE-2026-45140: Chamilo LMS CStudio upload flow unauthenticated remote code execution

CVE-2026-45140 · Severity: critical · CVSS 9.8 · Published 2026-09-17

Chamilo LMS is a learning management system used for online course delivery and student management. An unauthenticated attacker can upload and execute arbitrary code on the server through the CStudio upload functionality without needing to log in, allowing complete system compromise including data theft, service disruption, and malware deployment.

Technologies: Chamilo Lms. Vendors: Chamilo, Packagist.

Quick answers

Is CVE-2026-45140 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-45140 being exploited in the wild.
How severe is CVE-2026-45140?
Critical severity, with a CVSS score of 9.8, published 17 September 2026.
Which products and versions are affected?
Chamilo Lms <= 2.0.0; chamilo/chamilo-lms (Packagist) <= 2.0.0, ECOSYSTEM:introduced=0,fixed=2.0.1.
Is there a fix for CVE-2026-45140?
Yes. chamilo/chamilo-lms (Packagist): upgrade to 2.0.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-45140 attacked?
It is attacked over the network.
Am I affected by CVE-2026-45140?
Check whether you run Chamilo Lms or chamilo/chamilo-lms (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • chamilo/chamilo-lms (Packagist): upgrade to 2.0.1 or later
    composer require chamilo/chamilo-lms:^2.0.1

Technical details

The vulnerability is a combination of improper file upload validation (CWE-434), path traversal (CWE-22), and code injection (CWE-94) in the CStudio upload mechanism. The CStudio component fails to properly restrict uploaded file types and validate upload paths, allowing an unauthenticated attacker to upload executable code (e.g., PHP, JSP) to a web-accessible directory. No authentication is required, attack complexity is low, and no user interaction is needed. An attacker can achieve remote code execution with full system privileges, potentially exfiltrating sensitive data, modifying content, or disrupting service availability. A patch is available in version 2.0.1.

Affected products

  • Chamilo Chamilo LMS <= 2.0.0

Identifiers

  • CVE-2026-45140
  • GHSA-g4c3-4g96-6g4m

Timeline

  • 2026-06-09: disclosed: Initially published on GitHub
  • 2026-06-09: patched: Patched in version 2.0.1 (commit 4bdba1b)
  • 2026-09-17: advisory: Added to GitHub Advisory Database

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.