Path Traversal Leading to Arbitrary File Read, Write and Delete in TinaCMS
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@tinacms/clinpm | < 2.1.8 | 2.1.8 |
Affected products
2- @tinacms/cliv5Range: < 2.1.8
Patches
Vulnerability mechanics
References
3- github.com/advisories/GHSA-2f24-mg4x-534qghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-28793ghsaADVISORY
- github.com/tinacms/tinacms/security/advisories/GHSA-2f24-mg4x-534qghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.