Documented Incident · INC-OBS-017 · Critical severity

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 dossier metadata

Case ID
INC-OBS-017
Classification
Incident
Date
Severity
Critical
Sector
Consumer AI & Local Runtimes
Attack vector
Exposed Infrastructure
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 INC-OBS-017 in Interactive Incidents & Cases Hub

Defensive takeaway

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

Mapped AI security techniques

Mapped defensive controls

Source citation records