Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Network-reachable HTTP endpoint (AV:N), no authentication or configuration prerequisite (PR:N, AC:L), read-only arbitrary file disclosure (C:H, I:N, A:N).
Primary rating from Vendor (huntr_ai).
CVSS VectorVendor: huntr_ai
Lifecycle Timeline
4DescriptionCVE.org
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.
AnalysisAI
Path traversal in parisneo/lollms 2.1.0 exposes arbitrary server files to unauthenticated remote attackers via the SPA catch-all route in backend/routers/ui.py. URL-encoded dot-dot sequences (%2e%2e) bypass Starlette's built-in path normalization and are decoded by Python's pathlib.resolve(), allowing directory escape from the static file root with no privileges or user interaction required. No public exploit has been independently confirmed at time of analysis, though the public fix commit at GitHub fully documents the vulnerable code pattern and the bypass technique, substantially lowering the bar for exploit development.
Technical ContextAI
LoLLMs is a Python-based AI assistant and LLM orchestration platform built on FastAPI/Starlette. The affected component is the SPA catch-all route, which serves static frontend assets by joining a user-controlled path segment directly onto STATIC_DIR using pathlib's / operator. The flaw emerges from a mismatch between two layers: Starlette's routing normalizes standard ../ sequences but does not decode percent-encoded equivalents such as %2e%2e/ before passing them to application logic. Python's pathlib.Path.resolve() does perform percent-decoding, so STATIC_DIR / '%2e%2e/etc/passwd' resolves to an absolute path outside the intended directory root. CWE-23 (Relative Path Traversal) precisely describes this root cause class - unsanitized user-controlled relative path components used in filesystem operations without containment enforcement. The fix, visible in commit 9bc6431, introduces Path.resolve() on both the candidate path and the base directory followed by an is_relative_to() check to enforce containment before serving any file.
RemediationAI
Upgrade to LoLLMs version 3 or later, which enforces filesystem containment via Path.resolve() and is_relative_to() in the SPA catch-all route. The patch is available at https://github.com/parisneo/lollms/commit/9bc6431ae7b708da76d51e7626a7cf48ff2b1d24 and full disclosure at https://huntr.com/bounties/af3f40a3-38a1-49d8-a5ae-3d72b9b05b98. If an immediate upgrade is not feasible, place a reverse proxy such as nginx in front of the LoLLMs instance and configure request filtering to reject or normalize URLs containing percent-encoded dot sequences (%2e) before they reach the Python application - note this approach adds operational complexity and may not catch all multi-encoding variants, making it an imperfect compensating control. A more reliable interim measure is restricting network access to the LoLLMs web interface to trusted hosts only (firewall or network segmentation), which eliminates unauthenticated remote exposure while upgrade is coordinated. Running the LoLLMs process under a dedicated low-privilege OS account with minimal filesystem read permissions limits the blast radius of exploitation even if the flaw is triggered.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
Same weakness CWE-23 – Relative Path Traversal
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-54864
GHSA-37c2-pxv8-c2mx