{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-4320","published":"2024-06-06T19:16:02.453000Z","last_modified":"2026-06-17T08:01:40.013000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-29","CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:lollms:lollms_web_ui:-:*:*:*:*:*:*:*","part":"a","vendor":"lollms","product":"lollms_web_ui"}],"cpes_truncated":false,"vendors":["lollms"],"products":["lollms/lollms_web_ui"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total"},"epss":{"score":0.03864,"percentile":0.90958,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2024-4320/","html_en":"/en/cve/CVE-2024-4320/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-4320","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-4320"},"untrusted":{"vendor_name":"Lollms","product_name":"Lollms Web Ui","desc_en":"A remote code execution (RCE) vulnerability exists in the '/install_extension' endpoint of the parisneo/lollms-webui application, specifically within the `@router.post(\"/install_extension\")` route handler. The vulnerability arises due to improper handling of the `name` parameter in the `ExtensionBuilder().build_extension()` method, which allows for local file inclusion (LFI) leading to arbitrary code execution. An attacker can exploit this vulnerability by crafting a malicious `name` parameter that causes the server to load and execute a `__init__.py` file from an arbitrary location, such as the upload directory for discussions. This vulnerability affects the latest version of parisneo/lollms-webui and can lead to remote code execution without requiring user interaction, especially when the application is exposed to an external endpoint or operated in headless mode.","affected":[{"untrusted_vendor":"parisneo","untrusted_product":"parisneo/lollms-webui","versions":[]},{"untrusted_vendor":"parisneo","untrusted_product":"lollms","versions":[]}],"references":[{"url":"https://huntr.com/bounties/d6564f04-0f59-4686-beb2-11659342279b","tags":["Exploit","Third Party Advisory"]}]}}