Login CSRF in Keystatic GitHub OAuth login via missing state validation
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Tampering
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-352.
Summary
Keystatic through 0.6.9 contains a login cross-site request forgery flaw in the githubOauthCallback handler, because it does not validate the OAuth state parameter. An unauthenticated remote attacker can make a victim visit the callback with an attacker-obtained authorization code, which signs the victim in with the attacker's GitHub account. Edits the victim makes in the admin UI are then committed under that attacker identity. This is tracked as CWE-352.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for Keystatic.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Timeline
- 2026-11-16 Threatist record created from CVE-2026-129945
- 2026-11-16 Alias added: GHSA-fv6w-2c5w-h387
- 2026-11-16 CISA SSVC decision points changed
References
Other 3
- https://github.com/Thinkmill/keystatic/issues/1669
- https://github.com/Thinkmill/keystatic/blob/b65d4a55501dc3b7bb268dc925d8538a8a9f8e95/packages/keystatic/src/api/generic.ts#L199-L256
- https://github.com/Thinkmill/keystatic/blob/b65d4a55501dc3b7bb268dc925d8538a8a9f8e95/packages/keystatic/src/api/generic.ts#L363-L398
More Thinkmill vulnerabilities
- TI-2026-92178 Keystatic Path Traversal via Local Mode API Prefix Bypass CVSS 4.0MEDIUM 6.3
- TI-2026-92180 Keystatic Stored XSS via javascript: Link href in DocumentRenderer CVSS 4.0MEDIUM 5.1
Sources
- CVE-2026-129945 · CVE Program
- CVE-2026-129945 · NVD
- GHSA-fv6w-2c5w-h387 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences