Advisory record · PYSEC-2024-318

A Regular Expression Denial of Service (ReDoS) vulnerability exists in the latest version of gaizhenbiao/chuanhuchatgpt. The vulnerability is located in the filter_history function within the utils...

CVSS 7.5 HighEPSS 0.0066 · 52nd percentile

Published by OSV at 27 Jun 2024, 19:15 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
chuanhuchatgptPyPI<=20240410No fixed version yet
Identifiers
PYSEC-2024-318 · CVE-2024-6038
Weakness (CWE)
CWE-1333
Published
27 Jun 2024
Updated
13 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Versions of chuanhuchatgpt up to and including 20240410 are vulnerable to a regular expression denial of service (ReDoS) in the filter_history function in utils.py. The function passes a user-supplied keyword straight into a regular expression search over chat history filenames without sanitizing it, so an attacker who can supply that keyword can cause severe slowdown or make the service unavailable. No fixed version is listed. The source gives few details on the exact access an attacker needs.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CNA (@huntr_ai)
  • CISA KEV Not listed.
  • EPSS 0.0066, the 52nd percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:04 UTC First seen by agentprime
  2. 31 Oct 2026, 15:04 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.