In late January 2025, the Chinese AI lab DeepSeek was having the best week of its short life; its models had gone viral and downloads were surging. In the middle of that spotlight, Wiz Research found something considerably less flattering: a DeepSeek database sitting on the public internet with no authentication in front of it.

The exposed system was a ClickHouse database, a high-performance store often used for logs and analytics, reachable on DeepSeek-owned hosts. Wiz reported that it required no credentials at all: an outsider could connect through a browser and run arbitrary SQL queries against it. This is one of the oldest cloud mistakes, made by a brand-new AI company.

What was in it

According to Wiz, the database held more than a million log entries, including plaintext chat messages, API keys and other secrets, backend details and operational metadata. Anyone with the access Wiz found could have queried those logs and conversations, and could potentially have reached further into the environment.

DeepSeek's Exposed Database and the Cost of a Missing PasswordDiagram with these labels, in reading order: DEEPSEEK; EXPOSED DB; ANYONE; open port; DeepSeek deploys; infrastructure; ClickHouse DB; exposed, no auth; Wiz (or anyone); connects; Plaintext chat logs; & secret keys; Open port, no; credentials.DEEPSEEKEXPOSED DBANYONEopen portDeepSeek deploysinfrastructureClickHouse DBexposed, no authWiz (or anyone)connectsPlaintext chat logs& secret keysOpen port, nocredentials
The most advanced model can't save an open database.
Why it matters: The most advanced model in the world does not save you from an unauthenticated database. AI companies are data companies, and the boring cloud-hygiene failures apply to them in full.

What can and cannot be claimed

Wiz reported the exposure to DeepSeek, and DeepSeek secured the database promptly. Wiz did not say whether anyone else accessed the data before then. The accurate statement is that sensitive data was exposed and could have been accessed; no one has shown that attackers took it.

The lesson stands. Internet-wide scanners are built to catch a database that is open like this one, and a product in the news draws more attention than usual. Growth had outrun the security basics, and customers of fast-moving AI vendors inherit that gap.

Two things make this more than a routine misconfiguration story. The first is the port: a ClickHouse instance answering on its native port with no authentication is discoverable by the same internet-wide scanning that indexes every other exposed service, so there is no obscurity to hide behind and the interval between exposure and discovery can be short. The second is what an AI product's logs actually contain. Ordinary application logs are dull; the logs of a chatbot are a transcript of what users typed, which for many includes code, credentials, and confidential business context they would never put in an email. Plaintext chat history in an analytics store is therefore worse than the same volume of generic log lines, because the sensitivity is concentrated.

What defenders should take away

  • Never expose a datastore without authentication. Databases belong on private networks, bound to internal interfaces, behind credentials and network controls, verified, not assumed.
  • Do not log secrets in plaintext. Chat content and API keys sitting in analytics logs turn a single exposure into a leak of every secret in the logs; redact and encrypt what you store.
  • Scan your own perimeter continuously. Find the open port before a researcher, or an attacker, does, and alert on any datastore that becomes internet-reachable.
  • Vet your AI vendors' hygiene. If you send data to an AI provider, their basic cloud posture is now part of your risk surface.

The AI in a company's name changes nothing about the fundamentals: an internet-facing database with no password is an incident waiting to be indexed. The first defense is knowing every datastore you have stood up and where it is reachable from.

Primary source. Wiz Research Uncovers Exposed DeepSeek Database Leaking Sensitive Information, Including Chat History, Wiz, by Gal Nagli, 29 January 2025.

Back to articlesRequest an assessment