Intrusion
GitBook: SSO flaw and misconfigured GitHub App lead to a Cloudflare API key and full infrastructure access
What was reported
GitBook's postmortem says that on 2 November 2026 an attacker used a flaw in its SSO login flow to create staff-looking sessions, queried a misconfigured GitHub App's authentication details, reached internal repositories and then a Cloudflare API key that led to production secrets and full infrastructure access. API tokens, integration secrets, session signing secrets and customer content were exposed; GitBook rotated all secrets and invalidated customer API tokens.
What is not known
- GitBook calls the attack largely AI-driven but says this is an inference.
- GitBook could not determine whether the attacker acted inside customer repositories; it says the attack appeared aimed at one customer.
- No ATT&CK technique is asserted until a separate sourced mapping review.
Sources (1)
GitBook · Company incident report
Published 3 Nov 2026 · Reviewed 21 Nov 2026
Rights: Citation and short paraphrase only; check publisher terms before reuse.
Open source from GitBook (external site) ↗
Classification
- MITRE ATT&CK
- Not evaluated
- Ecosystems
- SaaS, GitHub
- Industry
- Technology
- Secret type
- Git platform token, API key (non-AI), Signing or encryption key
- Where it was exposed
- Private code repo
- Packages
- None linked
Secret type and location are only what the sources state; “Not stated” means the sources don’t say. Location is where the first exposed secret sat. Techniques are listed only after a sourced mapping review. “Not evaluated” means nobody has reviewed it yet, not that the technique was absent.
Related market categories
- Secrets detection and remediation
GitBook's postmortem says a Cloudflare API key found in internal repositories led to production secrets and full infrastructure access.
Does not imply: That any secrets detection product detected or would have prevented this incident. The entry point was an SSO login flaw, not the key.
Reviewed 21 Nov 2026