# CVE-2026-28793: Path Traversal Leading to Arbitrary File Read, Write and Delete in TinaCMS

- Severity: High 8.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-12T16:50:20.132Z
- Modified: 2026-06-17T10:29:03.323Z
- Also known as: GHSA-2f24-mg4x-534q
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- @tinacms cli: < 2.1.8
- @tinacms/cli (npm): before 2.1.8
- ssw tinacms/cli: before 2.1.8

## Every score

- GitHub_M: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/tinacms/tinacms/security/advisories/GHSA-2f24-mg4x-534q> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-28793> (advisory)
- <https://github.com/tinacms/tinacms> (package)

## Sources

- CVE List: [CVE-2026-28793](https://www.cve.org/CVERecord?id=CVE-2026-28793), CVE Terms of Use, modified 2026-03-13
- GitHub Advisory Database: [GHSA-2f24-mg4x-534q](https://github.com/advisories/GHSA-2f24-mg4x-534q), CC-BY-4.0, modified 2026-03-14
- NVD: [CVE-2026-28793](https://nvd.nist.gov/vuln/detail/CVE-2026-28793), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-28793 · Whole record: https://cve.day/CVE-2026-28793.json · Rebuilt by cve.day 2026-11-25T22:59:15.834Z
