GitBook November 2026 Incident: New API Tokens and What Else to Rotate
If you use GitBook, create a new API token and rotate any third-party secrets you connected. Git Sync and GitLab were rotated for you.

If you use GitBook, create a new GitBook API token and rotate any third-party tokens or secrets you connected to GitBook. GitBook revoked every personal API token during the incident and says it has treated all customer data as exposed, even though the attack looked aimed at one customer (GitBook postmortem). Git Sync (GitHub app) and GitLab need no action from you. GitBook rotated those keys itself.
What happened?
On November 2, 2026, an attacker used a flaw in GitBook's SSO login flow to create staff sessions. From there they reached a misconfigured GitHub App, internal repos, a Cloudflare API key and then production secrets through a service account.
GitBook cut off the compromised accounts, took the app offline on purpose, rotated every production and GitBook-managed customer secret, invalidated API tokens issued before its cutoff and brought GitBook fully back online at 11:56 UTC on November 3 (about 16 hours of downtime). The attacker had production access for about 2 hours 45 minutes on the evening of November 2, and about 40 minutes early on November 3.
GitBook says everything it has seen points at one targeted customer, and that it found no evidence any other customer's content was modified. Because the attacker could reach customer data in production, GitBook still treats all of it as exposed.
What was reachable?
During that window, GitBook says the attacker could reach:
- GitBook API tokens
- Integration tokens and secrets
- Session signing secrets
- Questions asked to GitBook Assistant by site visitors
- Documentation sites using authenticated access
- GitHub and GitLab, but only in repos each customer had granted the GitBook app, and only as that app. GitBook cannot say whether any action was taken there.
Billing information, passwords and IP addresses were not compromised, according to GitBook.
What to do now
From GitBook's postmortem checklist:
- Create a new GitBook API token and update any app that used the old one. All personal API tokens were revoked.
- Rotate third-party API tokens or secrets you use to connect other tools to GitBook.
- If you publish integrations that use secrets, rotate those secrets.
- Git Sync (GitHub app): no action. GitBook rotated these keys.
- GitLab: no action. GitBook rotated these keys.
- If you use authenticated access with a custom backend, regenerate the authenticated access signing key in GitBook and update it in your backend.
- Review your own logs for the IOC IPs GitBook listed: 94.183.188.91, 45.139.84.195 and 198.251.83.217.
If you are unsure what applies, GitBook says to contact your account manager or support.
What is still unknown
GitBook has not published a customer count. It cannot determine whether the attacker took any action in customer GitHub or GitLab repos. A longer write-up on lessons and engineering changes is promised in the coming weeks.
FAQ
Was my docs content changed?
GitBook says it has found no evidence that any other customer's content was modified. If that picture changes, it says it will contact affected customers directly.
Do I need to reconnect Git Sync?
Not for this incident. The postmortem says Git Sync and GitLab need no customer action because GitBook rotated those keys. An earlier note about a Git Sync outage pointed at a separate GitHub outage, not this attack.
Why did GitBook take the whole app offline?
GitBook says that once the attacker was in its cloud infrastructure, keeping the platform up would have let them keep looking for access. It chose a longer outage over that risk.
Did this touch Cloudflare on my side?
GitBook's path used a Cloudflare API key inside GitBook's own stack. That is not the same as your Cloudflare account. Still, if you connect Cloudflare tools to GitBook with your own tokens, rotate those as third-party secrets. DevLinksPad's Cloudflare page is the usual jump point for Cloudflare tokens.
Press ⌘K. Every dashboard, one keystroke away.