{"id":"CVE-2026-129861","kind":"vulnerability","aliases":["CVE-2026-129861"],"related":[],"title":"TinaCMS GraphQL: authenticated users can write files outside content root","description":"@tinacms/graphql 2.2.2 through 4.1.0 contains a path traversal vulnerability that allows authenticated users to write files outside the content root by following pre-existing dangling symlinks. Attackers can create documents through the GraphQL API targeting a dangling symlink, bypassing assertWithinBase checks, to write controlled content such as authorized_keys to server-writable locations.","summary":"Versions 2.2.2 through 4.1.0 of @tinacms/graphql let an authenticated user create documents that follow pre-existing dangling symlinks and write outside the content directory. A write such as an authorized_keys file to a server-writable path could lead to server takeover.","severity":"medium","cvss":6.0,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["node","package","self-hosted","tinacms"],"not_affected_if":["auth-required","static-export"],"how_to_check":"- Check the installed version with `npm ls @tinacms/graphql`\n- Look for dangling symlinks inside the TinaCMS content root","fix":"- Move `@tinacms/graphql` to a version later than `4.1.0`; the exact fixed version is unknown from these sources","status":"open","published_at":"2026-11-16T15:17:23+00:00","first_seen_at":"2026-11-16T15:37:52+00:00","triaged_at":"2026-11-16T15:40:53+00:00","updated_at":"2026-11-16T15:40:53+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-11-16T15:40:53Z","model":"claude-haiku-5-5","output":{"fix":"- Move `@tinacms/graphql` to a version later than `4.1.0`; the exact fixed version is unknown from these sources","reach":"internet","title":"TinaCMS GraphQL: authenticated users can write files outside content root","impact":"high","summary":"Versions 2.2.2 through 4.1.0 of @tinacms/graphql let an authenticated user create documents that follow pre-existing dangling symlinks and write outside the content directory. A write such as an authorized_keys file to a server-writable path could lead to server takeover.","audience":"developers","category":"package","nicknames":[],"who_cares":["tinacms","node","self-hosted"],"confidence":0.6,"fix_status":"unknown","needs_auth":"yes","worst_case":"attacker writes arbitrary files, possibly enabling server takeover","analyst_note":"Confirm the fixed version and whether dangling symlinks are required, using the GitHub advisory and VulnCheck pages linked from NVD.","how_to_check":"- Check the installed version with `npm ls @tinacms/graphql`\n- Look for dangling symlinks inside the TinaCMS content root\n- unknown","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["static-export","auth-required"],"who_is_affected":"Sites that run @tinacms/graphql in the 2.2.2 to 4.1.0 range and let authenticated users write content through the GraphQL API are exposed. Sites that only serve static builds or do not expose authenticated writes can skip it. The sources do not say whether dangling symlinks must already exist in the content root.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"medium"},"cost_usd":0.000764,"input_tokens":4631,"output_tokens":602,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-129861':13A,16A '-2026':12A,15A '2.2.2':24B,68C '4.1.0':26B,70C 'allow':77C 'api':101C 'assertwithinbas':107C 'attack':94C 'authent':3A,31B,78C 'author':53B,115C 'bypass':106C 'check':108C 'contain':71C 'content':9A,46B,85C,112C 'control':111C 'could':62B 'creat':33B,96C 'cve':11A,14A 'dangl':40B,92C,104C 'directori':47B 'document':34B,97C 'exist':39B,91C 'file':7A,55B,82C 'follow':36B,88C 'graphql':2A,100C 'host':21B 'key':54B,116C 'lead':63B 'let':29B 'locat':121C 'node':17B 'outsid':8A,44B,83C 'packag':18B 'path':61B,73C 'pre':38B,90C 'pre-exist':37B,89C 'root':10A,86C 'self':20B 'self-host':19B 'server':59B,65B,119C 'server-writ':58B,118C 'symlink':41B,93C,105C 'takeov':66B 'target':102C 'tinacm':1A,22B 'tinacms/graphql':28B,67C 'travers':74C 'user':4A,32B,79C 'version':23B 'vulner':75C 'writabl':60B,120C 'write':6A,43B,49B,81C,110C","nicknames":[],"mitigations":[],"who_affected":"Sites that run @tinacms/graphql in the 2.2.2 to 4.1.0 range and let authenticated users write content through the GraphQL API are exposed. Sites that only serve static builds or do not expose authenticated writes can skip it. The sources do not say whether dangling symlinks must already exist in the content root.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"unknown","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["medium","node","package","selfhosted","tinacms"],"campaign_type":null,"search_a":"'-129861':13A,16A '-2026':12A,15A 'authent':3A 'content':9A 'cve':11A,14A 'file':7A 'graphql':2A 'outsid':8A 'root':10A 'tinacm':1A 'user':4A 'write':6A","search_b":"'2.2.2':24B '4.1.0':26B 'authent':31B 'author':53B 'content':46B 'could':62B 'creat':33B 'dangl':40B 'directori':47B 'document':34B 'exist':39B 'file':55B 'follow':36B 'host':21B 'key':54B 'lead':63B 'let':29B 'node':17B 'outsid':44B 'packag':18B 'path':61B 'pre':38B 'pre-exist':37B 'self':20B 'self-host':19B 'server':59B,65B 'server-writ':58B 'symlink':41B 'takeov':66B 'tinacm':22B 'tinacms/graphql':28B 'user':32B 'version':23B 'writabl':60B 'write':43B,49B","search_c":"'2.2.2':68C '4.1.0':70C 'allow':77C 'api':101C 'assertwithinbas':107C 'attack':94C 'authent':78C 'author':115C 'bypass':106C 'check':108C 'contain':71C 'content':85C,112C 'control':111C 'creat':96C 'dangl':92C,104C 'document':97C 'exist':91C 'file':82C 'follow':88C 'graphql':100C 'key':116C 'locat':121C 'outsid':83C 'path':73C 'pre':90C 'pre-exist':89C 'root':86C 'server':119C 'server-writ':118C 'symlink':93C,105C 'target':102C 'tinacms/graphql':67C 'travers':74C 'user':79C 'vulner':75C 'writabl':120C 'write':81C,110C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-03-30T01:36:18+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/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-129861","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129861","severity":null,"published_at":"2026-11-16T15:17:23+00:00","modified_at":"2026-11-16T15:17:23+00:00","first_seen_at":"2026-11-16T15:37:52+00:00","fetched_at":"2026-11-16T15:37:52+00:00","note":null}],"documents":[{"id":170571,"url":"https://github.com/tinacms/tinacms/security/advisories/GHSA-g9c2-gf25-3x67","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-03-30T01:36:18+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"},{"id":170572,"url":"https://www.vulncheck.com/advisories/tinacms-graphql-2.2.2-through-4.1.0-path-traversal-via-dangling-symlink-in-filesystembridge-put","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"}