CVE
Chamilo LMS path traversal in CourseRestorer enables code execution
Affects Chamilo LMS before 1.11.40 and 2.0.0 through 2.0.2, where a course teacher can import a crafted legacy course backup ZIP through CourseRestorer. Fixed in 1.11.40 and 2.0.3.
- Exploited
- No known exploitation
- Fix
- Fixed in 1.11.40, 2.0.3
- Who is exposed
- Specific setups only
Do first: Check whether your setup matches what the bug needs. Importing a crafted legacy course backup ZIP via CourseRestorer Attacker needs a course teacher account on the target portal
Summary
Chamilo LMS has a path traversal flaw in its course restore feature that lets a logged-in course teacher reach it over the network by importing a crafted legacy course backup. The flaw can write attacker-controlled files outside the intended folder, including PHP-executable locations, which can lead to code execution as the PHP process and compromise of course data, user data, credentials, and the host. Exploitation also requires user interaction.
Original description
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.
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure8/25Specific setups only, reachable over the network
- Reach?/20Unknown. No tracked technology or package matched
- Severity9/10CVSS 9.0
- No patch0/5No signal
What would change the score
- Would score about 67 if added to CISA KEV
- Would score about 62 if CISA's SSVC rates exploitation active
- Would score about 24 if CISA's SSVC rates it automatable
What to do
Check whether your setup matches what the bug needs.
Importing a crafted legacy course backup ZIP via CourseRestorer Attacker needs a course teacher account on the target portalUpgrade to a fixed version: 1.11.40, 2.0.3.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-61532 (Chamilo LMS: ZIP Slip / Path Traversal in CourseRestorer leads to arbitrary file write and RCE by any course teacher), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-61532 (entry last updated 2026-11-18):
Affected:
- chamilo chamilo-lms: fixed in 1.11.40; from 2.0.0, fixed in 2.0.3
Fixed versions: 1.11.40, 2.0.3.
Conditions (all must be true for the bug to be hit):
- Importing a crafted legacy course backup ZIP via CourseRestorer (source: https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-97gp-5f3j-vwqr)
- Attacker needs a course teacher account on the target portal (source: https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-97gp-5f3j-vwqr)
Setup: the bug is reachable in a default setup; no special feature or setting is needed.
Attacker needs: network access, low-privilege login, a user action.
CISA KEV: CVE-2026-61532 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-61532 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-97gp-5f3j-vwqr
- https://github.com/chamilo/chamilo-lms/pull/8569
- https://github.com/chamilo/chamilo-lms/commit/a2e404fb1d512908280011aa3a2211fc2fcb6ad8
- https://github.com/chamilo/chamilo-lms/commit/d23787c8c79a4ff09d46f73fcf54ccce1bbcba15
- https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.40
- https://github.com/chamilo/chamilo-lms/releases/tag/v2.0.3
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-61532
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-61532"}.Timeline
- CVE published
- First seen by cve.now
- Posted on X by cve.now
Affected versions
- chamilo chamilo-lms
fixed in 1.11.40; From 2.0.0 · fixed in 2.0.3
Evidence 8
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · chamilo/chamilo-lms · Advisory GHSA-97gp-5f3j-vwqr |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-61532 |
| Record | NVD · CVE-2026-61532 |
| Other links 5 | |
| Repository | GitHub · chamilo/chamilo-lms · Pull request #8569 |
| Repository | GitHub · chamilo/chamilo-lms · Commit a2e404fb |
| Repository | GitHub · chamilo/chamilo-lms · Commit d23787c8 |
| Repository | GitHub · chamilo/chamilo-lms · Release v1.11.40 |
| Repository | GitHub · chamilo/chamilo-lms · Release v2.0.3 |
Corrections
None so far.
Something wrong on this page? Report an error. Every fix is listed here.
Questions about CVE-2026-61532
Is CVE-2026-61532 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data
What does this mean?
CourseRestorer writes files extracted from a legacy course backup ZIP without confining their destination to the extraction directory. A crafted archive can therefore write files elsewhere on the server, which the advisory says can lead to remote code execution as the PHP-FPM user.Source: github.com
Which versions are affected by CVE-2026-61532?
chamilo-lms: before 1.11.40; from 2.0.0 before 2.0.3.Source: cve.now feed data
Am I affected, and how do I check?
The affected ranges are Chamilo LMS before 1.11.40 and 2.0.0 through 2.0.2. The exposed path is importing a crafted legacy course backup ZIP via CourseRestorer, which requires a course teacher account on the portal. Compare the installed Chamilo LMS version with these ranges.Source: github.com
How do I fix CVE-2026-61532?
Upgrade to 1.11.40 on the 1.x line or to 2.0.3 on the 2.0 line. The facts list no vendor patch identifiers, so these fixed versions are the reference.Source: github.com