Read the docs
TI-2024-07381 Aliases CVE-2024-7962GHSA-q97q-7j3c-mx9j

Arbitrary File Read via Insufficient Validation in gaizhenbiao/chuanhuchatgpt

Priority HIGH 72CWE-29Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-22 and the CVSS impact.

Summary

An arbitrary file read vulnerability exists in gaizhenbiao/chuanhuchatgpt version 20240628 due to insufficient validation when loading prompt template files. An attacker can read any file that matches specific criteria using an absolute path. The file must not have a .json extension and, except for the first line, every other line must contain commas. This vulnerability allows reading parts of format-compliant files, including code and log files, which may contain highly sensitive information such as account credentials.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00792 56th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed gaizhenbiao/chuanhuchatgpt (gaizhenbiao): 20240918

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
gaizhenbiaogaizhenbiao/chuanhuchatgptbefore 2024091820240918Patch availableCNA
  • gaizhenbiao/chuanhuchatgpt Vendorgaizhenbiao Affected before 20240918 Fixed in 20240918 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gaizhenbiao:chuanhuchatgpt:20240628:*:*:*:*:*:*:*20240628Vulnerablegaizhenbiao
  • cpe:2.3:a:gaizhenbiao:chuanhuchatgpt:20240628:*:*:*:*:*:*:* Versions 20240628 Vulnerable ·gaizhenbiao

Remediation

  • Fix · CNA gaizhenbiao/chuanhuchatgpt (gaizhenbiao) Fixed in 20240918

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    gaizhenbiao/chuanhuchatgpt 20240918

    3 records Highest priority Priority HIGH 3 HIGH

    Other records, highest priority first

    • TI-2024-05543 Path Traversal in gaizhenbiao/chuanhuchatgptPriority HIGH 81
    • TI-2024-07234 Denial of Service (DOS) in gaizhenbiao/chuanhuchatgptPriority HIGH 72

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-7962
  2. 2026-10-03 Alias added: GHSA-q97q-7j3c-mx9j

References

  • TI-2024-03032 Path Traversal in gaizhenbiao/chuanhuchatgpt CVSS 3.1CRITICAL 9.8
  • TI-2024-05543 Path Traversal in gaizhenbiao/chuanhuchatgpt CVSS 3.1CRITICAL 9.8
  • TI-2024-05399 Server-Side Request Forgery (SSRF) in gaizhenbiao/ChuanhuChatGPT CVSS 3.1CRITICAL 9.8
  • TI-2024-05802 Path Traversal in gaizhenbiao/chuanhuchatgpt CVSS 3.1CRITICAL 9.1
  • TI-2024-05594 Arbitrary Folder Creation in gaizhenbiao/chuanhuchatgpt CVSS 3.1CRITICAL 9.1
  • TI-2024-05593 Denial of Service in gaizhenbiao/chuanhuchatgpt CVSS 3.1CRITICAL 9.1
See all 30 →

Sources