Vulnerabilities/

@tinacms/graphql has a Path Traversal issue

Severity:
Medium

Description

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.

Recommendation

Update the @tinacms/graphql package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@tinacms/graphql
Anything's wrong? Let us know Last updated on March 12, 2026