CVE-2026-28793
CVE-2026-28793 · Path Traversal Leading to Arbitrary File Read, Write and Delete in TinaCMS
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 8.4 · High · EPSS 0.2% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
cli
- Versions
- < 2.1.8: Affected
No fix published
@tinacms/cli npm
- Affected ranges
- SEMVER: < 2.1.8
Update to 2.1.8