Skip to main content

Keystatic EUVDEUVD-2026-126426

| CVE-2026-129945 MEDIUM
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-11-16 disclosure@vulncheck.com GHSA-fv6w-2c5w-h387
5.3
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain attacker GitHub OAuth code
  2. Delivery
    Craft malicious callback URL
  3. Exploit
    Lure admin to visit callback
  4. Execution
    Missing state validation accepts session
  5. Impact
    Victim edits committed under attacker identity

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target Keystatic deployment uses the GitHub OAuth login mode (the githubOauthCallback handler), present in versions through 0.6.9. The attacker must first complete a GitHub OAuth authorization to obtain a valid authorization code bound to their own GitHub account, then induce the victim admin to visit the OAuth callback URL (UI:P / UI:R - passive user interaction is required, which limits exploitation). The flaw is the absence of state-parameter validation in the callback, so no CSRF/state token blocks the forged sign-in. Limiting factors: exploitation only matters for deployments using GitHub-backed auth, succeeds only against users who follow the attacker-crafted link, and yields only attribution manipulation (edits committed under the attacker's identity) rather than account takeover, data disclosure, or code execution.

Impact

This is a moderate-severity login CSRF (CWE-352) in Keystatic's githubOauthCallback handler, not a high-priority emergency. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N, score 5.3) is internally consistent with the description: network reachable, low complexity, no privileges, but requiring passive user interaction (the victim must visit the attacker-supplied callback URL). Impact is confined to low integrity (VI:L) with no confidentiality or availability impact - consistent with an attribution-confusion flaw rather than code execution or data theft. No CVSS 3.1 vector was supplied for comparison, so there is no network-vs-local conflict to reconcile. The vuln.today decision label is 'this_month' (not act_now/emergency), and there is no CISA KEV listing and no EPSS score in the input, so there is no signal of active or widespread exploitation. No public exploit code is confirmed in the input - the references are the vendor source lines, a GitHub issue, and a VulnCheck advisory, none marked as working exploit code. Overall this is a real but bounded issue: credible, vendor-acknowledged, low attacker cost, but limited blast radius (integrity-only, attribution manipulation) and dependent on victim interaction, placing it in the 'legitimate but schedulable' tier rather than drop-everything.

Exploit ScenarioDerived

An attacker initiates the GitHub OAuth flow to obtain a valid authorization code tied to the attacker's own GitHub account, then lures a Keystatic admin user into visiting the OAuth callback URL carrying that code. Because the githubOauthCallback handler omits state-parameter validation, the victim's session is silently authenticated as the attacker's GitHub identity, so any content the victim subsequently edits in the admin UI is committed under the attacker's name. No confirmed public exploit code is present in the input; only vendor code references, a GitHub issue, and a VulnCheck advisory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 16, 2026

Login cross-site request forgery in Keystatic through 0.6.9 allows an unauthenticated remote attacker who has completed a GitHub OAuth authorization to lure a victim administrator into signing in to the admin UI under the attacker's GitHub identity, so subsequent victim edits are committed as the attacker. The issue affects deployments using Keystatic's GitHub OAuth login mode and requires victim interaction with an attacker-crafted callback URL; the assessed impact is attribution manipulation rather than account takeover, data disclosure, or code execution. No public exploit was identified at time of analysis.

RemediationAI

No vendor-released patch identified at time of analysis; no fixed version is listed in the provided references. Until a patched release is available, disable Keystatic's GitHub OAuth login mode or restrict the admin UI and OAuth callback endpoint to trusted administrators or networks so an attacker-delivered callback cannot reach a victim's browser, noting that disabling GitHub login removes that authentication path for all users and network restriction can break legitimate remote admin access. Review commit history for edits attributed to unexpected GitHub identities and re-authenticate administrators through a trusted login path. Track https://github.com/Thinkmill/keystatic/issues/1669 and https://www.vulncheck.com/advisories/keystatic-through-0.6.9-github-oauth-login-csrf-via-missing-state-validation for a patched release.

Affected VersionsENISA

Keystatic 0 ≤0.6.9

Affected Packages

euvd keystatic no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Keystatic is a GitHub-backed content management package, and the vulnerable flow is the githubOauthCallback handler in packages/keystatic/src/api/generic.ts, with NVD references pointing to lines 199-256 and 363-398. The handler accepts a GitHub OAuth authorization code in the callback without validating the OAuth state parameter, removing the request-binding control that would normally tie the callback to the browser that initiated login. CWE-352 describes this login CSRF class. The independent assessment records CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N, confirming remote unauthenticated triggering but requiring victim interaction and limiting impact to low integrity through misattribution of committed edits. The flaw applies to versions through 0.6.9 when GitHub OAuth login mode is enabled; no CPE strings were supplied.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.3 MEDIUM

Network-reachable login CSRF with no privileges but requiring the victim to follow a crafted callback link (UI:R); impact is limited to integrity of commit attribution (I:L), no confidentiality or availability loss.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Low
niche Git-based headless CMS for Astro/Next.js developers
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy