Skip to main content

Keystatic CVE-2026-129944

| EUVDEUVD-2026-126427 MEDIUM
Path Traversal (CWE-22)
2026-11-16 disclosure@vulncheck.com GHSA-r8qr-7g67-ph4v
6.3
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Identify Keystatic app exposing local-mode API
  2. Exploit
    Send no-cors request to blob/update/tree handler
  3. Execution
    Bypass getIsPathValid prefix check
  4. Impact
    Read, overwrite, or delete sibling content files

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

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

Exploitation Conditions

Exploitation requires a Keystatic instance (through 0.6.9) running in local mode with the /api/keystatic blob, update, and tree handlers reachable over the network - local mode is the filesystem-backed deployment that exposes these handlers. The attacker must send requests bearing a no-cors header and can only reach sibling paths that share a content directory name prefix (e.g. a configured 'posts' directory enables access to 'posts-evil'), which is the specific attack requirement reflected by AT:P/AC:H; it is not arbitrary filesystem traversal. Limiting factors: the vulnerable local-mode API must actually be exposed to the attacker, exploitation is constrained to prefix-sharing sibling directories, and impact is bounded (partial read/write/delete of content files rather than full system compromise). No authentication is required per PR:N.

Impact

This is a medium-severity issue (CVSS 4.0 base 6.3) rather than a top-tier emergency, and the signals are internally consistent. The CVSS vector reports network reach with no privileges or user interaction (AV:N/PR:N/UI:N), which raises exposure, but it is tempered by high attack complexity and a present attack requirement (AC:H/AT:P) and by low, bounded impact across confidentiality, integrity, and availability (VC:L/VI:L/VA:L, no scope change). The vuln.today decision label is 'this_month' - meaningful but not 'act_now' or 'emergency.' No EPSS score, no CISA KEV listing, and no confirmed proof-of-concept were supplied, so there is no evidence of active or automated exploitation; exploitation status is 'no public exploit identified at time of analysis.' The practical limiter is that the VulnCheck advisory scopes this to Keystatic's local-mode API prefix bypass, so risk concentrates on deployments that actually expose the /api/keystatic local handlers, not on every Keystatic install. Net: a credible but conditional file-manipulation flaw worth patching on a normal monthly cadence, not a drop-everything event.

Exploit ScenarioDerived

An attacker who can reach a Keystatic instance running in local mode sends crafted requests carrying a no-cors header to the blob, update, or tree handlers under /api/keystatic, abusing the flawed getIsPathValid prefix check to reach a sibling directory that merely shares a name prefix with a legitimate content directory (for example, reaching 'posts-evil' from 'posts'). This lets them read, create, overwrite, or delete files such as posts-evil/pwn.yaml without authentication. No confirmed public exploit code was provided, and the AC:H/AT:P metrics indicate the attack depends on a specific prefix-sharing condition rather than firing against any arbitrary path.

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

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

Alert me

AnalysisAIv1 – Nov 16, 2026

Path traversal in Keystatic through 0.6.9 allows unauthenticated remote attackers to read, create, overwrite or delete files in sibling directories that share a content directory name prefix of the configured content folder, for example writing to 'posts-evil/pwn.yaml' when 'posts' is the configured directory. The flaw sits in the getIsPathValid check used by the blob, update and tree handlers under /api/keystatic and is reachable only on instances running local (filesystem-backed) mode where those handlers are exposed over the network, with requests required to carry a no-cors header. It is a medium-severity issue (CVSS 4.0 base 6.3; assessed CVSS 3.1 6.3, AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L) tagged 'this_month' by vuln.today, and no public exploit identified at time of analysis.

RemediationAI

No vendor-released patch is identified in the available data, so the primary action is to remove the exposure: do not run Keystatic in local (filesystem-backed) mode on any host where the /api/keystatic blob, update and tree handlers are reachable by untrusted networks, and block those routes at the reverse proxy or firewall if local mode must be used (side effect: remote content editing and preview tooling that depends on those endpoints stops working for legitimate users). As a further compensating control, avoid configuring content directories whose names are prefixes of other directories in the same parent, since the getIsPathValid check only permits escape into prefix-sharing siblings (side effect: constrains content directory naming conventions). Track https://github.com/Thinkmill/keystatic/issues/1669 and https://www.vulncheck.com/advisories/keystatic-through-0.6.9-path-traversal-via-local-mode-api-prefix-bypass for a fixed release, and verify the fix once a version above 0.6.9 is published before restoring network exposure.

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

CWE-22 (path traversal) in the Keystatic content API, an npm package maintained by Thinkmill. The vulnerable code is the getIsPathValid function in packages/keystatic/src/api/api-node.ts (lines 129-135), which validates requested paths by comparing them against the configured content directory rather than resolving them canonically; because the check is prefix-based, a request for a sibling path whose name begins with the same string as the content directory (e.g. 'posts-evil' when 'posts' is configured) passes validation. The affected surface is the local, filesystem-backed deployment mode, which exposes the blob, update and tree handlers under /api/keystatic; requests must carry a no-cors header. This is not arbitrary filesystem traversal: reachability is limited to prefix-sharing sibling directories and requires the local-mode API to be network-exposed, which is what the AT:P/AC:H metrics reflect, and impact is bounded to partial read, write and delete of content files rather than full system compromise.

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 6.3 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 5.6 MEDIUM

Network-reachable and unauthenticated (AV:N/PR:N/UI:N), but AC:H because exploitation depends on the specific sibling prefix-sharing condition; impact is limited partial read/write/delete (C:L/I:L/A:L), no scope change.

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

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

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

DescriptionCVE.org

Keystatic through 0.6.9 contains a path traversal vulnerability in the getIsPathValid function that allows unauthenticated remote attackers to access sibling paths sharing a content directory name prefix. Attackers can send requests with a no-cors header to the blob, update, and tree handlers under /api/keystatic to read, create, overwrite, or delete files such as posts-evil/pwn.yaml.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Low
niche open-source Git-based CMS, limited enterprise production footprint
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.3%
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

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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