CVE-2026-29041
Received Received - Intake
Authenticated Remote Code Execution in Chamilo LMS File Uploads

Publication date: 2026-03-06

Last updated on: 2026-03-09

Assigner: GitHub, Inc.

Description
Chamilo is a learning management system. Prior to version 1.11.34, Chamilo LMS is affected by an authenticated remote code execution vulnerability caused by improper validation of uploaded files. The application relies solely on MIME-type verification when handling file uploads and does not adequately validate file extensions or enforce safe server-side storage restrictions. As a result, an authenticated low-privileged user can upload a crafted file containing executable code and subsequently execute arbitrary commands on the server. This issue has been patched in version 1.11.34.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-06
Last Modified
2026-03-09
Generated
2026-06-16
AI Q&A
2026-03-06
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
chamilo chamilo_lms to 1.11.34 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-434 The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Impact Analysis

Exploitation of this vulnerability can lead to full system compromise. Attackers can execute arbitrary commands on the server, gain unauthorized access to sensitive data, modify or delete content, and disrupt services. This results in a complete loss of confidentiality, integrity, and availability of the affected system.

Compliance Impact

I don't know

Executive Summary

CVE-2026-29041 is a high-severity authenticated remote code execution vulnerability in Chamilo LMS versions up to 1.11.32. It arises from improper validation of uploaded files, where the system relies only on MIME-type verification, which can be bypassed by attackers. Specifically, malicious users can upload files that appear as images but contain executable PHP code. When a certain configuration is enabled, these files are saved with their original extensions in web-accessible directories, allowing attackers to execute arbitrary code on the server.

Detection Guidance

[{'type': 'paragraph', 'content': "This vulnerability can be detected by checking for the presence of uploaded files with executable extensions such as .php, .phtml, or .phar in web-accessible directories used by Chamilo LMS, especially if the configuration option $_configuration['enable_uploadimage_editor'] is enabled."}, {'type': 'paragraph', 'content': 'You can also monitor HTTP requests to the endpoint main/inc/ajax/document.ajax.php with the ck_uploadimage action to identify suspicious file uploads.'}, {'type': 'paragraph', 'content': 'Suggested commands to detect potentially malicious files include:'}, {'type': 'list_item', 'content': 'Find files with executable extensions in the upload directory, for example: find /path/to/chamilo/uploads -type f \\( -name "*.php" -o -name "*.phtml" -o -name "*.phar" \\)'}, {'type': 'list_item', 'content': 'Check for files containing PHP code by searching for PHP tags: grep -r "<?php" /path/to/chamilo/uploads'}, {'type': 'list_item', 'content': 'Review web server logs for requests to uploaded files with suspicious extensions or unusual access patterns.'}] [1]

Mitigation Strategies

[{'type': 'paragraph', 'content': 'Immediate mitigation steps include:'}, {'type': 'list_item', 'content': 'Upgrade Chamilo LMS to version 1.11.34 or later, where this vulnerability has been patched.'}, {'type': 'list_item', 'content': 'Enforce strict file extension allowlisting on uploaded files, accepting only safe image extensions such as .jpg, .png, and .gif, and rejecting executable extensions like .php, .phtml, or .phar regardless of MIME type.'}, {'type': 'list_item', 'content': 'Avoid relying solely on MIME-type validation; use MIME-type checks only as a secondary measure.'}, {'type': 'list_item', 'content': 'Store uploaded files outside of web-accessible directories or serve them through controlled handlers to prevent direct execution.'}, {'type': 'list_item', 'content': "If possible, disable the configuration option $_configuration['enable_uploadimage_editor'] to prevent saving files with original executable extensions."}] [1]

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-29041. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart