Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @tinacms/graphql
  4. ›
  5. CVE-2026-33949

CVE-2026-33949: @tinacms/graphql has Path Traversal that leads to overwrite of arbitrary files

March 30, 2026

A Path Traversal vulnerability in @tinacms/graphql allows unauthenticated users to write and overwrite arbitrary files within the project root. This is achieved by manipulating the relativePath parameter in GraphQL mutations. The impact includes the ability to replace critical server configuration files and potentially execute arbitrary commands by sabotaging build scripts.

References

  • github.com/advisories/GHSA-v9p7-gf3q-h779
  • github.com/tinacms/tinacms
  • github.com/tinacms/tinacms/security/advisories/GHSA-v9p7-gf3q-h779
  • nvd.nist.gov/vuln/detail/CVE-2026-33949

Code Behaviors & Features

Detect and mitigate CVE-2026-33949 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.2.2

Fixed versions

  • 2.2.2

Solution

Upgrade to version 2.2.2 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-73: External Control of File Name or Path

Source file

npm/@tinacms/graphql/CVE-2026-33949.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 31 Mar 2026 00:18:00 +0000.