{"cve":"CVE-2024-4881","nvd":{"published":"2024-06-06T19:16:03.063","modified":"2026-06-17T08:03:05.850","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-22","CWE-36"],"references":["https://github.com/parisneo/lollms/commit/95ad36eeffc6a6be3e3f35ed35a384d768f0ecf6","https://huntr.com/bounties/94f7f901-80b0-4cf5-b545-ac5c1e7635e9","https://github.com/parisneo/lollms/commit/95ad36eeffc6a6be3e3f35ed35a384d768f0ecf6","https://huntr.com/bounties/94f7f901-80b0-4cf5-b545-ac5c1e7635e9"],"products":["lollms:lollms"],"source":"nvd","synced_at":"2026-10-19T21:51:20.603330631+00:00"},"epss":{"cve":"CVE-2024-4881","score":0.00888,"percentile":0.59322,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-p8h7-c8gw-6x8c","url":"https://osv.dev/vulnerability/GHSA-p8h7-c8gw-6x8c","summary":"LoLLMS Path Traversal vulnerability","modified":"2024-10-17T17:57:08.408261Z","packages":[{"ecosystem":"PyPI","name":"lollms","purl":"pkg:pypi/lollms","ranges":["<9.5.0"],"fixed":["9.5.0"]}]},{"id":"PYSEC-2024-108","url":"https://osv.dev/vulnerability/PYSEC-2024-108","summary":"","modified":"2026-06-10T17:02:21.024734468Z","packages":[{"ecosystem":"PyPI","name":"lollms","purl":"pkg:pypi/lollms","ranges":["<5.9.0"],"fixed":["5.9.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}