CVE-2024-7962
published high CVSS 3.0 · 7.5Arbitrary File Read via Insufficient Validation in gaizhenbiao/chuanhuchatgpt
Package status and fixes
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gaizhenbiao | gaizhenbiao/chuanhuchatgpt | unspecified to < 20240918 (affected · custom) | @huntr_ai · cna |
| gaizhenbiao | gaizhenbiao\/chuanhuchatgpt | 0 to < 20240918 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-29 CWE-29 Path Traversal: '\..\filename'
References
2Provider assertions
2@huntr_ai · cna
Arbitrary File Read via Insufficient Validation in gaizhenbiao/chuanhuchatgpt
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 87553d702ba06e810c2391c1936b4e363b0824391af665217f743935304df916
- Ingested
- 23 Sep 2026, 08:34:06 UTC
- Source record
- Official CVE record