Vulnerability · Published May 16, 2024 · Assigned by @huntr_ai

CVE-2024-4078Arbitrary Code Execution in parisneo/lollms

Critical 9.8

In plain English

A critical-severity command injection in parisneo/lollms from parisneo. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)9.8Critical
Exploit odds (30 days)0.9%top 39.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

A vulnerability in the parisneo/lollms, specifically in the `/unInstall_binding` endpoint, allows for arbitrary code execution due to insufficient sanitization of user input. The issue arises from the lack of path sanitization when handling the `name` parameter in the `unInstall_binding` function, allowing an attacker to traverse directories and execute arbitrary code by loading a malicious `__init__.py` file. This vulnerability affects the latest version of the software. The exploitation of this vulnerability could lead to remote code execution on the system where parisneo/lollms is deployed.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIlollms9.5.0GHSA-pwc9-q4hj-pg8g
PyPIlollms9.5.0PYSEC-2026-1593

Affected products (as reported)

VendorProductVersions
parisneo parisneo/lollms unspecified – before main

Weakness: CWE-77 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References