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-2024-4326

CVE-2024-4326: Lollms Web UI RCE Vulnerability

CVE-2024-4326 is a remote code execution flaw in Lollms Web UI allowing attackers to execute arbitrary code by exploiting unprotected endpoints. This article covers technical details, affected versions, and mitigation.

Published: April 15, 2026

CVE-2024-4326 Overview

A critical remote code execution vulnerability exists in parisneo/lollms-webui versions up to 9.3. The vulnerability allows remote attackers to execute arbitrary code due to insufficient protection of the /apply_settings and /execute_code endpoints. Attackers can exploit this flaw by manipulating application settings to bypass security controls and subsequently execute malicious commands on the target system.

Critical Impact

Remote attackers can achieve full system compromise by executing arbitrary commands without authentication, potentially leading to complete loss of confidentiality, integrity, and availability of affected systems.

Affected Products

  • lollms lollms_web_ui versions up to 9.3

Discovery Timeline

  • 2024-05-16 - CVE CVE-2024-4326 published to NVD
  • 2025-07-09 - Last updated in NVD database

Technical Details for CVE-2024-4326

Vulnerability Analysis

This vulnerability is classified under CWE-15 (External Control of System or Configuration Setting), which occurs when software allows external actors to control system settings or configuration values that can influence application behavior in dangerous ways.

The lollms-webui application exposes two critical API endpoints that, when exploited in sequence, enable remote code execution. The /apply_settings endpoint can be manipulated to modify security-critical configurations, while the /execute_code endpoint can then be leveraged to run arbitrary commands on the underlying system.

The attack chain exploits a timing vulnerability in how settings are enforced, allowing attackers to disable security controls before executing malicious payloads.

Root Cause

The root cause stems from insufficient access control and validation on the /apply_settings endpoint combined with inadequate protection of the /execute_code endpoint. The application fails to properly restrict who can modify security-critical settings such as host binding, code execution permissions, and code validation settings. Additionally, there is a race condition or delay in settings enforcement that attackers can exploit to execute code before protective measures are applied.

Attack Vector

The attack is conducted over the network and requires no authentication or user interaction. An attacker first sends a request to the /apply_settings endpoint to configure the host to localhost, enable code execution functionality, and disable code validation mechanisms. Due to a delay in how these settings are enforced, the attacker can then immediately send a request to the /execute_code endpoint containing arbitrary commands, which are executed before the protective settings can take effect.

The vulnerability allows for a complete compromise of the underlying system, as arbitrary code execution enables attackers to read sensitive data, modify system configurations, install malware, or pivot to other systems on the network.

Detection Methods for CVE-2024-4326

Indicators of Compromise

  • Unexpected HTTP POST requests to /apply_settings endpoint with suspicious configuration changes, particularly modifications to host bindings or code validation settings
  • HTTP requests to /execute_code endpoint from external or untrusted IP addresses
  • Unusual process spawning activity originating from the lollms-webui application process
  • Modifications to lollms-webui configuration files with settings that disable security controls

Detection Strategies

  • Monitor web server logs for sequential requests to /apply_settings followed by /execute_code endpoints from the same source
  • Implement behavioral analysis to detect configuration tampering attempts targeting security-critical settings
  • Deploy endpoint detection and response (EDR) solutions to identify suspicious process execution chains originating from web application processes
  • Configure alerts for any external access attempts to administrative endpoints

Monitoring Recommendations

  • Enable detailed logging for all API endpoints in lollms-webui, particularly /apply_settings and /execute_code
  • Implement rate limiting on sensitive endpoints to slow down exploitation attempts
  • Use SentinelOne's Singularity platform to monitor for suspicious process behavior and code execution anomalies
  • Configure network segmentation to limit exposure of the web application to trusted networks only

How to Mitigate CVE-2024-4326

Immediate Actions Required

  • Upgrade lollms-webui to version 9.5 or later immediately
  • If immediate upgrade is not possible, restrict network access to the application to trusted hosts only
  • Implement firewall rules to block external access to /apply_settings and /execute_code endpoints
  • Review system logs for any evidence of prior exploitation

Patch Information

The vulnerability was addressed in lollms-webui version 9.5. The fix is available in the GitHub commit abb4c6d495a95a3ef5b114ffc57f85cd650b905e. Organizations should update to version 9.5 or later to remediate this vulnerability. Additional details about the vulnerability can be found in the Huntr bug bounty report.

Workarounds

  • Configure network firewall or reverse proxy rules to restrict access to the lollms-webui application to only trusted IP addresses
  • Disable the code execution functionality entirely if not required for your use case
  • Run the lollms-webui application in an isolated container or sandboxed environment to limit the impact of potential exploitation
  • Implement authentication middleware in front of the application to require authentication for all API endpoints
bash
# Configuration example - restrict access using iptables
# Replace YOUR_TRUSTED_IP with your actual trusted IP address
iptables -A INPUT -p tcp --dport 9600 -s YOUR_TRUSTED_IP -j ACCEPT
iptables -A INPUT -p tcp --dport 9600 -j DROP

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechLollms

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.65%

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

  • Huntr Bug Bounty Record
  • Related CVEs
  • CVE-2024-2358: Lollms Web UI RCE Vulnerability

  • CVE-2024-4320: Lollms Web UI RCE Vulnerability

  • CVE-2024-2359: Lollms Web UI RCE Vulnerability

  • CVE-2026-1115: Lollms Stored XSS 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