Description (CNA)
Tina is a headless content management system. Prior to version 2.2.2, @tinacms/graphql uses string-based path containment checks in FilesystemBridge. That blocks plain ../ traversal, but it does not resolve symlink or junction targets. If a symlink/junction already exists under the allowed content root, a path like content/posts/pivot/owned.md is still considered "inside" the base even though the real filesystem target can be outside it. As a result, FilesystemBridge.get(), put(), delete(), and glob() can operate on files outside the intended root. This issue has been patched in version 2.2.2.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| tinacms / tinacms | affected < 2.2.2 |
CWE
CWE-22, CWE-59
References
- https://github.com/tinacms/tinacms/security/advisories/GHSA-g9c2-gf25-3x67
- https://github.com/tinacms/tinacms/commit/f124eabaca10dac9a4d765c9e4135813c4830955
ADP enrichment
No English description supplied.