CyberRota Analysis
AI-GeneratedA path traversal vulnerability in version 2.1.0 of parisneo/lollms allows unauthenticated attackers to exploit improperly handled user-controlled path inputs, enabling them to read arbitrary files from the server. The flaw arises from the lack of sanitization in the SPA catch-all route, which permits URL-encoded dot-dot sequences to bypass security measures. Organizations using this version should prioritize upgrading to version 3 to mitigate the risk of unauthorized file access.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
A path traversal vulnerability exists in parisneo/lollms version 2.1.0, specifically in the SPA catch-all route implemented in `backend/routers/ui.py`. The vulnerability arises from the improper handling of user-controlled path input, which is directly joined into a filesystem path without sanitization or containment checks. URL-encoded dot-dot sequences (`%2e%2e`) bypass Starlette's built-in path normalization and are resolved by Python's `pathlib`, allowing an unauthenticated attacker to read arbitrary files on the server. This issue has been resolved in version 3.