Keystatic unauthorized file access and modification via path traversal
Thinkmill Keystatic
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Thinkmill Keystatic |
| No fix yet |
Original description
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.
From the CVE record · VulnCheck