# CVE-2024-9159: Incorrect Authorization 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:N/I:N/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): 0.65%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:10:13.099Z
- Modified: 2026-06-17T08:24:04.023Z
- Also known as: PYSEC-2025-96
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## Description

An incorrect authorization vulnerability exists in gaizhenbiao/chuanhuchatgpt version git c91dbfc. The vulnerability allows any user to restart the server at will, leading to a complete loss of availability. The issue arises because the function responsible for restarting the server is not properly guarded by an admin check.

(As written by CVE List.)

## Affected

- gaizhenbiao gaizhenbiao/chuanhuchatgpt: from unspecified up to latest
- gaizhenbiao chuanhuchatgpt: 2024-12-04
- chuanhuchatgpt (PyPI): up to 2024-12-04

## Every score

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

## References

- <https://huntr.com/bounties/ab0f8fbb-c17a-45a7-8dab-7d4c8b90490a> (exploit, evidence, third-party-advisory)

## Sources

- CVE List: [CVE-2024-9159](https://www.cve.org/CVERecord?id=CVE-2024-9159), CVE Terms of Use, modified 2025-03-20
- NVD: [CVE-2024-9159](https://nvd.nist.gov/vuln/detail/CVE-2024-9159), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-96](https://osv.dev/vulnerability/PYSEC-2025-96), CC-BY-4.0, modified 2026-05-21

---

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