A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2025-6386

CVE-2025-6386: Lollms Timing Attack Auth Bypass Flaw

CVE-2025-6386 is a timing attack authentication bypass vulnerability in the parisneo/lollms repository that allows attackers to enumerate usernames and guess passwords. This article covers technical details, affected versions, and mitigation.

Updated: May 19, 2026

CVE-2025-6386 Overview

CVE-2025-6386 is a timing attack vulnerability in the parisneo/lollms repository. The flaw resides in the authenticate_user function inside lollms_authentication.py. The function uses Python's default string equality operator to compare passwords, which exits at the first character mismatch. Attackers can measure response time differences to enumerate valid usernames and recover passwords character by character. The issue is fixed in version 20.1. This vulnerability is classified under [CWE-203] Observable Discrepancy.

Critical Impact

Remote attackers can enumerate valid usernames and incrementally recover passwords by analyzing authentication response timing, leading to full account compromise without prior credentials.

Affected Products

  • parisneo/lollms repository versions prior to 20.1
  • lollms_authentication.py authentication module
  • LoLLMs (Lord of Large Language Models) Web UI deployments using built-in authentication

Discovery Timeline

  • 2025-07-07 - CVE-2025-6386 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-6386

Vulnerability Analysis

The vulnerability exists in the authenticate_user function of lollms_authentication.py. The function compares submitted passwords against stored values using Python's standard == operator. This operator performs a sequential, character-by-character comparison and short-circuits when it encounters the first non-matching character. The execution time therefore correlates with the number of leading characters that match the expected value.

An attacker on the network can submit authentication attempts and measure the time the server takes to respond. Requests with passwords sharing more initial characters with the real value take measurably longer to fail. By iterating across the character space at each position, an attacker reconstructs the password incrementally. The same technique applies to username enumeration when the authentication path returns early for unknown accounts.

The vulnerability requires no authentication, no user interaction, and is exploitable remotely over the network. It only impacts confidentiality, but credential disclosure typically enables follow-on attacks against the application.

Root Cause

The root cause is the use of a non-constant-time string comparison for security-sensitive secrets. Python's == operator is optimized for performance, not constant-time evaluation. Authentication code must use comparison primitives such as hmac.compare_digest, which run in time dependent on the input length rather than content. The parisneo/lollms maintainers addressed this in commit f78437f7b5aa39a78c6201912faf4e0645a38c48.

Attack Vector

Attackers send a high volume of authentication requests to the lollms endpoint while measuring server response time. Statistical analysis of latency distributions reveals which candidate characters produce slower failures, indicating partial matches. The attacker advances one character at a time until the full password is recovered. Network jitter is mitigated by repeated sampling and percentile analysis. See the Huntr Bounty Report and GitHub Commit Details for technical details.

Detection Methods for CVE-2025-6386

Indicators of Compromise

  • High volume of failed authentication attempts from a single source against /lollms authentication endpoints over short intervals.
  • Sequential authentication requests with passwords that vary by a single trailing character.
  • Unusual request patterns showing systematic enumeration of username space prior to password attempts.
  • Sustained low-rate authentication probing designed to evade rate limits while collecting timing samples.

Detection Strategies

  • Instrument the authentication endpoint to log per-request latency and flag clients whose request distribution suggests timing measurement.
  • Alert on authentication request rates exceeding human-plausible thresholds from any single client IP or session.
  • Correlate failed login bursts with subsequent successful logins from the same source as an indicator of recovered credentials.

Monitoring Recommendations

  • Forward lollms web server access and authentication logs to a centralized logging or SIEM platform for retention and analysis.
  • Track response time variance on authentication endpoints and baseline normal latency to detect anomalous probing.
  • Monitor for password spray and credential stuffing signatures originating against the LoLLMs deployment.

How to Mitigate CVE-2025-6386

Immediate Actions Required

  • Upgrade parisneo/lollms to version 20.1 or later, which replaces the vulnerable comparison logic.
  • Force a password reset for all existing accounts to invalidate any credentials that may have been recovered.
  • Restrict network exposure of the LoLLMs interface to trusted networks or place it behind an authenticating reverse proxy.

Patch Information

The fix is included in parisneo/lollms version 20.1. The remediating change is documented in commit f78437f7b5aa39a78c6201912faf4e0645a38c48. Review the GitHub Commit Details to verify the constant-time comparison logic before redeploying.

Workarounds

  • Enforce strict rate limiting and account lockout on the authentication endpoint to reduce the feasibility of timing measurement.
  • Place the LoLLMs service behind a VPN or zero-trust network access gateway to remove unauthenticated network reachability.
  • Add randomized response delays in front of the authentication endpoint as a temporary measure until the upgrade is applied.
bash
# Upgrade lollms to the patched release
pip install --upgrade lollms==20.1

# Verify installed version
python -c "import lollms; print(lollms.__version__)"

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechParisneo

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.26%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-203
  • Technical References
  • GitHub Commit Details

  • Huntr Bounty Report
  • Latest CVEs
  • CVE-2026-9813: FlowIntel SSRF Vulnerability

  • CVE-2026-4377: D-Link DWR-X1820 Auth Bypass Vulnerability

  • CVE-2026-47074: ex_aws_sns Auth Bypass Vulnerability

  • CVE-2026-46241: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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