Path Traversal in Media Upload Handle in Tina
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| tinacms | tinacms | before 2.1.7 | 2.1.7 | Patch available | CNA |
| — | tinacms (npm) | before 2.1.7 | 2.1.7 | Patch available | GHSA-5hxf-c7j4-279c |
- tinacms Vendortinacms Affected before 2.1.7 Fixed in 2.1.7 Patch available CNA
- tinacms (npm) Vendor— Affected before 2.1.7 Fixed in 2.1.7 Patch available GHSA-5hxf-c7j4-279c
Remediation
- Fix · CNA tinacms (tinacms) Fixed in 2.1.7
- Fix · GHSA-5hxf-c7j4-279c tinacms (npm) Fixed in 2.1.7 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-28791
- 2026-10-03 Alias added: GHSA-5hxf-c7j4-279c
References
More Tinacms/cli vulnerabilities
- TI-2026-22987 Cross-Origin File Exfiltration via CORS Misconfiguration + Path Traversal in TinaCMS CVSS 3.1CRITICAL 9.7
- TI-2026-22988 Path Traversal Leading to Arbitrary File Read, Write and Delete in TinaCMS CVSS 3.1HIGH 8.4
- TI-2026-26850 @tinacms/graphql's Media Endpoints Can Escape the Media Root via Symlinks or Junctions CVSS 3.1HIGH 8.3
- TI-2025-41854 tinacms vulnerable to arbitrary code execution CVSS 4.0HIGH 7.3
- TI-2026-23211 Arbitrary File Read via Disabled Vite Filesystem Restriction in TinaCMS CLI CVSS 3.1MEDIUM 6.2
- TI-2023-10626 Sensitive Information leak via Script File in TinaCMS CVSS 3.1HIGH 8.6
Sources
- CVE-2026-28791 · CVE Program
- CVE-2026-28791 · NVD
- FIRST EPSS
- GHSA-5hxf-c7j4-279c · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences