---
id: CVE-2025-6855
aliases:
  - GHSA-f823-phmg-x5fr
  - PYSEC-2026-1512
title: Langchain-Chatchat vulnerable to path traversal
summary: Langchain-Chatchat vulnerable to path traversal
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L'
vendor: langchain-chatchat
product: langchain-chatchat
ecosystem: pip
affected:
  - langchain-chatchat <= 0.3.1
published: '2025-06-29'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-f823-phmg-x5fr'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-6855'
  - url: 'https://github.com/chatchat-space/Langchain-Chatchat/issues/5354'
  - url: 'https://github.com/chatchat-space/Langchain-Chatchat'
  - url: 'https://vuldb.com/?ctiid.314327'
  - url: 'https://vuldb.com/?id.314327'
  - url: 'https://vuldb.com/?submit.601162'
tags:
  - osv
  - pip
epss: 0.00624
epssPercentile: 0.48569
ingestedAt: '2026-07-08T18:25:48.803Z'
---

## Overview

A vulnerability, which was classified as critical, has been found in chatchat-space Langchain-Chatchat up to 0.3.1. This issue affects some unknown processing of the file /v1/file. The manipulation of the argument flag leads to path traversal. The exploit has been disclosed to the public and may be used.

## Affected packages

- `langchain-chatchat <= 0.3.1`

## Remediation

Refer to the advisory for the patched release.
