# CVE-2024-4498: Path Traversal and RFI Vulnerability in parisneo/lollms-webui

- Severity: High 7.7 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:C/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): 0.49%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-25T19:55:42.340Z
- Modified: 2026-06-17T08:01:59.953Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: @huntr_ai

## Description

A Path Traversal and Remote File Inclusion (RFI) vulnerability exists in the parisneo/lollms-webui application, affecting versions v9.7 to the latest. The vulnerability arises from insufficient input validation in the `/apply_settings` function, allowing an attacker to manipulate the `discussion_db_name` parameter to traverse the file system and include arbitrary files. This issue is compounded by the bypass of input filtering in the `install_binding`, `reinstall_binding`, and `unInstall_binding` endpoints, despite the presence of a `sanitize_path_from_endpoint(data.name)` filter. Successful exploitation enables an attacker to upload and execute malicious code on the victim's system, leading to Remote Code Execution (RCE).

(As written by CVE List.)

## Affected

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

## References

- <https://huntr.com/bounties/9238e88a-a6ca-4915-9b5d-6cdb4148d3f4> (exploit, issue-tracking, patch, third-party-advisory)

## Sources

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

---

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