All vulnerabilities

Servers and applications

CVE-2026-61603

Zip Slip Path Traversal leading to Remote Code Execution in Moodle Course Import (< 2.0.3)

Severity
Critical 9.9
Published
4 Aug 2026
Last changed
4 Aug 2026
Added to UpHeron
3 Nov 2026
Fixed in
2.0.3
Weakness
Path traversal (CWE-22)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Also known as
GHSA-94h4-9vrp-v3cv
Sources
Project advisories (GitHub)

Description

A Zip Slip path traversal vulnerability in the Moodle course import handler (public/main/inc/lib/MoodleImport.php) allows an authenticated teacher to upload a crafted .mbz (Moodle Backup ZIP) archive containing path-traversal entries (e.g. ../../../public/shell.php). PclZip extracts entries without validating filenames, writing attacker-controlled files to arbitrary locations on the server — including the web root — resulting in Remote Code Execution as the web server user.

  • Remote Code Execution as the web server user (www-data) from any teacher-level account
  • Full server compromise: read/write arbitrary files, pivot to database, exfiltrate all user data
  • No admin privileges required — any teacher with course import access is sufficient
  • The application/gzip branch in the same file already has the correct fix, making this a clear inconsistency between the two branches

Fix — add pre-extraction traversal validation mirroring the existing gzip branch:

From chamilo/chamilo-lms's security advisory.

Affected software

SoftwareAffected versions
Chamilo LMSServers and applications · github:chamilo/chamilo-lms
  • Every version before 2.0.3

About Chamilo LMS

Free Software Learning Management System

From Wikidata, CC0 1.0.
Share of websites with a known CMS
0.6%W3Techs, Nov 2026
GitHub stars
1,024GitHub, 15 Nov 2026
Forks
567GitHub, 15 Nov 2026
Latest release
v3.0.2GitHub, 15 Nov 2026
Released
3 Nov 2026GitHub
License
GPL-3.0GitHub
Written in
PHP, JavaScriptWikidata
First released
18 Jan 2010Wikidata
First published on GitHub
29 Mar 2013GitHub

References