Safeguard
Vulnerability Analysis•

CVE-2024-2359: Critical Remote Code Execution in Lollms Web UI 9.3

CVE-2024-2359 is a critical remote code execution flaw in Lollms Web UI 9.3 via update_setting. No fixed version is confirmed. Keep it off networks.

Safeguard Security Team
3 min read

CVE-2024-2359 is a critical severity (9.8) flaw in Lollms Web UI (parisneo/lollms-webui): remote code execution through a bypass of the host restriction on /execute_code. The record names no fixed release. Keep the interface off any untrusted network and check the project for a newer version before use.

Weakness: CWE-78 (OS Command Injection).

What's affected

  • Affected: parisneo/lollms-webui, 9.3. The CPE lists version 9.3.
  • Fixed: none named in the record. Check the project's releases.
  • Attack conditions: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, which means network reachable, no privileges and no user interaction.

The record says the /update_setting endpoint lacks proper access control, so the host configuration can be changed at runtime and the intended restriction on /execute_code is bypassed.

How to check if you're exposed

Lollms Web UI is a self-hosted Python application. Check your copy.

  1. Find your installed version from the interface or the repository tag you cloned.
  2. Confirm which network interfaces the process listens on, for example with ss -ltnp on Linux or netstat -ano on Windows, and look for the web UI port bound to anything other than localhost.
  3. Check whether a reverse proxy or port forward makes it reachable from other networks.

If you track dependencies, the free in-browser dependency scan can show whether a library or package in your project matches a known CVE. It will not find a standalone PHP application or a firmware image that was never packaged as a dependency, so keep your own inventory of those.

What to do now

  1. Bind the interface to localhost, or place it behind authentication and a VPN. Do not publish it to the internet.
  2. Check the lollms-webui project for a release that addresses this CVE and read its notes. The record names none.
  3. Run the application as a low-privilege account in a container or VM so a code execution or file deletion bug has limited reach.
  4. Back up the data you care about, since the record describes file deletion or code execution as possible outcomes.
  5. Keep the version and exposure in your inventory so you can recheck when a fix ships.

Why it matters

The record classes this as CWE-78 (OS Command Injection). In plain terms, the application trusts input that controls a file path or a setting that controls access, and an unauthenticated visitor can supply it. These tools are often installed on a workstation for convenience, then exposed on a network without anyone deciding to.

NVD scored it 9.8 (Critical). The KEV flag is false, and the huntr report cited in the record does not claim exploitation in the wild.

Quick check

Is there a fixed version for CVE-2024-2359?

The record names none. Check the lollms-webui releases and the huntr report before assuming a fix.

Does this affect only Windows?

The record does not limit it to Windows.

Sources

Last reviewed: 19 October 2026.

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.