CVE-2026-129944

Keystatic through 0.6.9 Path Traversal via Local Mode API Prefix Bypass

Published Nov 16, 2026 CVSS 4.0 · 6.3 Medium EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Keystatic versions up to 0.6.9 contain a path traversal flaw in the getIsPathValid function. The flaw enables an attacker to send specially crafted HTTP requests that bypass the expected directory prefix checks. By targeting the blob, update, and tree handlers under /api/keystatic with a no-cors header, an unauthenticated remote attacker can read, create, overwrite, or delete any file that shares a content directory name prefix, such as posts-evil/pwn.yaml. This capability exposes the content repository to tampering, accidental deletion, and potential injection of malicious content.

Affected Systems

The vulnerability affects installations of the Thinkmill Keystatic framework through version 0.6.9. No versions newer than 0.6.9 are known to be affected, and the issue is specific to the Local Mode API exposed by Keystatic.

Risk and Exploitability

The CVSS score of 6.3 classifies the weakness as moderately severe. Exploitation requires only unauthenticated HTTP access to the API endpoints, and the EPSS score is not available; the vulnerability is not listed in the CISA KEV catalog. Attackers can remotely manipulate the site’s file system through the API, making the risk noteworthy for public-facing deployments.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Keystatic to version 0.6.10 or later to eliminate the path traversal code
  • Enforce authentication and TLS on all /api/keystatic endpoints to block unauthenticated access
  • Validate and sanitize all file path inputs on the server to ensure they remain within allowed directories

Generated by OpenCVE AI on November 16, 2026 at 16:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title Keystatic through 0.6.9 Path Traversal via Local Mode API Prefix Bypass
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L'}

cvssV4_0

{'score': 6.3, 'vector': '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'}

Subscriptions

No data.

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 16, 2026, 3:06 PM
Reserved
Nov 16, 2026, 2:43 PM
Status
Received
Published
Nov 16, 2026, 3:17 PM
Modified
Nov 16, 2026, 3:17 PM