CVE-2026-28793 Path Traversal Leading to Arbitrary File Read, Write and Delete in TinaCMS
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ssw tinacmscli | < 2.1.8 | 2.1.8 | Fixed |
| tinacms @tinacms/cli(npm) | < 2.1.8 | 2.1.8 | Fixed |
| tinacms @tinacms/cli | = < 2.1.8 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| tinacms @tinacms/cli | = < 2.1.8 | No fix listed |
| tinacms @tinacms/cli(npm) | < 2.1.8 | 2.1.8 |
| ssw tinacmscli | < 2.1.8 | 2.1.8 |
References
- https://github.com/tinacms/tinacms/security/advisories/GHSA-2f24-mg4x-534q exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product