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

High 7.1 Published Updated

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.

Weakness: CWE-59, CWE-22

Which versions are affected by CVE-2026-34603?

2 open source packages ship an affected version, including @tinacms/graphql. It affects 1 product.

PackageAffectedFixed in
@tinacms/graphql npmAll versions2.2.2
@tinacms/graphql npmAll versions2.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.

Sources

Also known as GHSA-g87c-r2jp-293w.

Is CVE-2026-34603 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free