---
id: CVE-2026-10595
title: >-
  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`
summary: >-
  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, wh…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-23
published: '2026-08-09'
updated: '2026-08-09'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-10595'
references:
  - url: >-
      https://github.com/parisneo/lollms/commit/9bc6431ae7b708da76d51e7626a7cf48ff2b1d24
    label: security@huntr.dev
  - url: 'https://huntr.com/bounties/af3f40a3-38a1-49d8-a5ae-3d72b9b05b98'
    label: security@huntr.dev
tags:
  - nvd
ingestedAt: '2026-08-09T10:33:16.075Z'
epss: 0.00491
epssPercentile: 0.41296
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
