Incident report

ChuanhuChatGPT Arbitrary File Read via Exposed Gradio Component Traversal

CVE-2024-3234 documented an arbitrary local file read vulnerability in the widely deployed ChuanhuChatGPT open-source ChatGPT interface built on Gradio. Missing validation on file paths passed to Gradio file/upload handlers allowed unauthenticated remote users on internet-facing instances to download arbitrary files from the server. Exposed `config.json` files commonly held OpenAI, Anthropic, and proxy API keys along with saved user transcripts. Operators were urged to patch underlying Gradio versions, add authentication, and rotate leaked API keys.

Incident record

Reported
Severity
High
Vector
Exposed Infrastructure
Affected system type
Self-Hosted Gradio LLM Chat Wrappers
Reference
CVE-2024-3234
Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2024-3234

Inspect in Interactive Incidents Hub

Defensive lesson

Pin Gradio dependencies past CVE fixes, disable unauthenticated public share links, and keep API credentials out of web-readable config directories.

Referenced techniques