Vulnerability library
Security checkApril 06, 2026

@tinacms/graphql's `FilesystemBridge` Path Validation Can Be Bypassed via Symlinks or Junctions

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpm@tinacms/graphql

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

@tinacms/graphql uses string-based path containment checks in FilesystemBridge:

  • path.resolve(path.join(baseDir, filepath))
  • startsWith(resolvedBase + path.sep)

That blocks plain ../ traversal, but it does not resolve symlink or junction targets.

Recommendation

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

  • Affected version(s): <= 2.2.0
  • Patched version(s): 2.2.2

References

Could your website be exposed too?

SmartScanner can check your website for @tinacms/graphql's `FilesystemBridge` Path Validation Can Be Bypassed via Symlinks or Junctions and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated April 06, 2026