Read the docs

Login CSRF in Keystatic GitHub OAuth login via missing state validation

Priority LOW 21CWE-352Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
ThinkmillKeystaticup to 0.6.9—No fix listedCNA
  • Keystatic VendorThinkmill Affected up to 0.6.9 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for Keystatic.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

Timeline

  1. 2026-11-16 Threatist record created from CVE-2026-129945
  2. 2026-11-16 Alias added: GHSA-fv6w-2c5w-h387
  3. 2026-11-16 CISA SSVC decision points changed

References

  • 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