# CVE-2024-3404: Improper Access Control in gaizhenbiao/chuanhuchatgpt

- Severity: Medium 6.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- 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): 0.50%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-06T18:45:12.500Z
- Modified: 2026-06-17T07:44:11.980Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## Description

In gaizhenbiao/chuanhuchatgpt, specifically the version tagged as 20240121, there exists a vulnerability due to improper access control mechanisms. This flaw allows an authenticated attacker to bypass intended access restrictions and read the `history` files of other users, potentially leading to unauthorized access to sensitive information. The vulnerability is present in the application's handling of access control for the `history` path, where no adequate mechanism is in place to prevent an authenticated user from accessing another user's chat history files. This issue poses a significant risk as it could allow attackers to obtain sensitive information from the chat history of other users.

(As written by CVE List.)

## Affected

- gaizhenbiao gaizhenbiao/chuanhuchatgpt: from unspecified before 20240919
- gaizhenbiao chuanhuchatgpt: 20240121; before 20240919-4

## Every score

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

## References

- <https://huntr.com/bounties/ed32fc32-cb8f-4fbd-8209-cc835d279699> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/gaizhenbiao/chuanhuchatgpt/commit/ccc7479ace5c9e1a1d9f4daf2e794ffd3865fc2b>

## Sources

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

---

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