rotateit

All incidents

TiDB Cloud internal-systems intrusion

Disclosed Oct 19, 2026 · updated Oct 30, 2026 · moderate · Contained

TiDB Cloud was breached.

Are you affected?

The free scanner that answers this opens soon. Until then, the steps below work by hand.

What happened

An intruder reached TiDB Cloud internal systems. PingCAP says an unauthorized party used stolen service-account credentials to reach some internal systems between 2026-09-09 and 2026-10-07, copying data and obtaining source code. Exported records included TiDB Cloud user names, emails, organization and project links, SQL editor text and errors, and business and billing records. One exported table held encrypted TiDB Cloud API-key values. PingCAP reports no evidence that data stored in TiDB was affected. By 2026-10-14 all identified compromised credentials were invalidated and the identified access paths blocked. PingCAP recommends that organization owners replace active TiDB Cloud management API keys as a precaution. On 2026-10-23 PingCAP's CEO said its external investigator, NebuSec, names a compromised GitHub account and exposed credentials as the entry point, that the API-key encryption key was not exposed, that copied records came from internal analytics, storage and support environments, and that anything shared with PingCAP support should be rotated.

Exposure starts
2026-09-09
Exposure ends
2026-10-07
Confidence
medium
Scope
TiDB Cloud management API keys (database connection URLs are not matched because PingCAP does not say database credentials were exposed); PingCAP has not yet said which customers are affected

What to do, in this order

  1. Any TiDB Cloud API key you suspect was misused

    PingCAP says revoke it immediately, before creating a replacement, then contact security@pingcap.com.

    tidb_cloud_api_key

  2. Every other active TiDB Cloud management API key

    PingCAP recommends replacing them now as a precaution. Create the replacement, update and verify dependent apps, then revoke the old key; only organization owners can do this.

    tidb_cloud_api_key

  3. Review API keys and logs, and warn your team about targeted phishing

    PingCAP asks you to revoke keys you no longer need and check logs for activity you don't recognize; exposed names, emails and billing records make phishing likely.

  4. Any database password, connection string, key or log with secrets you shared with PingCAP support

    PingCAP's CEO note asks for this; records were copied from its support environment. Change a database password at the database itself.

Notes

  • The API-key values were encrypted. PingCAP's report does not say whether they were decrypted; an external firm found that one investigator-owned value could not be used directly as an API key.
  • The CEO note says the API-key encryption key was not exposed, which does not cover credentials shared in support materials: PingCAP asks customers to rotate credentials, keys, connection strings and logs containing secrets that they shared with support. Those values sit with PingCAP, so the CLI cannot match them; the runbook lists them.
  • NebuSec found no evidence of attacker persistence in PingCAP's production environment, and no evidence that customer databases were accessed.
  • PingCAP says it will notify affected customers directly once customer-specific impact is established.

How to tell if you’re affected

  • A TiDB Cloud API key created before 2026-10-07

Sources

Rotating the keys

Pro, $49 a year when it opens, plans the rotation of each affected key for this incident, in this order. Automatic rotation is in testing and included.

One email when it opens. Stored: your email, whether you confirmed, and when you signed up. We send a confirmation link first.

By hand, free: the steps above.