---
id: CVE-2024-6090
aliases:
  - PYSEC-2024-319
title: >-
  A path traversal vulnerability exists in gaizhenbiao/chuanhuchatgpt version
  20240410, allowing any user to delete other users' chat histo…
summary: >-
  A path traversal vulnerability exists in gaizhenbiao/chuanhuchatgpt version
  20240410, allowing any user to delete other users' chat histories. This
  vulnerability can also be exploited to delete any files ending in `.json` on
  the target s…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
vendor: chuanhuchatgpt
product: chuanhuchatgpt
ecosystem: pip
affected:
  - chuanhuchatgpt <= 20240410
published: '2024-06-27'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/PYSEC-2024-319'
references:
  - url: >-
      https://github.com/gaizhenbiao/chuanhuchatgpt/commit/526c615c437377ee9c71f866fd0f19011910f705
  - url: 'https://huntr.com/bounties/bd0f8f89-5c8a-4662-89aa-a6861d84cf4c'
tags:
  - osv
  - pip
epss: 0.00859
epssPercentile: 0.56933
ingestedAt: '2026-07-13T18:58:06.407Z'
---

## Overview

A path traversal vulnerability exists in gaizhenbiao/chuanhuchatgpt version 20240410, allowing any user to delete other users' chat histories. This vulnerability can also be exploited to delete any files ending in `.json` on the target system, leading to a denial of service as users are unable to authenticate.

## Affected packages

- `chuanhuchatgpt <= 20240410`

## Remediation

Refer to the advisory for the patched release.
