Path Traversal Leading to Arbitrary File Read, Write and Delete in TinaCMS
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · 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.8, the TinaCMS CLI development server exposes media endpoints that are vulnerable to path traversal, allowing attackers to read and write arbitrary files on the filesystem outside the intended media directory. When running tinacms dev, the CLI starts a local HTTP server (default port 4001) exposing endpoints such as /media/list/*, /media/upload/*, and /media/*. These endpoints process user-controlled path segments using decodeURI() and path.join() without validating that the resolved path remains within the configured media directory. This vulnerability is fixed in 2.1.8.
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 | cli | before 2.1.8 | 2.1.8 | Patch available | CNA |
| — | @tinacms/cli (npm) | before 2.1.8 | 2.1.8 | Patch available | GHSA-2f24-mg4x-534q |
- cli Vendortinacms Affected before 2.1.8 Fixed in 2.1.8 Patch available CNA
- @tinacms/cli (npm) Vendor— Affected before 2.1.8 Fixed in 2.1.8 Patch available GHSA-2f24-mg4x-534q
Remediation
- Fix · CNA cli (@tinacms) Fixed in 2.1.8
- Fix · GHSA-2f24-mg4x-534q @tinacms/cli (npm) Fixed in 2.1.8 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-28793
- 2026-10-03 Alias added: GHSA-2f24-mg4x-534q
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-26850 @tinacms/graphql's Media Endpoints Can Escape the Media Root via Symlinks or Junctions CVSS 3.1HIGH 8.3
- TI-2026-22986 Path Traversal in Media Upload Handle in Tina CVSS 3.1HIGH 7.4
- 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-28793 · CVE Program
- CVE-2026-28793 · NVD
- FIRST EPSS
- GHSA-2f24-mg4x-534q · 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