{"id":"CVE-2024-4326","aliases":["CVE-2024-4326"],"related":[],"kind":"vulnerability","state":"published","title":"Remote Code Execution via `/apply_settings` and `/execute_code` in parisneo/lollms-webui","summary":"A vulnerability in parisneo/lollms-webui versions up to 9.3 allows remote attackers to execute arbitrary code. The vulnerability stems from insufficient protection of the `/apply_settings` and `/execute_code` endpoints. Attackers can bypass protections by setting the host to localhost, enabling code execution, and disabling code validation through the `/apply_settings` endpoint. Subsequently, arbitrary commands can be executed remotely via the `/execute_code` endpoint, exploiting the delay in settings enforcement. This issue was addressed in version 9.5.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A vulnerability in parisneo/lollms-webui versions up to 9.3 allows remote attackers to execute arbitrary code. The vulnerability stems from insufficient protection of the `/apply_settings` and `/execute_code` endpoints. Attackers can bypass protections by setting the host to localhost, enabling code execution, and disabling code validation through the `/apply_settings` endpoint. Subsequently, arbitrary commands can be executed remotely via the `/execute_code` endpoint, exploiting the delay in settings enforcement. This issue was addressed in version 9.5.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad en las versiones parisneo/lollms-webui hasta 9.3 permite a atacantes remotos ejecutar código arbitrario. La vulnerabilidad se debe a una protección insuficiente de los endpoints `/apply_settings` y `/execute_code`. Los atacantes pueden eludir las protecciones configurando el host en localhost, habilitando la ejecución de código y deshabilitando la validación de código a través del endpoint `/apply_settings`. Posteriormente, se pueden ejecutar comandos arbitrarios de forma remota a través del endpoint `/execute_code`, aprovechando el retraso en la aplicación de la configuración. Este problema se solucionó en la versión 9.5.","source":"nvd"}],"published":"2024-05-16T09:03:47.208Z","modified":"2026-06-17T08:01:40.687Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-15"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"9.5","status":"affected"}],"vendor":"parisneo","product":"parisneo/lollms-webui","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"9.5","status":"affected"}],"vendor":"parisneo","product":"lollms-webui","cpe":"cpe:2.3:a:parisneo:lollms-webui:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"9.5"}],"vendor":"lollms","product":"lollms_web_ui","cpe":"cpe:2.3:a:lollms:lollms_web_ui:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://huntr.com/bounties/2ab9f03d-0538-4317-be21-0748a079cbdd","tags":["exploit","issue-tracking","patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/parisneo/lollms-webui/commit/abb4c6d495a95a3ef5b114ffc57f85cd650b905e","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2024-06-05T19:03:49.204Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-4326","url":"https://www.cve.org/CVERecord?id=CVE-2024-4326","licence":"CVE Terms of Use","modified":"2024-08-01T20:40:46.028Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-4326","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4326","licence":"Public domain","modified":"2026-06-17T08:01:40.687Z"}],"updatedAt":"2026-11-25T22:58:40.435Z","epss":{"score":0.00968,"percentile":0.62818,"date":"2026-12-01T12:00:22.000Z"}}