What’s Vulnerable › Vulnerabilities
CVE-2026-28791: Path Traversal in Media Upload Handle in Tina
- Severity: high (CVSS 7.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-12 · updated 2026-06-17
- Weakness: CWE-22
Description
Tina is a headless content management system. Prior to 2.1.7, a path traversal vulnerability exists in the TinaCMS development server's media upload handler. The code at media.ts joins user-controlled path segments using path.join() without validating that the resulting path stays within the intended media directory. This allows writing files to arbitrary locations on the filesystem. This vulnerability is fixed in 2.1.7.
Affected products
- tinacms: before 2.1.7 — fixed in 2.1.7
How to fix
Upgrade to a fixed version: tinacms 2.1.7. Check the vendor advisory for mitigations.
References
- https://github.com/tinacms/tinacms/security/advisories/GHSA-5hxf-c7j4-279c
- https://github.com/tinacms/tinacms/security/advisories/GHSA-5hxf-c7j4-279c
Get alerted when CVE-2026-28791 or the next vulnerability affects your stack