Skip to main content

Chamilo LMS CVE-2026-61532

| EUVDEUVD-2026-129097 CRITICAL
Path Traversal (CWE-22)
2026-11-18 GitHub_M
9.0
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain/abuse teacher account on portal
  2. Delivery
    Upload crafted legacy backup ZIP
  3. Exploit
    CourseRestorer writes entry outside extraction dir
  4. Execution
    Drop PHP webshell or poison var/cache
  5. Persist
    Code execution as PHP-FPM user
  6. Impact
    Dump user DB and compromise host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated course-teacher account (PR:L) with access to the 'Import course backup' / course-copy restore feature, which is part of the standard instructor toolkit and gated only by api_is_allowed_to_edit() - present on essentially all default Chamilo deployments, so no non-default configuration is needed. The concrete prerequisite is the ability to import a legacy course backup ZIP; the attacker supplies a crafted archive whose entry names contain '..' segments. Limiting factors: an account with edit rights is required (not fully unauthenticated), and the PHP-FPM user must have write access to a PHP-executable or auto-loaded location - the advisory notes that denying write access to public/ outside the uploads directory removes the easiest RCE primitive but does NOT stop the var/cache/ primitive. Affected: Chamilo LMS < 1.11.40 and 2.0.0 through < 2.0.3. The only complete fix per the vendor is updating to 1.11.40 or 2.0.3; interim operator workarounds are restricting the import-backup feature to administrators and auditing var/cache/, public/main/plugin/, and the document storage root for unexpected files.

Impact

This is a genuine high-priority issue, not a CVSS-inflated one. The CVSS:3.1 vector (AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H, base 9.0) describes a network-reachable, low-complexity flaw requiring only low privileges, and the vuln.today Decision label is act_now with a vendor patch available. The GHSA advisory confirms the trigger mechanism via static analysis against tag 2.0.2: a ZIP-slip path traversal in CourseRestorer where legacy course-backup entry names containing '..' reach file_put_contents() without confinement, enabling arbitrary file write and RCE as the PHP-FPM user. The required privilege is a standard course-teacher account (PR:L), gated only by api_is_allowed_to_edit(), which the advisory states is present on essentially all default deployments. No EPSS score, no CISA KEV entry, and no working exploit code were provided, so there is no evidence of active or automated exploitation yet - the urgency here derives from the act_now decision label, scope change (course-scoped privilege escalating to host authority), and confirmed RCE impact rather than from observed in-the-wild activity. One metric tension to verify: the input vector carries UI:R, but the advisory explicitly states 'no victim interaction beyond the attacker uploading their own crafted backup,' which is the attacker's own action, not third-party interaction - this suggests the attack is effectively self-contained (see assessed vector).

Exploit ScenarioDerived

An attacker who holds (or registers for) a teacher account on a Chamilo portal uses the standard 'Import course backup' feature to upload a crafted legacy backup ZIP whose entries contain parent-directory ('..') segments. On restore, CourseRestorer writes attacker-controlled bytes outside the extraction directory - for example a PHP webshell under public/ or an overwritten Symfony compiled cache file under var/cache/<env>/ that is auto-loaded on the next request - yielding code execution as the PHP-FPM user. No working public exploit code was identified at time of analysis; the flaw was confirmed by the reporter through static analysis against tag 2.0.2.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

Path traversal in Chamilo LMS course-backup import (CourseRestorer) lets an authenticated course teacher write attacker-controlled files outside the extraction directory, reaching remote code execution as the PHP process. Any instructor account with edit rights on a course - the standard teacher role gated only by api_is_allowed_to_edit(), not an administrator - can upload a crafted legacy backup ZIP whose entry names contain parent-directory segments, allowing PHP webshells or overwritten auto-loaded Symfony cache files. All deployments below 1.11.40 and 2.0.x below 2.0.3 are affected; vendor fixes are released in 1.11.40 and 2.0.3, and no public exploit code was identified at time of analysis.

RemediationAI

Vendor-released patch: 1.11.40 and 2.0.3 - upgrading to the release matching your branch is the only complete fix per the advisory, since the var/cache auto-load write primitive persists while the traversal remains. Upgrading to the 1.11.x branch means moving to 1.11.40; 2.0.x deployments should move to 2.0.3 (release notes at https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.40 and https://github.com/chamilo/chamilo-lms/releases/tag/v2.0.3, advisory https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-97gp-5f3j-vwqr). If upgrading cannot be done immediately, the vendor's interim workarounds are to restrict the 'Import course backup' feature to platform administrators only - removing the capability from non-admin roles or applying webserver-level ACLs on /main/course_copy/ and the corresponding CourseMaintenanceController API endpoints; the trade-off is that teachers lose legitimate course-import and copy functionality. Also audit var/cache/, public/main/plugin/ and the document storage root for unexpected files written by recent backup imports. Denying the PHP-FPM user write access to public/ outside the documented uploads directory removes the easiest RCE primitive but, as the advisory states, does not stop the var/cache/ auto-load primitive, so it is not a substitute for patching.

Affected VersionsENISA

chamilo-lms 2.0.0, < 2.0.3
chamilo-lms < 1.11.40

Affected Packages

euvd chamilo_lms fix: 1.11.40, 2.0.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a classic ZIP-slip (CWE-22) in Chamilo's course-restore component: src/Chamilo/CourseBundle/Component/CourseCopy/CourseRestorer.php and src/CourseBundle/Component/CourseCopy/CourseRestorer.php take file paths recorded inside an imported legacy course backup and pass them to file operations without consistently confining the destination to the extraction directory. Because the archive entry names are attacker-controlled, '..' segments survive into the write path, turning a traversal into an arbitrary file write (CWE-73) that becomes code injection (CWE-94) when the destination is PHP-executable or automatically included - the advisory specifically names dropping a webshell under public/ and overwriting Symfony compiled cache under var/cache/<env>/, which is auto-loaded on the next request. The affected code is shipped as the composer package chamilo/chamilo-lms (CPE cpe:2.3:a:chamilo:chamilo-lms), and the advisory's own classification extends the root cause across path traversal, arbitrary file write and code injection; the vendor also notes the scoped severity change (S:C) because a course-level teaching capability escalates to authority over the whole host and its user database.

Know when Chamilo Lms gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.0 CRITICAL
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
vuln.today AI 9.9 CRITICAL

Network-reachable import feature, low complexity, teacher account so PR:L; attacker uploads their own backup so UI:N; course-to-host escalation is S:C with full RCE giving C/I/A High.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 18, 2026 - 19:03 EUVD
CVE Published
Nov 18, 2026 - 18:23 cve.org
CRITICAL 9.0

DescriptionCVE.org

Chamilo LMS is an open-source learning management system. Prior to 1.11.40 and 2.0.3, src/Chamilo/CourseBundle/Component/CourseCopy/CourseRestorer.php and src/CourseBundle/Component/CourseCopy/CourseRestorer.php use paths supplied by an imported legacy course backup without consistently confining them to the extraction directory. A course teacher can import a crafted backup containing parent-directory path segments, causing file operations to write attacker-controlled content outside the intended destination, including PHP-executable or automatically loaded locations. This can result in code execution as the PHP process and compromise course data, user data, credentials, and the host. This issue is fixed in versions 1.11.40 and 2.0.3.

Technical POC Analysis

Bug class: CWE-22 Path Traversal / ZIP Slip, leading to arbitrary file write (CWE-73) and PHP code injection (CWE-94).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A critical path traversal vulnerability in Chamilo LMS (CVE-2026-61532) allows any instructor-level user to upload a crafted course backup and execute arbitrary code on the server, potentially leading to full system compromise. This affects all deployments below versions 1.11.40 and 2.0.3, and because the exploit requires only standard teacher permissions-not administrative access-the risk is elevated for institutions with many instructors. Leadership should prioritize immediate patching and review access controls to prevent potential data breaches or service disruption.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 64% exploitable
Prevalence
Medium
established open-source LMS used in education, far below Moodle-scale footprint
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Very High

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +45
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2025-50187 CRITICAL POC
9.8 Mar 02

Chamilo LMS prior to 1.11.28 has a code injection through SOAP request parameters enabling remote code execution.

CVE-2025-50192 CRITICAL POC
9.8 Mar 02

Chamilo LMS prior to 1.11.30 has a time-based SQL injection in a different endpoint, providing an additional database ex

CVE-2025-50190 CRITICAL POC
9.8 Mar 02

Chamilo LMS prior to 1.11.30 has an error-based SQL injection enabling database extraction.

CVE-2021-35414 CRITICAL POC
9.8 Dec 03

Chamilo LMS v1.11.x was discovered to contain a SQL injection via the doc parameter in main/plagiarism/compilatio/upload

CVE-2019-13082 CRITICAL POC
9.8 Jun 30

Chamilo LMS 1.11.8 and 2.x allows remote code execution through an lp_upload.php unauthenticated file upload feature. Ra

CVE-2025-50199 CRITICAL POC
9.1 Mar 02

Chamilo LMS prior to 1.11.30 has a blind SSRF vulnerability enabling internal network reconnaissance from the learning p

CVE-2023-4220 MEDIUM POC
6.1 Nov 28

Unrestricted file upload in big file upload functionality in `/main/inc/lib/javascript/bigupload/inc/bigUpload.php` in C

CVE-2025-50189 HIGH POC
8.8 Mar 02

Chamilo is a learning management system. [CVSS 8.8 HIGH]

CVE-2025-52468 HIGH POC
8.8 Mar 02

Chamilo is a learning management system. Prior to version 1.11.30, an input validation vulnerability exists when importi

CVE-2024-30616 HIGH POC
8.8 Nov 04

Chamilo LMS 1.11.26 is vulnerable to Incorrect Access Control via main/auth/profile. Rated high severity (CVSS 8.8), thi

CVE-2023-4226 HIGH POC
8.8 Nov 28

Unrestricted file upload in `/main/inc/ajax/work.ajax.php` in Chamilo LMS <= v1.11.24 allows authenticated attackers wit

CVE-2023-4225 HIGH POC
8.8 Nov 28

Unrestricted file upload in `/main/inc/ajax/exercise.ajax.php` in Chamilo LMS <= v1.11.24 allows authenticated attackers

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy