{"id":"CVE-2026-129944","kind":"vulnerability","aliases":["CVE-2026-129944"],"related":[],"title":"Keystatic: path traversal lets unauthenticated users read and write sibling files","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.","summary":"Keystatic through version 0.6.9 has a path traversal flaw in its getIsPathValid check, so paths that share a content directory name prefix are accepted. An unauthenticated remote attacker can read, create, overwrite or delete files outside the intended content directory through the blob, update and tree handlers under /api/keystatic.","severity":"medium","cvss":6.3,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["keystatic","node","package","self-hosted"],"not_affected_if":["auth-required","static-export"],"how_to_check":null,"fix":null,"status":"open","published_at":"2026-11-16T15:17:29+00:00","first_seen_at":"2026-11-16T15:37:56+00:00","triaged_at":"2026-11-16T15:40:44+00:00","updated_at":"2026-11-16T15:40:44+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-11-16T15:40:44Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"internet","title":"Keystatic: path traversal lets unauthenticated users read and write sibling files","impact":"high","summary":"Keystatic through version 0.6.9 has a path traversal flaw in its getIsPathValid check, so paths that share a content directory name prefix are accepted. An unauthenticated remote attacker can read, create, overwrite or delete files outside the intended content directory through the blob, update and tree handlers under /api/keystatic.","audience":"developers","category":"package","nicknames":[],"who_cares":["keystatic","self-hosted","node"],"confidence":0.6,"fix_status":"unknown","needs_auth":"no","worst_case":"unauthenticated attacker reads or overwrites sibling files on server","analyst_note":"Confirm affected Keystatic package versions and fixed release on the vendor or NVD page; check the vulncheck advisory for how_to_check and fix details.","how_to_check":"unknown","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["static-export","auth-required"],"who_is_affected":"Sites that run Keystatic's API routes (/api/keystatic) with the content directory configured as a path prefix of other directories on the same server. Static-only builds that do not expose the Keystatic API are likely not reachable. The sources do not say which configurations are exposed.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"medium"},"cost_usd":0.000719,"input_tokens":4610,"output_tokens":516,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-129944':14A,17A '-2026':13A,16A '/api/keystatic':72B,118C '/pwn.yaml':131C '0.6.9':27B,75C 'accept':47B 'access':91C 'allow':86C 'attack':51B,89C,100C 'blob':66B,112C 'check':36B 'contain':76C 'content':42B,62B,96C 'cor':108C 'creat':54B,121C 'cve':12A,15A 'delet':57B,124C 'directori':43B,63B,97C 'evil':130C 'file':11A,58B,125C 'flaw':32B 'function':84C 'getispathvalid':35B,83C 'handler':70B,116C 'header':109C 'host':23B 'intend':61B 'keystat':1A,18B,24B,73C 'let':4A 'name':44B,98C 'no-cor':106C 'node':19B 'outsid':59B 'overwrit':55B,122C 'packag':20B 'path':2A,30B,38B,78C,93C 'post':129C 'posts-evil':128C 'prefix':45B,99C 'read':7A,53B,120C 'remot':50B,88C 'request':103C 'self':22B 'self-host':21B 'send':102C 'share':40B,94C 'sibl':10A,92C 'travers':3A,31B,79C 'tree':69B,115C 'unauthent':5A,49B,87C 'updat':67B,113C 'user':6A 'version':26B 'vulner':80C 'write':9A","nicknames":[],"mitigations":[],"who_affected":"Sites that run Keystatic's API routes (/api/keystatic) with the content directory configured as a path prefix of other directories on the same server. Static-only builds that do not expose the Keystatic API are likely not reachable. The sources do not say which configurations are exposed.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"none","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["keystatic","medium","node","package","selfhosted"],"campaign_type":null,"search_a":"'-129944':14A,17A '-2026':13A,16A 'cve':12A,15A 'file':11A 'keystat':1A 'let':4A 'path':2A 'read':7A 'sibl':10A 'travers':3A 'unauthent':5A 'user':6A 'write':9A","search_b":"'/api/keystatic':72B '0.6.9':27B 'accept':47B 'attack':51B 'blob':66B 'check':36B 'content':42B,62B 'creat':54B 'delet':57B 'directori':43B,63B 'file':58B 'flaw':32B 'getispathvalid':35B 'handler':70B 'host':23B 'intend':61B 'keystat':18B,24B 'name':44B 'node':19B 'outsid':59B 'overwrit':55B 'packag':20B 'path':30B,38B 'prefix':45B 'read':53B 'remot':50B 'self':22B 'self-host':21B 'share':40B 'travers':31B 'tree':69B 'unauthent':49B 'updat':67B 'version':26B","search_c":"'/api/keystatic':118C '/pwn.yaml':131C '0.6.9':75C 'access':91C 'allow':86C 'attack':89C,100C 'blob':112C 'contain':76C 'content':96C 'cor':108C 'creat':121C 'delet':124C 'directori':97C 'evil':130C 'file':125C 'function':84C 'getispathvalid':83C 'handler':116C 'header':109C 'keystat':73C 'name':98C 'no-cor':106C 'overwrit':122C 'path':78C,93C 'post':129C 'posts-evil':128C 'prefix':99C 'read':120C 'remot':88C 'request':103C 'send':102C 'share':94C 'sibl':92C 'travers':79C 'tree':115C 'unauthent':87C 'updat':113C 'vulner':80C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T15:17:29+00:00","kev":null,"cvss_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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-129944","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129944","severity":null,"published_at":"2026-11-16T15:17:29+00:00","modified_at":"2026-11-16T15:17:29+00:00","first_seen_at":"2026-11-16T15:37:56+00:00","fetched_at":"2026-11-16T15:37:56+00:00","note":null}],"documents":[{"id":170627,"url":"https://www.vulncheck.com/advisories/keystatic-through-0.6.9-path-traversal-via-local-mode-api-prefix-bypass","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}