CVE-2026-28793
Description
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.
How to fix
- ssw tinacms\/cli2.1.8 or later
- @tinacms/cli2.1.8 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ssw tinacms\/cli | v < 2.1.8 | 2.1.8 |
| @tinacms/clinpm | v < 2.1.8 | 2.1.8 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.