Loading...
Skip to main content

CVE-2024-5443 — Vulnerability in lollms — CVE Details

CRITICAL

Remote Code Execution via path traversal bypass in lollms

Published June 29, 2026Updated July 1, 2026Source: osv

Summary

CVE-2024-4320 describes a vulnerability in the parisneo/lollms software, specifically within the `ExtensionBuilder().build_extension()` function. The vulnerability arises from the `/mount_extension` endpoint, where a path traversal issue allows attackers to navigate beyond the intended directory structure. This is facilitated by the `data.category` and `data.folder` parameters accepting empty strings (`""`), which, due to inadequate input sanitization, can lead to the construction of a `package_path` that points to the root directory. Consequently, if an attacker can create a `config.yaml` file in a controllable path, this path can be appended to the `extensions` list and trigger the execution of `__init__.py` in the current directory, leading to remote code execution. The vulnerability affects versions from 5.9.0, and has been addressed in version 9.5.1.

Advisory Timeline

  • First published June 29, 2026 (105 days ago).
  • Last revised July 1, 2026 — 2 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

pip
Update lollms to 9.5.1 or later
pip install "lollms>=9.5.1"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: pypi (1).

PackageEcosystemAffectedFixed In
lollms
pypi
5.9.0, 5.9.1, 5.9.2, 5.9.3 (+23 more)9.5.1

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2024-5443?
Remote Code Execution via path traversal bypass in lollms This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2024-5443?
CVE-2024-5443 affects lollms. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-5443 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

PYSEC-2026-402
GHSA-mvrm-fh8q-6wr2

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies