Advisory

GHSA-pwc9-q4hj-pg8g

Also known as: CVE-2024-4078, PYSEC-2026-1593

Summary

LoLLMS Command Injection vulnerability

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-05-16 09:33 UTC
Modified
2026-07-07 17:57 UTC

Affected packages and fixes

lollms

PyPI · All systems

Affected

  • introduced 0, fixed 9.5.0 (ecosystem)

Fixed versions

9.5.0

Fix

  • Fixed version 9.5.0
    pip install --upgrade lollms==9.5.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences