Incident
Published 2026-11-04 New
Verified 2026-11-05

GitBook says an attacker used a flaw in its SSO login flow to act as staff, reached production via a GitHub App and a Cloudflare API key, and could access customer data; it took the platform offline for about 16 hours and revoked all API tokens

GitBook says in a post-mortem dated 4 November 2026 that on 2 November an attacker gained unauthorised access to its systems by using a flaw in its SSO login flow to create login sessions acting as GitBook staff.

It says this let the attacker query the authentication information of a misconfigured GitHub App installed in its organisation, reach its internal code repositories and then a Cloudflare API key, which gave access to production secrets and full infrastructure access through a service account.

GitBook says the attacker had access to production for about 2 hours 45 minutes on the evening of 2 November and about 40 minutes early on 3 November; it disabled the affected service accounts, which took the app offline from 20:32 UTC on 2 November to 11:56 UTC on 3 November (about 16 hours), rotated every infrastructure secret and every GitBook-managed customer secret, and invalidated all API tokens issued before its cutoff.

It says the attack appears aimed at one customer and it found no evidence any other customer's content was modified, but it treats all customer data as exposed, including content and the ability to act as its GitHub and GitLab apps in repositories customers had granted; it says billing information, passwords and IP addresses were not compromised, and it has published attacker IP addresses. (source: GitBook)

Product
GitBook documentation platform (SSO login flow, GitHub App / Git Sync, GitLab integration, API tokens)
Versions
n/a — SaaS provider incident
Exploited in Australia?
unknown
Patch to
GitBook customers: create new API tokens (all personal tokens were revoked), rotate third-party tokens and integration secrets connected to GitBook, regenerate the authenticated-access signing key if you use a custom backend, review connected GitHub/GitLab repositories for changes you did not make, and search logs for the IP addresses GitBook lists.

breaches cloud identity