{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-4326","id":"CVE-2024-4326","title":"Remote Code Execution via `/apply_settings` and `/execute_code` in parisneo/lollms-webui","description":"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, arbi","descriptionLong":"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.","published":"2024-05-16T09:03:47.208Z","updated":"2026-10-28T02:30:57.391069628Z","reserved":"2024-04-29T19:18:48.950Z","status":"Analyzed","rejected":false,"assigner":"@huntr_ai","metric":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"@huntr_ai"},"metrics":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"@huntr_ai"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"huntr.dev"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["parisneo/lollms-webui"],"affectedProducts":[{"vendor":"parisneo","product":"parisneo/lollms-webui","defaultStatus":null,"versions":[{"version":"unspecified","lessThan":"9.5","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-15"],"aliases":[],"references":[{"url":"https://huntr.com/bounties/2ab9f03d-0538-4317-be21-0748a079cbdd","tags":["x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","web"]},{"url":"https://github.com/parisneo/lollms-webui/commit/abb4c6d495a95a3ef5b114ffc57f85cd650b905e","tags":["x_transferred","Patch","fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4326.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4326","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.00968,"epssPercentile":0.62535,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-4326","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4326","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-4326","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-4326","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}