{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-2356","published":"2026-02-02T11:15:52.320000Z","last_modified":"2026-06-17T07:24:22.810000Z","status":"Deferred","cvss":{"version":"3.0","score":9.6,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","source":"security@huntr.dev","primary":false},"auth":false,"cwes":["CWE-29"],"cpes":[],"cpes_truncated":false,"vendors":["parisneo"],"products":["parisneo/parisneo-lollms-webui"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"epss":{"score":0.01372,"percentile":0.72145,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":73,"links":{"html_es":"/es/cve/CVE-2024-2356/","html_en":"/en/cve/CVE-2024-2356/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-2356","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-2356"},"untrusted":{"vendor_name":"parisneo","product_name":"parisneo/lollms-webui","desc_en":"A Local File Inclusion (LFI) vulnerability exists in the '/reinstall_extension' endpoint of the parisneo/lollms-webui application, specifically within the `name` parameter of the `@router.post(\"/reinstall_extension\")` route. This vulnerability allows attackers to inject a malicious `name` parameter, leading to the server loading and executing arbitrary Python files from the upload directory for discussions. This issue arises due to the concatenation of `data.name` directly with `lollmsElfServer.lollms_paths.extensions_zoo_path` and its use as an argument for `ExtensionBuilder().build_extension()`. The server's handling of the `__init__.py` file in arbitrary locations, facilitated by `importlib.machinery.SourceFileLoader`, enables the execution of arbitrary code, such as command execution or creating a reverse-shell connection. This vulnerability affects the latest version of parisneo/lollms-webui and can lead to Remote Code Execution (RCE) when the application is exposed to an external endpoint or the UI, especially when bound to `0.0.0.0` or in `headless mode`. No user interaction is required for exploitation.","affected":[{"untrusted_vendor":"parisneo","untrusted_product":"parisneo/lollms-webui","versions":[]}],"references":[{"url":"https://github.com/parisneo/lollms-webui/commit/41dbb1b3f2e78ea276e5269544e50514252c0c25","tags":[]},{"url":"https://huntr.com/bounties/cb9867b4-28e3-4406-9031-f66fc28553d4","tags":[]}]}}