Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-33704

CVE-2026-33704: Chamilo LMS RCE Vulnerability

CVE-2026-33704 is a remote code execution flaw in Chamilo LMS that allows authenticated users to execute arbitrary code via file upload. This article covers technical details, affected versions, impact, and mitigation.

Published: April 17, 2026

CVE-2026-33704 Overview

CVE-2026-33704 is an arbitrary file write vulnerability in Chamilo LMS, an open-source learning management system, that can lead to Remote Code Execution (RCE). The vulnerability exists in versions prior to 1.11.38 and allows any authenticated user, including those with low-privilege student accounts, to write arbitrary content to files on the server via the BigUpload endpoint. By exploiting incomplete file extension filtering, attackers can upload malicious PHP files with the .pht extension, which on many Apache configurations is executed as PHP code.

Critical Impact

Authenticated users with minimal privileges can achieve full Remote Code Execution on vulnerable Chamilo LMS servers, potentially compromising the entire learning management platform and underlying infrastructure.

Affected Products

  • Chamilo LMS versions prior to 1.11.38
  • Chamilo LMS installations running on Apache with .pht PHP handler configuration
  • Any deployment using the BigUpload functionality

Discovery Timeline

  • 2026-04-10 - CVE-2026-33704 published to NVD
  • 2026-04-16 - Last updated in NVD database

Technical Details for CVE-2026-33704

Vulnerability Analysis

This vulnerability stems from insufficient file extension validation in the BigUpload endpoint of Chamilo LMS. The endpoint allows authenticated users to upload files where the key parameter controls the filename and the raw POST body becomes the file content. While the application attempts to filter dangerous file extensions by converting .php to .phps, the filtering mechanism fails to account for the .pht extension—an alternative PHP file extension that Apache can be configured to execute as PHP code.

The vulnerability is particularly dangerous because it requires only basic authentication to exploit. Even users with student-level privileges can leverage this flaw to write arbitrary content to the server filesystem. On Apache web servers where .pht files are configured to be handled by the PHP interpreter, this effectively grants the attacker full Remote Code Execution capabilities.

Root Cause

The root cause is an incomplete regular expression pattern in the php2phps() function within main/inc/lib/fileUpload.lib.php. The original regex pattern attempted to neutralize dangerous PHP-related extensions but omitted the .pht extension family from its filter list. This oversight allowed attackers to bypass the security control by using .pht instead of .php for their malicious payloads.

Attack Vector

The attack is network-based and requires low-privilege authentication. An attacker would:

  1. Authenticate to the Chamilo LMS platform with any valid user account (including student accounts)
  2. Send a crafted request to the BigUpload endpoint with a malicious filename containing the .pht extension in the key parameter
  3. Include PHP code in the raw POST body of the request
  4. Access the uploaded file via web browser to trigger code execution

The following patch shows the security fix applied in the php2phps() function:

php
  */
 function php2phps($file_name)
 {
-    return preg_replace('/\.(phar.?|php.?|phtml.?)(\\.){0,1}.*$/i', '.phps', $file_name);
+    return preg_replace('/\.(phar.?|php.?|pht.?|phtml.?)(\\.){0,1}.*$/i', '.phps', $file_name);
}

/**

Source: GitHub Commit Update

Detection Methods for CVE-2026-33704

Indicators of Compromise

  • Presence of .pht files in the Chamilo upload directories (typically app/upload/ or related paths)
  • Unexpected files with PHP code content in upload folders
  • Web server access logs showing requests to .pht files
  • Anomalous POST requests to the BigUpload endpoint with suspicious key parameter values

Detection Strategies

  • Monitor file creation events for .pht, .pht3, .pht4, .pht5, and similar extensions in web-accessible directories
  • Implement web application firewall (WAF) rules to block requests containing .pht extensions to upload endpoints
  • Audit authentication logs for unusual upload activity from low-privilege accounts
  • Deploy file integrity monitoring on Chamilo upload directories

Monitoring Recommendations

  • Enable verbose logging for the BigUpload endpoint and review for anomalous patterns
  • Set up alerts for new file creations with PHP-executable extensions in upload directories
  • Monitor process execution originating from the web server for signs of webshell activity
  • Implement regular automated scans of upload directories for unexpected executable files

How to Mitigate CVE-2026-33704

Immediate Actions Required

  • Upgrade Chamilo LMS to version 1.11.38 or later immediately
  • Audit existing upload directories for any .pht files and remove unauthorized files
  • Review Apache configuration to disable PHP execution for .pht files if not required
  • Temporarily restrict access to the BigUpload endpoint if patching is delayed

Patch Information

The vulnerability is fixed in Chamilo LMS version 1.11.38. The patch updates the php2phps() function in main/inc/lib/fileUpload.lib.php to include .pht and its variants in the filtered extension list. Organizations should apply this update through their standard Chamilo upgrade process.

For detailed patch information, see the GitHub Security Advisory and the security commit.

Workarounds

  • Configure Apache to not execute .pht files as PHP by removing or commenting out the relevant handler directives
  • Implement a web application firewall rule to block uploads containing .pht extensions
  • Apply filesystem-level restrictions to prevent creation of .pht files in upload directories
  • Consider using a reverse proxy to filter requests targeting the BigUpload endpoint
bash
# Apache configuration to disable PHP execution for .pht files
# Add to .htaccess or Apache configuration
<FilesMatch "\.pht[0-9]?$">
    SetHandler text/plain
</FilesMatch>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechChamilo

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.24%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-434
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-33698: Chamilo LMS RCE Vulnerability

  • CVE-2026-29041: Chamilo LMS RCE Vulnerability

  • CVE-2025-50187: Chamilo LMS RCE Vulnerability

  • CVE-2024-47886: Chamilo LMS RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English