Vulnerability · Published Mar 12, 2026 · Assigned by GitHub_M

CVE-2026-24125Path Traversal in @tinacms/graphql

Medium 6.3

In plain English

A medium-severity path traversal in graphql from @tinacms. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)0.5%top 60.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Tina is a headless content management system. Prior to 2.1.2, TinaCMS allows users to create, update, and delete content documents using relative file paths (relativePath, newRelativePath) via GraphQL mutations. Under certain conditions, these paths are combined with the collection path using path.join() without validating that the resolved path remains within the collection root directory. Because path.join() does not prevent directory traversal, paths containing ../ sequences can escape the intended directory boundary. This vulnerability is fixed in 2.1.2.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@tinacms/graphql2.1.2GHSA-2238-xc5r-v9hj

Affected products (as reported)

VendorProductVersions
@tinacms graphql < 2.1.2

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

References