CVE-2026-34603CWE-22CWE-59

@tinacms/graphql's Media Endpoints Can Escape the Media Root via Symlinks or Junctions

High · published April 1, 2026

CVSS v3.1
7.1
EPSS
0%
Percentile
38.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.00461 · 38.6th percentile
Weaknesses
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'); CWE-59 · Improper Link Resolution Before File Access ('Link Following')
Published
2026-04-01T16:08Z
EPSS history
Timeline
  • 01 APR 16:08Z
    @tinacms/graphql's Media Endpoints Can Escape the Media Root via Symlinks or Junctions
    cvelistv5