CVE-2026-129945: Keystatic through 0.6.9 GitHub OAuth Login CSRF via Missing State Validation
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.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Keystatic deployments using GitHub OAuth login are exposed through version 0.6.9. The attacker does not need to be authenticated, but must be able to induce a victim to visit a crafted OAuth callback URL.
What does successful exploitation allow an attacker to do?
The victim is signed in to the Keystatic admin UI as the attacker’s GitHub account. Any edits the victim makes in the admin UI can then be committed under that attacker-controlled GitHub identity.
How can I determine whether a deployment is affected?
Check whether the deployment uses npm/@keystatic/core at version 0.6.9 or earlier and has GitHub OAuth login configured. The vulnerable behavior is the GitHub OAuth callback handler accepting an authorization code without validating OAuth state.