{"id":"CVE-2024-4078","aliases":["PYSEC-2026-1593"],"url":"https://o3.security/vulnerability/CVE-2024-4078","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.","published":"2024-05-16T09:33:08Z","modified":"2026-07-07T17:57:04.498146505Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"lollms","fixedVersion":"9.5.0"}],"fix":{"url":"https://github.com/parisneo/lollms/commit/7ebe08da7e0026b155af4f7be1d6417bc64cf02f","label":"parisneo/lollms@7ebe08d"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4078"},{"type":"WEB","url":"https://github.com/parisneo/lollms/commit/7ebe08da7e0026b155af4f7be1d6417bc64cf02f"},{"type":"PACKAGE","url":"https://github.com/parisneo/lollms"},{"type":"WEB","url":"https://huntr.com/bounties/a55a8c04-df44-49b2-bcfa-2a2b728a299d"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-07T17:57:04.498146505Z"}}