Moderate severityNVD Advisory· Published Mar 12, 2026· Updated Mar 12, 2026
Path Traversal in @tinacms/graphql
CVE-2026-24125
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@tinacms/graphqlnpm | < 2.1.2 | 2.1.2 |
Affected products
2- @tinacms/graphqlv5Range: < 2.1.2
Patches
Vulnerability mechanics
References
3- github.com/advisories/GHSA-2238-xc5r-v9hjghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-24125ghsaADVISORY
- github.com/tinacms/tinacms/security/advisories/GHSA-2238-xc5r-v9hjghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.