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

CVE-2026-33710: Chamilo LMS Auth Bypass Vulnerability

CVE-2026-33710 is an authentication bypass flaw in Chamilo LMS caused by weak REST API key generation. Attackers can brute-force API keys to gain unauthorized access. This article covers technical details, affected versions, and mitigation.

Published: April 17, 2026

CVE-2026-33710 Overview

CVE-2026-33710 is an Insecure Random Number Generation vulnerability in Chamilo LMS, a popular open-source learning management system. The vulnerability exists in the REST API key generation mechanism, where keys are created using a predictable formula: md5(time() + (user_id * 5) - rand(10000, 10000)). Due to a critical flaw in the rand() function call where both minimum and maximum parameters are set to 10000, the random component is effectively eliminated, making the formula deterministic: md5(timestamp + user_id*5 - 10000).

Critical Impact

An attacker who knows a username and can estimate the approximate API key creation time can brute-force valid REST API keys, potentially gaining unauthorized access to user accounts and sensitive educational data.

Affected Products

  • Chamilo LMS versions prior to 1.11.38
  • Chamilo LMS 2.0.0-alpha1 through 2.0.0-alpha5
  • Chamilo LMS 2.0.0-beta1 through 2.0.0-beta3
  • Chamilo LMS 2.0.0-rc1 and 2.0.0-rc2

Discovery Timeline

  • April 10, 2026 - CVE-2026-33710 published to NVD
  • April 16, 2026 - Last updated in NVD database

Technical Details for CVE-2026-33710

Vulnerability Analysis

This vulnerability stems from a fundamental cryptographic weakness in how Chamilo LMS generates REST API keys for user authentication. The core issue lies in the PHP code responsible for creating these keys, specifically in the usermanager.lib.php file.

The vulnerable code uses md5((time() + ($user_id * 5)) - rand(10000, 10000)) to generate API keys. The critical flaw is the rand(10000, 10000) call—when both the minimum and maximum parameters are identical, PHP's rand() function will always return that exact value (10000). This completely eliminates any randomness from the key generation process.

As a result, the API key becomes a simple MD5 hash of a predictable value: the Unix timestamp plus five times the user ID, minus the constant 10000. An attacker with knowledge of a target user's ID and an approximate timeframe of when their API key was created can compute all possible keys within that window and attempt authentication.

Root Cause

The root cause is the misuse of PHP's rand() function with identical minimum and maximum parameters (rand(10000, 10000)), which was likely intended to provide randomness but instead produces a constant value. This transforms what should be a cryptographically unpredictable API key into a deterministically calculable value based on publicly observable or guessable information.

The vulnerability falls under CWE-330 (Use of Insufficiently Random Values), as the generated API keys lack the entropy required for secure authentication tokens.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Identifying a target user's ID (often sequential or enumerable in LMS systems)
  2. Estimating the timeframe when the user's API key was created
  3. Generating all possible MD5 hashes for timestamps within that window
  4. Attempting API authentication with each calculated key until successful

The following code shows the vulnerable implementation and the security patch applied:

Vulnerable Code (removed):

php
$md5 = md5((time() + ($user_id * 5)) - rand(10000, 10000)); //generate some kind of random key

Patched Code (version 1.11.38):

php
$md5 = bin2hex(random_bytes(32));

Source: GitHub Commit Patch

Patched Code (version 2.0.0-RC.3):

php
$apiKey = bin2hex(random_bytes(16)); // cryptographically secure random API key
$num = Database::insert(
    Database::get_main_table(TABLE_MAIN_USER_API_KEY),
    [
        'user_id' => $user_id,
        'api_key' => $apiKey,
        'api_service' => $api_service,
    ]
);

Source: GitHub Commit Update

The fix replaces the weak MD5-based generation with PHP's random_bytes() function, which provides cryptographically secure pseudo-random bytes suitable for authentication tokens.

Detection Methods for CVE-2026-33710

Indicators of Compromise

  • Unusual volume of REST API authentication attempts against user accounts
  • Sequential or pattern-based API key values in authentication logs that follow the predictable MD5 format
  • Multiple failed API authentication attempts followed by a successful one from the same source
  • API access from unexpected IP addresses or geographic locations

Detection Strategies

  • Monitor REST API endpoints for brute-force authentication patterns
  • Implement rate limiting on API key validation endpoints
  • Review existing API keys in the user_api_key database table for keys that match the weak generation pattern
  • Deploy Web Application Firewall (WAF) rules to detect and block rapid API authentication attempts

Monitoring Recommendations

  • Enable detailed logging for all REST API authentication events
  • Set up alerts for unusual API access patterns or high failure rates
  • Monitor for automated scanning tools probing API endpoints
  • Regularly audit API key creation timestamps and usage patterns

How to Mitigate CVE-2026-33710

Immediate Actions Required

  • Upgrade Chamilo LMS to version 1.11.38 or 2.0.0-RC.3 immediately
  • Invalidate and regenerate all existing REST API keys after applying the patch
  • Review API access logs for any signs of unauthorized access
  • Implement IP-based rate limiting on API authentication endpoints

Patch Information

Chamilo has released security patches addressing this vulnerability:

  • Version 1.11.38: Contains the fix using random_bytes(32) for API key generation
  • Version 2.0.0-RC.3: Contains the fix using random_bytes(16) for API key generation

For detailed patch information, refer to the GitHub Security Advisory GHSA-rpmg-j327-mr39.

Workarounds

  • Disable REST API functionality if not required until patches can be applied
  • Implement additional authentication layers (IP allowlisting, VPN requirements) for API access
  • Deploy a reverse proxy with strict rate limiting in front of the Chamilo application
  • Monitor and block suspicious API authentication patterns at the network level
bash
# Example: Regenerate API keys after patching (run via Chamilo CLI or database)
# First, backup existing keys for audit purposes
mysqldump -u chamilo_user -p chamilo_db user_api_key > api_keys_backup.sql

# After patching, consider truncating old keys to force regeneration
# WARNING: This will invalidate all existing API integrations
# mysql -u chamilo_user -p chamilo_db -e "TRUNCATE TABLE user_api_key;"

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:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-330
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Commit Patch

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

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

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

  • CVE-2026-31940: 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