Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Keystatic app exposing local-mode API
-
ExploitSend no-cors request to blob/update/tree handler
-
ExecutionBypass getIsPathValid prefix check
-
ImpactRead, 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-126427
GHSA-r8qr-7g67-ph4v
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB