Keystatic through 0.6.9 GitHub OAuth Login CSRF via Missing State Validation
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 16, 2026
- Updated
- Nov 16, 2026
- Reserved
- Nov 16, 2026
Description
Keystatic through 0.6.9 contains a login cross-site request forgery vulnerability in the githubOauthCallback handler that allows unauthenticated remote attackers to sign victims in with the attacker's GitHub account by omitting state validation. Attackers can induce victims to visit the OAuth callback with an attacker-obtained authorization code, causing victim edits in the admin UI to be committed under the attacker's GitHub identity.
| Product | Versions |
|---|---|
| Keystatic Thinkmill | 0.6.9 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | VulnCheck | |
| 3.1 | 4.3 Medium | VulnCheck |
Weaknesses
- CWE-352 Cross-Site Request Forgery (CSRF)
References
- https://github.com/Thinkmill/keystatic/issues/1669Issue Tracker
- https://github.com/Thinkmill/keystatic/blob/b65d4a55501dc3b7bb268dc925d8538a8a9f8e95/packages/keystatic/src/api/generic.ts#L199-L256Technical Details
- https://github.com/Thinkmill/keystatic/blob/b65d4a55501dc3b7bb268dc925d8538a8a9f8e95/packages/keystatic/src/api/generic.ts#L363-L398Technical Details
- VulnCheck Advisory: Keystatic through 0.6.9 GitHub OAuth Login CSRF via Missing State ValidationThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.