What’s Vulnerable › Vulnerabilities
CVE-2026-34603: @tinacms/graphql's Media Endpoints Can Escape the Media Root via Symlinks or Junctions
- Severity: high (CVSS 8.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-01 · updated 2026-06-17
- Weakness: CWE-22
Description
Tina is a headless content management system. Prior to version 2.2.2, @tinacms/cli recently added lexical path-traversal checks to the dev media routes, but the implementation still validates only the path string and does not resolve symlink or junction targets. If a link already exists under the media root, Tina accepts a path like pivot/written-from-media.txt as "inside" the media directory and then performs real filesystem operations through that link target. This allows out-of-root media listing and write access, and the same root cause also affects delete. This issue has been patched in version 2.2.2.
Affected products
- tinacms: through 2.2.1
References
- https://github.com/tinacms/tinacms/commit/f124eabaca10dac9a4d765c9e4135813c4830955
- https://github.com/tinacms/tinacms/security/advisories/GHSA-g87c-r2jp-293w
- https://github.com/tinacms/tinacms/security/advisories/GHSA-g87c-r2jp-293w
Get alerted when CVE-2026-34603 or the next vulnerability affects your stack