Home

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.

PUBLISHED Reserved 2026-03-03 | Published 2026-03-12 | Updated 2026-03-13 | Assigner GitHub_M




HIGH: 8.4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

< 2.1.8
affected

References

github.com/...inacms/security/advisories/GHSA-2f24-mg4x-534q exploit

github.com/...inacms/security/advisories/GHSA-2f24-mg4x-534q

cve.org (CVE-2026-28793)

nvd.nist.gov (CVE-2026-28793)

Download JSON