Incident report

DeepSeek Publicly Exposed ClickHouse Database Leaking 1M+ Chat Logs and API Keys

On January 29, 2025, Wiz Research disclosed an unauthenticated, internet-accessible ClickHouse database hosted on DeepSeek subdomains (`oauth2callback.deepseek.com` and `dev.deepseek.com`) right as DeepSeek R1 surged to the top of global app charts. Without any credentials, external researchers could execute arbitrary SQL queries against the database and obtain full administrative control. The exposed `log_stream` table contained over one million sensitive log lines, including plaintext user chat histories, internal API secret keys, backend operational metadata, and session tokens. DeepSeek secured the database within an hour of responsible notification, illustrating how rapid consumer AI scaling frequently outpaces cloud security posture management.

Incident record

Reported
Severity
Critical
Vector
Exposed Infrastructure
Affected system type
Hosted Frontier LLM Chat Telemetry Backends
Reference URI
https://www.wiz.io/blog/wiz-research-uncovers-exposed-deepseek-database-leaking-sensitive-information-including-chat-history

Inspect in Interactive Incidents Hub

Defensive lesson

Block public internet ingress to internal analytics and telemetry databases (ClickHouse, Elasticsearch) and scrub user prompts and API keys from operational logs.

Research citation

Referenced techniques