# CVE-2024-6985: Path Traversal in api open_personality_folder in parisneo/lollms-webui

- Severity: Medium 4.4 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- 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.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-10-11T15:38:08.686Z
- Modified: 2026-06-17T08:19:07.777Z
- Also known as: GHSA-6h64-g7cj-hj56, PYSEC-2024-122
- Weaknesses: CWE-23
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## Description

A path traversal vulnerability exists in the api open_personality_folder endpoint of parisneo/lollms-webui. This vulnerability allows an attacker to read any folder in the personality_folder on the victim's computer, even though sanitize_path is set. The issue arises due to improper sanitization of the personality_folder parameter, which can be exploited to traverse directories and access arbitrary files.

(As written by CVE List.)

## Affected

- parisneo parisneo/lollms: from unspecified before 5.9.0
- parisneo lollms: before 5.9.0
- lollms (PyPI): up to 9.5.1; before 28ee567a9a120967215ff19b96ab7515ce469620; before 5.9.0
- lollms lollms: before 5.9.0

## Every score

- @huntr_ai: CVSS:3.0 4.4 Medium `CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.0 4.4 Medium `CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://huntr.com/bounties/79c11579-47d8-4e68-8466-b47c3bf5ef6a> (exploit, evidence, third-party-advisory, web)
- <https://github.com/parisneo/lollms/commit/28ee567a9a120967215ff19b96ab7515ce469620> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-6985> (advisory)
- <https://github.com/ParisNeo/lollms> (package)
- <https://github.com/advisories/GHSA-6h64-g7cj-hj56> (advisory)

## Sources

- CVE List: [CVE-2024-6985](https://www.cve.org/CVERecord?id=CVE-2024-6985), CVE Terms of Use, modified 2024-10-11
- GitHub Advisory Database: [GHSA-6h64-g7cj-hj56](https://github.com/advisories/GHSA-6h64-g7cj-hj56), CC-BY-4.0, modified 2024-11-15
- NVD: [CVE-2024-6985](https://nvd.nist.gov/vuln/detail/CVE-2024-6985), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-122](https://osv.dev/vulnerability/PYSEC-2024-122), CC-BY-4.0, modified 2026-06-10

---

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