# CVE-2024-2358: Path Traversal leading to Remote Code Execution in parisneo/lollms-webui

- Severity: Critical 9.8 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.12%, higher than 67% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-05-16T09:03:45.397Z
- Modified: 2026-06-17T07:24:23.067Z
- Weaknesses: CWE-29
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: @huntr_ai

## Description

A path traversal vulnerability in the '/apply_settings' endpoint of parisneo/lollms-webui allows attackers to execute arbitrary code. The vulnerability arises due to insufficient sanitization of user-supplied input in the configuration settings, specifically within the 'extensions' parameter. Attackers can exploit this by crafting a payload that includes relative path traversal sequences ('../../../'), enabling them to navigate to arbitrary directories. This flaw subsequently allows the server to load and execute a malicious '__init__.py' file, leading to remote code execution. The issue affects the latest version of parisneo/lollms-webui.

(As written by CVE List.)

## Affected

- parisneo parisneo/lollms-webui: from unspecified up to latest
- parisneo lollms-webui: *
- lollms lollms_web_ui: before 9.5

## References

- <https://huntr.com/bounties/b2771df3-be50-45bd-93c4-0974ce38bc22> (exploit, issue-tracking, patch, third-party-advisory)

## Sources

- CVE List: [CVE-2024-2358](https://www.cve.org/CVERecord?id=CVE-2024-2358), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-2358](https://nvd.nist.gov/vuln/detail/CVE-2024-2358), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-2358 · Whole record: https://cve.day/CVE-2024-2358.json · Rebuilt by cve.day 2026-11-25T22:58:40.425Z
