CVE-2026-34603: @tinacms/graphql Media Endpoints Vulnerability Allowing Path Traversal via Symlinks

@tinacms/graphql Updated 01 Apr 2026

Summary

01/04/2026
Yes i
High
7.1

CVE-2026-34603: @tinacms/graphql's Media Endpoints Can Escape the Media Root via Symlinks or Junctions. Affects @tinacms/graphql versions < 2.2.2. Fixed in 2.2.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The @tinacms/graphql package is part of the TinaCMS framework, which provides a headless content management system for React applications. It facilitates media management through various endpoints, allowing users to upload, list, and delete media files. However, the package has a vulnerability that arises from inadequate validation of file paths, specifically concerning symlinks and junctions, which can lead to unauthorized access to files outside the intended media directory.

Vulnerability Detail

The vulnerability stems from the implementation of lexical path-traversal checks in the media endpoints of @tinacms/graphql. While the package attempts to validate user-controlled paths, it only checks the path string without resolving symlinks or junctions. This oversight allows attackers to exploit existing symlinks or junctions within the media root, enabling them to list, write, and potentially delete files outside the designated media directory. The impact includes unauthorized file access and manipulation, which poses a significant security risk, especially in development environments where symlinks may be present.

How To Fix

Minimum fixed version

2.2.2

This is the first release that contains the fix.

npm install @tinacms/graphql@2.2.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, avoid using symlinks or junctions within the media directory until the package is updated. Ensure that all media files are stored directly within the media root to mitigate the risk of path traversal attacks.

Conclusion

The CVE-2026-34603 vulnerability in the @tinacms/graphql package highlights the importance of proper path validation in file management systems. By updating to the patched version and avoiding symlinks in the media directory, users can protect their applications from potential security risks associated with this vulnerability.

See every vulnerability recorded for @tinacms/graphql →

Share this vulnerability

FAQ

CVE-2026-34603 is a vulnerability in the @tinacms/graphql package that allows path traversal through symlinks, enabling unauthorized access to files outside the media directory.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The vulnerability can lead to unauthorized file listing, writing, and deletion, posing significant security risks, especially in development environments.

Yes, the vulnerability is patched in version 2.2.2 of the @tinacms/graphql package. Updating to this version will resolve the issue.

If immediate updating is not possible, avoid using symlinks or junctions in the media directory as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for @tinacms/graphql.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

2.2.2

This is the first release that contains the fix.

npm install @tinacms/graphql@2.2.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback