{"id":"CVE-2024-4881","published":"2024-06-06T18:17:13Z","modified":"2024-08-01T20:55:10Z","title":"Path Traversal in parisneo/lollms","vendor":"parisneo","product":"parisneo/lollms","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00881,"percentile":0.59995,"provenance":"source"},"cwes":[{"id":"CWE-36","name":"Absolute Path Traversal"}],"references":[{"url":"https://huntr.com/bounties/94f7f901-80b0-4cf5-b545-ac5c1e7635e9","tags":[]},{"url":"https://github.com/parisneo/lollms/commit/95ad36eeffc6a6be3e3f35ed35a384d768f0ecf6","tags":[]}],"priority":{"score":17.2,"factors":[{"name":"EPSS percentile","points":12.0},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"parisneo","affectedVersions":[{"vendor":"parisneo","product":"parisneo/lollms","versions":[">= unspecified, < 5.9.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-06-06T20:00:38.951300Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"lollms","vulnerableRanges":["<9.5.0","<5.9.0"],"patched":["9.5.0","5.9.0"],"from":["GHSA-p8h7-c8gw-6x8c","PYSEC-2024-108"],"provenance":"source"}],"summary":{"text":"A path traversal flaw in parisneo/lollms, a product from vendor parisneo, arises from improper validation of file paths containing backslashes when the application runs across Windows and Linux environments, and it is exposed through the /user_infos endpoint. An attacker with network access and no authentication or user interaction can send a crafted request using backslash-separated paths (for example, referencing a Windows system file) to read files outside the intended directory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:47:51Z"},"euvd":{"id":"EUVD-2024-0095","exploited":false,"provenance":"source"}}