---
id: "CVE-2026-129861"
page: "https://infrastack.ai/live/CVE-2026-129861"
kind: "vulnerability"
aliases: ["CVE-2026-129861"]
title: "TinaCMS GraphQL: authenticated users can write files outside content root"
severity: "medium"
cvss: 6.0
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["node", "package", "self-hosted", "tinacms"]
not_affected_if: ["auth-required", "static-export"]
published_at: "2026-11-16T15:17:23+00:00"
first_seen_at: "2026-11-16T15:37:52+00:00"
updated_at: "2026-11-16T15:40:53+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129861", "first_seen_at": "2026-11-16T15:37:52+00:00"}]
exploit_sources: []
---

# TinaCMS GraphQL: authenticated users can write files outside content root

Link for people: https://infrastack.ai/live/CVE-2026-129861 (this .md is for agents)

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.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed version with `npm ls @tinacms/graphql`
- 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

## Timeline

- 2026-11-16T15:37:52+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-129861

## Documents

- [advisory] Vendor advisory: github.com https://github.com/tinacms/tinacms/security/advisories/GHSA-g9c2-gf25-3x67
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/tinacms-graphql-2.2.2-through-4.1.0-path-traversal-via-dangling-symlink-in-filesystembridge-put

## From the sources

@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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
