---
id: "CVE-2026-129945"
page: "https://infrastack.ai/live/CVE-2026-129945"
kind: "vulnerability"
aliases: ["CVE-2026-129945"]
title: "Keystatic: GitHub login callback skips state check, enabling login CSRF"
severity: "medium"
cvss: 5.3
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["cms", "github-oauth", "keystatic", "next.js", "package"]
not_affected_if: ["fixed-version", "no-github-login"]
published_at: "2026-11-16T15:17:29+00:00"
first_seen_at: "2026-11-16T15:37:56+00:00"
updated_at: "2026-11-16T15:40:59+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129945", "first_seen_at": "2026-11-16T15:37:56+00:00"}]
exploit_sources: []
---

# Keystatic: GitHub login callback skips state check, enabling login CSRF

Link for people: https://infrastack.ai/live/CVE-2026-129945 (this .md is for agents)

Keystatic through 0.6.9 does not validate the OAuth state parameter in its githubOauthCallback handler. An attacker can make a victim's browser complete a GitHub login with the attacker's account, so the victim's admin-UI edits get committed under the attacker's identity.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed Keystatic version in `package.json` or `node_modules/@keystatic/core/package.json`
- Confirm whether the site uses GitHub mode for Keystatic login (the `githubOauthCallback` route)

## Timeline

- 2026-11-16T15:37:56+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-129945

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/keystatic-through-0.6.9-github-oauth-login-csrf-via-missing-state-validation

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
