# CVE-2024-3234: Path Traversal in gaizhenbiao/chuanhuchatgpt

- Severity: Critical 9.8 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.76%, higher than 90% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-06T18:20:45.616Z
- Modified: 2026-06-17T07:43:35.260Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: @huntr_ai

## Description

The gaizhenbiao/chuanhuchatgpt application is vulnerable to a path traversal attack due to its use of an outdated gradio component. The application is designed to restrict user access to resources within the `web_assets` folder. However, the outdated version of gradio it employs is susceptible to path traversal, as identified in CVE-2023-51449. This vulnerability allows unauthorized users to bypass the intended restrictions and access sensitive files, such as `config.json`, which contains API keys. The issue affects the latest version of chuanhuchatgpt prior to the fixed version released on 20240305.

(As written by CVE List.)

## Affected

- gaizhenbiao gaizhenbiao/chuanhuchatgpt: from unspecified before  20240305
- gaizhenbiao chuanhuchatgpt: before 20240305

## Every score

- @huntr_ai: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://huntr.com/bounties/277e3ff0-5878-4809-a4b9-73cdbb70dc9f> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/gaizhenbiao/chuanhuchatgpt/commit/6b8f7db347b390f6f8bd07ea2a4ef01a47382f00> (patch)

## Sources

- CVE List: [CVE-2024-3234](https://www.cve.org/CVERecord?id=CVE-2024-3234), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-3234](https://nvd.nist.gov/vuln/detail/CVE-2024-3234), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-3234 · Whole record: https://cve.day/CVE-2024-3234.json · Rebuilt by cve.day 2026-11-25T22:58:41.512Z
