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-31940

CVE-2026-31940: Chamilo LMS Auth Bypass Vulnerability

CVE-2026-31940 is an authentication bypass flaw in Chamilo LMS caused by session fixation in aicc_hacp.php. Attackers can hijack user sessions to gain unauthorized access. This article covers technical details.

Published: April 17, 2026

CVE-2026-31940 Overview

CVE-2026-31940 is a session fixation vulnerability affecting Chamilo LMS, a widely-used open-source learning management system. The vulnerability exists in the main/lp/aicc_hacp.php file where user-controlled request parameters are directly used to set the PHP session ID before the global bootstrap is loaded. This improper session management allows attackers to fixate a victim's session, potentially leading to account takeover and unauthorized access to sensitive educational data.

Critical Impact

Attackers can exploit this session fixation vulnerability to hijack authenticated user sessions, potentially gaining unauthorized access to student records, course materials, and administrative functions within the Chamilo LMS platform.

Affected Products

  • Chamilo LMS versions prior to 1.11.38
  • Chamilo LMS 2.x versions prior to 2.0.0-RC.3

Discovery Timeline

  • April 10, 2026 - CVE-2026-31940 published to NVD
  • April 13, 2026 - Last updated in NVD database

Technical Details for CVE-2026-31940

Vulnerability Analysis

This session fixation vulnerability (CWE-384) occurs in the AICC (Aviation Industry Computer-Based Training Committee) HACP (HTTP-based AICC Communication Protocol) implementation within Chamilo LMS. The vulnerable code path in main/lp/aicc_hacp.php accepts user-supplied input to directly set the PHP session identifier without proper validation or sanitization. Because this occurs before the global bootstrap loads, standard security controls are bypassed.

Session fixation attacks allow an adversary to force a known session identifier onto a victim. When the victim subsequently authenticates, the attacker can use the pre-established session ID to access the authenticated session. In the context of an LMS, this could expose student grades, personal information, course content, and potentially administrative functionality depending on the compromised account's privileges.

Root Cause

The root cause is improper session management where user-controlled request parameters are used to set the PHP session ID before security bootstrapping occurs. The AICC HACP protocol implementation trusts external input for session identification without regenerating session IDs upon authentication, enabling session fixation attacks.

Attack Vector

The attack is network-based and requires user interaction. An attacker can craft a malicious URL containing a predetermined session identifier and trick a victim into clicking it. When the victim authenticates to Chamilo LMS, the attacker can then use the same session ID to hijack the authenticated session. The attack complexity is high due to the need for social engineering and timing, but successful exploitation results in complete compromise of the victim's session with full read and write access to their account data.

The patches provided by Chamilo completely deprecate and disable AICC support functionality, removing the vulnerable code path entirely:

php
// Security patch in main/inc/lib/UnserializeApi.php - LP: Deprecate and disable AICC support functionality
                    [
                        learnpath::class,
                        learnpathItem::class,
-                        aicc::class,
-                        aiccBlock::class,
-                        aiccItem::class,
-                        aiccObjective::class,
-                        aiccResource::class,
+                        //aicc::class,
+                        //aiccBlock::class,
+                        //aiccItem::class,
+                        //aiccObjective::class,
+                        //aiccResource::class,
                        scorm::class,
                        scormItem::class,
                        scormMetadata::class,

Source: GitHub Commit

Detection Methods for CVE-2026-31940

Indicators of Compromise

  • Unusual requests to main/lp/aicc_hacp.php containing session ID parameters in query strings
  • Multiple sessions from different IP addresses sharing the same session identifier
  • Anomalous authentication patterns where session IDs exist before user login events
  • HTTP requests with externally-supplied PHPSESSID or similar session parameters targeting AICC endpoints

Detection Strategies

  • Monitor web server access logs for requests to /main/lp/aicc_hacp.php with suspicious session-related parameters
  • Implement web application firewall (WAF) rules to detect session ID injection attempts in URL parameters
  • Enable PHP session logging and analyze for session fixation patterns where session creation and authentication occur from different source IPs
  • Deploy intrusion detection signatures for AICC HACP protocol abuse targeting Chamilo installations

Monitoring Recommendations

  • Configure real-time alerting for access attempts to deprecated AICC endpoints after patching
  • Implement session management monitoring to detect sessions that persist across multiple authentication events without regeneration
  • Review authentication logs for patterns indicating session hijacking following suspicious AICC endpoint activity

How to Mitigate CVE-2026-31940

Immediate Actions Required

  • Upgrade Chamilo LMS to version 1.11.38 or later for the 1.x branch
  • Upgrade Chamilo LMS to version 2.0.0-RC.3 or later for the 2.x branch
  • If immediate patching is not possible, restrict or block access to main/lp/aicc_hacp.php at the web server level
  • Review session logs for any signs of prior exploitation

Patch Information

Security patches are available through the official Chamilo GitHub repository. The fix completely deprecates and disables AICC support functionality, eliminating the vulnerable code path. Two commits address this vulnerability across both the 1.x and 2.x branches:

  • Patch for 1.x branch
  • Patch for 2.x branch

For complete details, refer to the GitHub Security Advisory GHSA-4gp7-cfjh-77gv.

Workarounds

  • Block access to the vulnerable AICC endpoint at the web server or reverse proxy level if AICC functionality is not required
  • Implement strict session management controls including session regeneration on authentication
  • Configure PHP to reject externally-supplied session IDs using session.use_strict_mode = 1
bash
# Apache configuration to block vulnerable AICC endpoint
<Location "/main/lp/aicc_hacp.php">
    Require all denied
</Location>

# PHP configuration hardening for session management
# Add to php.ini
session.use_strict_mode = 1
session.use_only_cookies = 1
session.cookie_httponly = 1

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechChamilo

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-384
  • Technical References
  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-33702: Chamilo LMS Auth Bypass Vulnerability

  • CVE-2026-33707: Chamilo LMS Auth Bypass Vulnerability

  • CVE-2026-33710: Chamilo LMS Auth Bypass Vulnerability

  • CVE-2026-32930: Chamilo LMS Auth Bypass 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