CVE-2026-24125
CVE-2026-24125 · Path Traversal in @tinacms/graphql
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.3 · Medium · EPSS 0.4% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
graphql
- Versions
- < 2.1.2: Affected
No fix published
@tinacms/graphql npm
- Affected ranges
- SEMVER: < 2.1.2
Update to 2.1.2