CVE-2026-34603 @tinacms/graphql's Media Endpoints Can Escape the Media Root via Symlinks or Junctions
Attackers can escape the media root directory via symlinks to read, write, or delete files outside the intended scope in TinaCMS.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-34603?
CVE-2026-34603 is a high-severity path traversal vulnerability in tinacms, published on 1 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2026-34603?
2 open source packages ship an affected version, including @tinacms/graphql. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@tinacms/graphql npm | All versions | 2.2.2 |
@tinacms/graphql npm | All versions | 2.2.2 |
Products include Ssw Tinacms\/Cli.
How do I fix CVE-2026-34603?
Upgrade @tinacms/graphql to 2.2.2 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-34603 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34603 exists.
Other vulnerabilities in tinacms
- CVE-2026-28792 Cross-Origin File Exfiltration via CORS Misconfiguration + Path Traversal in TinaCMS
- CVE-2023-25164 Sensitive Information leak via Script File in TinaCMS
- CVE-2026-28793 Path Traversal Leading to Arbitrary File Read, Write and Delete in TinaCMS
- CVE-2024-45391 Tina search token leak via lock file in TinaCMS
- CVE-2026-28791 Path Traversal in Media Upload Handle in Tina
Sources
Also known as GHSA-g87c-r2jp-293w.