Read the docs

Keystatic Path Traversal via Local Mode API Prefix Bypass

Priority MEDIUM 43CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
Low · Low · Low
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

Keystatic through 0.6.9 contains a path traversal flaw in the getIsPathValid function, which fails to confine paths to the content directory. An unauthenticated remote attacker can reach sibling paths that share a content directory name prefix, such as posts-evil, through the blob, update, and tree handlers under /api/keystatic to read, create, overwrite, or delete files. The CVSS 4.0 vector rates the flaw as medium severity with low impact on confidentiality, integrity, and availability. This is classified as CWE-22.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

Description from the CNA

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.

Why it matters now

Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ThinkmillKeystaticup to 0.6.9—No fix listedCNA
  • Keystatic VendorThinkmill Affected up to 0.6.9 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for Keystatic.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

Timeline

  1. 2026-11-16 Threatist record created from CVE-2026-129944
  2. 2026-11-16 Alias added: GHSA-r8qr-7g67-ph4v

References

  • TI-2026-92179 Login CSRF in Keystatic GitHub OAuth login via missing state validation CVSS 4.0MEDIUM 5.3
  • TI-2026-92180 Keystatic Stored XSS via javascript: Link href in DocumentRenderer CVSS 4.0MEDIUM 5.1

Sources