CVE-2026-34604 @tinacms/graphql's `FilesystemBridge` Path Validation Can Be Bypassed via Symlinks or Junctions

High 7.1 Published Updated

Attackers can bypass path validation via symlinks to read, modify, or delete files outside the intended content root 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-34604?

CVE-2026-34604 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/graphql uses string-based path containment checks in FilesystemBridge. That blocks plain ../ traversal, but it does not resolve symlink or junction targets. If a symlink/junction already exists under the allowed content root, a path like content/posts/pivot/owned.md is still considered "inside" the base even though the real filesystem target can be outside it. As a result, FilesystemBridge.get(), put(), delete(), and glob() can operate on files outside the intended root. This issue has been patched in version 2.2.2.

Weakness: CWE-59, CWE-22

Which versions are affected by CVE-2026-34604?

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\/Graphql.

How do I fix CVE-2026-34604?

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-34604 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34604 exists.

Sources

Also known as GHSA-g9c2-gf25-3x67.

Is CVE-2026-34604 in your software?

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

Check your SBOMs for free