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

High 8.1 Published Updated

Unauthenticated attackers can overwrite arbitrary files via path traversal in TinaCMS GraphQL, potentially leading to arbitrary code execution.

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-33949?

CVE-2026-33949 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, 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 script. This issue has been patched in version 2.2.2.

Weakness: CWE-73, CWE-22

Which versions are affected by CVE-2026-33949?

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-33949?

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

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

Sources

Also known as GHSA-v9p7-gf3q-h779.

Is CVE-2026-33949 in your software?

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

Check your SBOMs for free