# CVE-2024-2624: Path Traversal and Arbitrary File Upload Vulnerability in parisneo/lollms-webui

- Severity: Critical 9.4 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/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.35%, higher than 72% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-06T18:11:44.254Z
- Modified: 2026-06-17T07:24:54.893Z
- Weaknesses: CWE-22, CWE-29
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## Description

A path traversal and arbitrary file upload vulnerability exists in the parisneo/lollms-webui application, specifically within the `@router.get("/switch_personal_path")` endpoint in `./lollms-webui/lollms_core/lollms/server/endpoints/lollms_user.py`. The vulnerability arises due to insufficient sanitization of user-supplied input for the `path` parameter, allowing an attacker to specify arbitrary file system paths. This flaw enables direct arbitrary file uploads, leakage of `personal_data`, and overwriting of configurations in `lollms-webui`->`configs` by exploiting the same named directory in `personal_data`. The issue affects the latest version of the application and is fixed in version 9.4. Successful exploitation could lead to sensitive information disclosure, unauthorized file uploads, and potentially remote code execution by overwriting critical configuration files.

(As written by CVE List.)

## Affected

- parisneo parisneo/lollms-webui: from unspecified before 9.4
- parisneo lollms-webui: before 9.4
- lollms lollms_web_ui: before 9.4

## Every score

- @huntr_ai: CVSS:3.0 9.4 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://huntr.com/bounties/39e17897-0e92-4473-91c7-f728322191aa> (exploit, third-party-advisory)
- <https://github.com/parisneo/lollms-webui/commit/aeba79f3ea934331b8ecd625a58bae6e4f7e7d3f> (patch)

## Sources

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

---

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