CVE-2026-129944
Keystatic through 0.6.9 contains a path traversal vulnerability in the getIsPathValid function that allows unauthenticated remote attackers to access sibling p…
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: low risk of data being read, low risk of data or systems being changed, low risk of outages.
Affected products · Thinkmill
| Product | Affected versions |
|---|---|
| Keystatic | through 0.6.9 Version 0 ≤0.6.9 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/Thinkmill/keystatic/issues/1669
- https://github.com/Thinkmill/keystatic/blob/b65d4a55501dc3b7bb268dc925d8538a8a9f8e95/packages/keystatic/src/api/api-node.ts#L129-L135
- https://www.vulncheck.com/advisories/keystatic-through-0.6.9-path-traversal-via-local-mode-api-prefix-bypass
- https://github.com/advisories/GHSA-r8qr-7g67-ph4v
- https://nvd.nist.gov/vuln/detail/CVE-2026-129944