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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @tinacms/graphql | 2.1.2 | GHSA-2238-xc5r-v9hj |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
References
- https://github.com/tinacms/tinacms/security/advisories/GHSA-2238-xc5r-v9hj x_refsource_CONFIRM