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.
References
| Link | Resource |
|---|---|
| https://github.com/tinacms/tinacms/security/advisories/GHSA-2f24-mg4x-534q | Exploit Vendor Advisory |
| https://github.com/tinacms/tinacms/security/advisories/GHSA-2f24-mg4x-534q | Exploit Vendor Advisory |
Configurations
History
13 Mar 2026, 19:58
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:ssw:tinacms\/cli:*:*:*:*:*:node.js:*:* | |
| References | () https://github.com/tinacms/tinacms/security/advisories/GHSA-2f24-mg4x-534q - Exploit, Vendor Advisory | |
| Summary |
|
|
| First Time |
Ssw
Ssw tinacms\/cli |
12 Mar 2026, 17:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-03-12 17:16
Updated : 2026-03-13 19:58
NVD link : CVE-2026-28793
Mitre link : CVE-2026-28793
CVE.ORG link : CVE-2026-28793
JSON object : View
Products Affected
ssw
- tinacms\/cli
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
