# CVE-2024-4881: Path Traversal in parisneo/lollms

- Severity: High 7.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/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.88%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-06T18:17:13.833Z
- Modified: 2026-06-17T08:03:05.850Z
- Also known as: GHSA-p8h7-c8gw-6x8c, PYSEC-2024-108
- Weaknesses: CWE-22, CWE-36
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## Description

A path traversal vulnerability exists in the parisneo/lollms application, affecting version 9.4.0 and potentially earlier versions, but fixed in version 5.9.0. The vulnerability arises due to improper validation of file paths between Windows and Linux environments, allowing attackers to traverse beyond the intended directory and read any file on the Windows system. Specifically, the application fails to adequately sanitize file paths containing backslashes (`\`), which can be exploited to access the root directory and read, or even delete, sensitive files. This issue was discovered in the context of the `/user_infos` endpoint, where a crafted request using backslashes to reference a file (e.g., `\windows\win.ini`) could result in unauthorized file access. The impact of this vulnerability includes the potential for attackers to access sensitive information such as environment variables, database files, and configuration files, which could lead to further compromise of the system.

(As written by CVE List.)

## Affected

- parisneo parisneo/lollms: from unspecified before 5.9.0
- parisneo lollms: 9.4.0
- lollms (PyPI): before 9.5.0; before 95ad36eeffc6a6be3e3f35ed35a384d768f0ecf6; before 5.9.0
- lollms lollms: before 5.9.0

## Every score

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

## References

- <https://huntr.com/bounties/94f7f901-80b0-4cf5-b545-ac5c1e7635e9> (exploit, evidence, third-party-advisory, web)
- <https://github.com/parisneo/lollms/commit/95ad36eeffc6a6be3e3f35ed35a384d768f0ecf6> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-4881> (advisory)
- <https://github.com/parisneo/lollms> (package)
- <https://github.com/advisories/GHSA-p8h7-c8gw-6x8c> (advisory)

## Sources

- CVE List: [CVE-2024-4881](https://www.cve.org/CVERecord?id=CVE-2024-4881), CVE Terms of Use, modified 2024-08-01
- GitHub Advisory Database: [GHSA-p8h7-c8gw-6x8c](https://github.com/advisories/GHSA-p8h7-c8gw-6x8c), CC-BY-4.0, modified 2024-10-17
- NVD: [CVE-2024-4881](https://nvd.nist.gov/vuln/detail/CVE-2024-4881), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-108](https://osv.dev/vulnerability/PYSEC-2024-108), CC-BY-4.0, modified 2026-06-10

---

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