{"id":"CVE-2024-4078","aliases":["GHSA-pwc9-q4hj-pg8g","PYSEC-2026-1593"],"title":"LoLLMS Command Injection vulnerability","summary":"LoLLMS Command Injection vulnerability","severity":"critical","cvss":9.8,"cvssVector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","vendor":"lollms","product":"lollms","ecosystem":"pip","affected":["lollms < 9.5.0"],"patched":["lollms 9.5.0"],"published":"2024-05-16","updated":"2026-07-07","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-pwc9-q4hj-pg8g","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4078"},{"url":"https://github.com/parisneo/lollms/commit/7ebe08da7e0026b155af4f7be1d6417bc64cf02f"},{"url":"https://github.com/parisneo/lollms"},{"url":"https://huntr.com/bounties/a55a8c04-df44-49b2-bcfa-2a2b728a299d"}],"tags":["osv","pip"],"epss":0.00924,"epssPercentile":0.58339,"ingestedAt":"2026-07-08T18:25:52.026Z","slug":"CVE-2024-4078","body":"## Overview\n\nA 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.\n\n## Affected packages\n\n- `lollms < 9.5.0`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `lollms 9.5.0`","depth":"midnight","depthScore":54,"depthScoreParts":{"impact":53.9,"likelihood":0.2,"exploitation":0,"ransomware":0},"changes":[]}